mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-09 15:19:10 +02:00
Remove system role references from docs (#3356)
The MCP spec only supports "user" and "assistant" roles for prompt messages. Fixes #3160. Co-authored-by: Marvin Context Protocol <41898282+Marvin Context Protocol@users.noreply.github.com> Co-authored-by: Jeremiah Lowin <jlowin@users.noreply.github.com>
This commit is contained in:
parent
59da3e4ed4
commit
2ab8beb195
3 changed files with 7 additions and 7 deletions
|
|
@ -90,9 +90,9 @@ async with client:
|
|||
"expertise": "python programming"
|
||||
})
|
||||
|
||||
# Typically returns messages with role="system"
|
||||
system_message = result.messages[0]
|
||||
print(f"System prompt: {system_message.content}")
|
||||
# Access the returned messages
|
||||
message = result.messages[0]
|
||||
print(f"Prompt: {message.content}")
|
||||
```
|
||||
|
||||
Conversation templates generate multi-turn flows:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue