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

Failed to parse model ID #22

Open
paradoxe35 opened this issue Nov 18, 2024 · 2 comments
Open

Failed to parse model ID #22

paradoxe35 opened this issue Nov 18, 2024 · 2 comments

Comments

@paradoxe35
Copy link

When attempting to create a new Anthropic agent with the latest model, I received this error:

⚠️ Error: The provided configuration does not result in a working agent. The following error was encountered when trying to talk to the agent API:


    Failed to parse model ID: claude-3-5-sonnet-20241022

I was only able to successfully create an agent using the model: claude-3-5-sonnet-20240620

agent yaml:

base_url: https://api.anthropic.com/v1
api_key: <API_KEY>
text_generation:
  model_id: claude-3-5-sonnet-20241022
  prompt: 'You are a brief, but helpful bot called {{ baibot_name }} powered by the {{ baibot_model_id }} model. The date/time of this conversation''s start is: {{ baibot_conversation_start_time_utc }}.'
  temperature: 1.0
  max_response_tokens: 8192
  max_context_tokens: 204800
@spantaleev
Copy link
Contributor

This recently came up in our Matrix room. I'll psot the answer here as well.


The library we use for Anthropic integration (anthropic-rs) is strongly typed and only supports the following model variants.

This is a bit unfortunate. You may be able to report the issue here - either requesting an additional variant or requesting support for a "custom" variant or some other sort of flexibility like this.

@paradoxe35
Copy link
Author

@spantaleev
Thank you for your feedback. I'll try to proceed as you suggested.

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

2 participants