Skip to content

Commit f832d99

Browse files
committed
update wording of include_context dependency on context capability
1 parent 420ea0a commit f832d99

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mcp/server/session.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,8 @@ async def create_message(
240240
max_tokens: Maximum number of tokens to generate.
241241
system_prompt: Optional system prompt.
242242
include_context: Optional context inclusion setting.
243-
Requires client to have sampling.context capability.
243+
Should only be set to "thisServer" or "allServers"
244+
if the client has sampling.context capability.
244245
temperature: Optional sampling temperature.
245246
stop_sequences: Optional stop sequences.
246247
metadata: Optional metadata to pass through to the LLM provider.

0 commit comments

Comments
 (0)