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

How to set the model class for Anthropic? #988

Closed
tdergouzi opened this issue Dec 11, 2024 · 1 comment · Fixed by #999
Closed

How to set the model class for Anthropic? #988

tdergouzi opened this issue Dec 11, 2024 · 1 comment · Fixed by #999
Labels
bug Something isn't working

Comments

@tdergouzi
Copy link

character.ts

    clients: [Clients.TWITTER],
    modelProvider: ModelProviderName.ANTHROPIC,
    settings: {
        model: ModelClass.MEDIUM,
    },

when the agent start, the logs shows:

 ℹ INFORMATIONS
   Generating text with options: 
   {"modelProvider":"anthropic","model":"small"} 

 ℹ INFORMATIONS
   Selected model: 
   claude-3-haiku-20240307 

I don't know why the config is not useful. Anyone can help, Thanks a lot.

@tdergouzi tdergouzi added the bug Something isn't working label Dec 11, 2024
@salparadi
Copy link

Those sizes are hard coded into the package files. I think they are being decoupled, but for now you'd need to manually update the files (For Twitter: post.ts, interactions.ts)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants