Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anthropic calls tools mid response. Streaming results in the tool call appearing in the message handler #26

Open
John117Coltrane opened this issue Oct 26, 2024 · 1 comment

Comments

@John117Coltrane
Copy link
Contributor

Anthropic can call tools mid response. Streaming results in the tool call appearing in the message handler

Certainly, I'll consult the book for more details.
[ { "index": 1, "id": "toolu_04S4Y0K1aK5c3Uv0GlOKfkxW", "type": "function", "function": { "name": "Consult__Book", "arguments": "{"Query": "What was the title"}" } } ]The title was...

The behavior seems inconsistent. I'll see if I can generate a code sample to replicate it consistently.

@lofcz
Copy link
Owner

lofcz commented Oct 26, 2024

Thanks for the report, I might have encountered this too but thought this was an issue with the model. If you can create a sample to replicate it consistently, it would help with resolving the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants