I've used the 'llm' for a while, but this is my first time trying it on anything other than openai models.
After installing this plugin, creating a new API key at Anthropic, I registered it using 'llm keys set claude'. However, it doesn't work:
(llm) % llm -m claude-3-5-sonnet-20240620 hi
Error: 'Message' object has no attribute '__pydantic_serializer__'
(llm) % llm --version
llm, version 0.14
(llm) % python --version
Python 3.11.4
This is on a Mac Mini. I used 'conda' to set up an environment last year and then 'pip install' to install llm. So far it's worked, using other models.
I don't normally develop code in Python. Is there an easy way to get a stack trace?
I've used the 'llm' for a while, but this is my first time trying it on anything other than openai models.
After installing this plugin, creating a new API key at Anthropic, I registered it using 'llm keys set claude'. However, it doesn't work:
This is on a Mac Mini. I used 'conda' to set up an environment last year and then 'pip install' to install llm. So far it's worked, using other models.
I don't normally develop code in Python. Is there an easy way to get a stack trace?