-
Notifications
You must be signed in to change notification settings - Fork 503
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Hi, when I run this simple example
import asyncio
from claude_agent_sdk import query, ClaudeAgentOptions
async def main():
async for message in query(
prompt="What files are in the current directory?",
options=ClaudeAgentOptions(allowed_tools=["Bash", "Glob"])
):
if hasattr(message, "result"):
print(message.result)
asyncio.run(main())I see 2 network request: 1 for Haiku and 1 for Sonnet with user content Warmup. This seems to just waste tokens.
Why is that needed?
Thanks
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested