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

[Bug]: APIConnectionError during codestral fim completion #8058

Closed
theGitNoob opened this issue Jan 28, 2025 · 2 comments · Fixed by #8059
Closed

[Bug]: APIConnectionError during codestral fim completion #8058

theGitNoob opened this issue Jan 28, 2025 · 2 comments · Fixed by #8059
Labels
bug Something isn't working

Comments

@theGitNoob
Copy link
Contributor

What happened?

Following the CodestralFimCompletions example i'm receiving the following error:
litellm.exceptions.APIConnectionError: litellm.APIConnectionError: Text-completion-codestralException - {
"message":"Unauthorized",
"request_id":"03476f4051c66f68eb6a28448c1aec50"
}

Relevant log output

Are you a ML Ops Team?

No

What LiteLLM version are you on ?

v1.59.8

Twitter / LinkedIn details

No response

@miraclebakelaser
Copy link
Contributor

Can you check that you're using the right API key? The Codestral API keys are different from the regular API keys that Mistral issues to paying users of their chat models.

They're also issued on a different page, which makes it all the more confusing.

https://console.mistral.ai/codestral

@krrishdholakia
Copy link
Contributor

Closing as the fix is merged in - #8059

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.

3 participants