Skip to content

Anthropic Example is throwing a TypeError: Messages.create() got an unexpected keyword argument 'tools' #807

Answered by JakeBeresford
edmar asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jxnl
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #774 on July 03, 2024 02:28.