Anthropic Example is throwing a TypeError: Messages.create() got an unexpected keyword argument 'tools' #807
-
What Model are you using?
Describe the bug TypeError: Messages.create() got an unexpected keyword argument 'tools' To Reproduce Expected behavior To get a user to be returned. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
I'm experiencing very similar issue. I thinks Claude is called with kwarg tools, which is incorrect. |
Beta Was this translation helpful? Give feedback.
-
+1, started noticing this error this morning with |
Beta Was this translation helpful? Give feedback.
-
We are also seeing this error. Seems related to #723 - if I set |
Beta Was this translation helpful? Give feedback.
-
I have just updated to 1.3.4 and now it seems that anthropic integration is working. |
Beta Was this translation helpful? Give feedback.
-
Setting |
Beta Was this translation helpful? Give feedback.
We are also seeing this error. Seems related to #723 - if I set
mode=instructor.mode.Mode.ANTHROPIC_JSON
when initializing the client, we do not have this error.