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

Integration with mistral ? #250

Open
txfab opened this issue Oct 7, 2024 · 2 comments
Open

Integration with mistral ? #250

txfab opened this issue Oct 7, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@txfab
Copy link

txfab commented Oct 7, 2024

Hello Guys !

I'm trying to integrate mistral with copilot.
Trying to put the

  • Services to ‘OpenAI Compatible
  • API keys > API key from mistral dashboard
  • OrgID > Mistral Workspace ID
  • Default Model > Model of my agent created ( mistral-small-2409 )

I have in my logs the message :
{
"caller": "app/plugin_api.go:1011",
"error": "error, status code: 401, message: %!s()",
"level": "error",
"msg": "Streaming result to post failed partway",
"plugin_id": "mattermost-ai",
"timestamp": "2024-10-07 17:32:58.768 +08:00"
}

I then tried to put

  • API keys > API ID ‘ag:xxxxxx’

But still same, has anyone done it before?

Thank you!

@txfab txfab added the enhancement New feature or request label Oct 7, 2024
@azigler
Copy link
Contributor

azigler commented Oct 8, 2024

What is the base URL you are using for the model's address? I believe it needs to end with /v1 to work as an OpenAI API-compatible service.

@txfab
Copy link
Author

txfab commented Oct 14, 2024

Hi @azigler

actually I used : https://api.mistral.ai/v1/chat/completions
I gave a try with : https://api.mistral.ai/v1/

but it gave the same error message.

2024-10-14_10-14-29

Thank you

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

No branches or pull requests

2 participants