Skip to content
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

Error: 'Message' object has no attribute '__pydantic_serializer__' #9

Open
skybrian opened this issue Jun 24, 2024 · 0 comments
Open

Comments

@skybrian
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant