Replies: 1 comment 1 reply
-
Here is a working example: https://github.com/vercel/ai/blob/main/examples/ai-core/src/stream-text/anthropic-chatbot.ts You can ask something like "What is the weather in SF?" and it'll call the tools. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm able to get OpenAI and Groq to output roundtrips w/ maxStep, but somehow any of the Claude models always outputs 1 step and stops. I'm not sure if I'm doing something wrong here, but I can't find anyone else running into this
Edit: basically the model just "does" everything in a single message, and doesn't seem to alternate tool calls...
Edit 2: Google models will also "lazy out" and not keep running multiple steps
Beta Was this translation helpful? Give feedback.
All reactions