π The fast, Pythonic way to build MCP servers and clients.
Fix typo in docs.
Ian Davenport94f981ff865c
diff --git a/docs/servers/context.mdx b/docs/servers/context.mdxindex a0d21ad8e..555a0c105 100644--- a/docs/servers/context.mdx+++ b/docs/servers/context.mdx@@ -228,7 +228,7 @@ async def analyze_sentiment(text: str, ctx: Context) -> dict:# Create a sampling prompt asking for sentiment analysisprompt = f"Analyze the sentiment of the following text as positive, negative, or neutral. Just output a single word - 'positive', 'negative', or 'neutral'. Text to analyze: {text}"- # Send the sampling request to the clients LLM (provide a hint for the model you want to use)+ # Send the sampling request to the client's LLM (provide a hint for the model you want to use)response = await ctx.sample(prompt, model_preferences="claude-3-sonnet")# Process the LLM's response