Sourcegraph Cody Gateway: unexpected status code 400

I’m getting the following error in vscode

Request Failed: Sourcegraph Cody Gateway: unexpected status code 400: {“error”:“model "anthropic/claude-3-5-sonnet-latest" is not allowed, allowed: [anthropic/claude-3-haiku-20240307, anthropic/claude-3-sonnet-20240229, anthropic/claude-3-5-sonnet-20240620, anthropic/claude-3-5-sonnet-20240620-fast-edit, anthropic/claude-3-opus-20240229, anthropic/claude-2, anthropic/claude-2.0, anthropic/claude-2.1, anthropic/claude-instant-1.2-cyan, anthropic/claude-instant-1.2, anthropic/claude-instant-v1, anthropic/claude-instant-1]”}

Thank you for the report.

It is already resolved and the cause was to add the new SOTA Sonnet 3.5 model into the list of models.

Enjoy coding.

1 Like

Yes, it is working now.

Is this the new model that was released today? The updated Sonnet 3.5?

Yes, it is the model announced from Anthropic 1 hour ago.

1 Like

Sil vous plait comment ajouter le nouveau modèles ???