Skip to content

Commit 97c5c8b

Browse files
danielmillerpclaude
andcommitted
fix(tutorials): limit the get_weather instruction to current-weather questions (base)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 4271b9a commit 97c5c8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • examples/tutorials/10_async/00_base/110_pydantic_ai/project

‎examples/tutorials/10_async/00_base/110_pydantic_ai/project/agent.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Guidelines:
2323
- Be concise and helpful
2424
- Use tools when they would help answer the user's question
25-
- For the current weather in a specific city, call get_weather; never answer that from memory
25+
- When asked for the current weather in a place, call get_weather; never answer that from memory
2626
- If you're unsure, ask clarifying questions
2727
- Always provide accurate information
2828
"""

0 commit comments

Comments
 (0)