Closed mnicstruwig closed 4 months ago
Closing. There was a typo in the model specification (I didn't use the fully-qualified model name: claude-3-opus-20240229
). Bizarrely, the Anthropic API throws the tool use error first rather than a model error!
Hi @jackmpcollins,
It looks like tool use is currently broken for the
AnthropicChatModel
:Produces the following error:
I'm wondering if this breakage doesn't have to do with the public beta launch of tool use for Claude 3 models on 15 May 2024?
That being said, I see
magentic
uses the sameanthropic
library call used in the example above. So I'm not quite sure what the issue could be.I'm on the latest version of
anthropic
,0.26.1
andmagentic
at0.24.0
.