-
Notifications
You must be signed in to change notification settings - Fork 982
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
Unexpected keyword "Tools" Issue #28
Comments
Also having the same issue |
Me too. Exactly the same problem. |
Hi, |
did you update to the latest version of the anthropic package? I cant
reproduce this error
…On Tue, Jul 2, 2024 at 2:25 PM Soutrik Maiti ***@***.***> wrote:
Hi,
Can we get a fix for this ?
—
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJQPTGYAHMDCSZ7CCK7S3LZKLWBVAVCNFSM6AAAAABKFAORA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBUGAYTQNBYGY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
_________________________
*Pietro Schirano*
Founder | EverArt <http://everart.ai>
|
Hi @Doriandarko ,
|
I guess it's because the File is using claude 3.5 sonnet and It is actually a paid version. So I guess we need the credits to run. |
Yes, I Am using the latest version |
I'm having same issue: Error calling Claude API: Messages.create() got an unexpected keyword argument 'tools' |
I was able to fix with: pip install --upgrade anthropic |
Hi, I'm having the same issue, I have API credits, and I ran the pip install --upgrade anthropic and it says "Requirements already satisfied". Commenting out the lines tools=tools and tool_choice={"type": "auto"} in the def chat_with_claude() makes it possible to chat, but of course it can't access the tools therefore can't actually do anything. Any suggestions? Thanks in advance. |
this is fixed |
I am still seeing this issue in wsl, after making sure to upgrade everything. I just cloned and installed today, so I doubt anything is out of date. I could be wrong though! |
getting this still |
I am getting the same issue each time I run it.
It keeps on showing :-
Error calling Claude API: Messages.create() got an unexpected keyword argument 'tools'
I'm sorry, there was an error communicating with the AI. Please try again.
The text was updated successfully, but these errors were encountered: