Skip to content

Commit

Permalink
docs: fix api_endpoint for chat config in mistral.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys authored Sep 6, 2024
1 parent abde89b commit d5bde52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion website/docs/references/models-http-api/mistral-ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ To connect Tabby with Mistral's models, you need to apply the following configur
# Completion Model
[model.completion.http]
kind = "mistral/completion"
model_name = "codestral-latest"
api_endpoint = "https://api.mistral.ai"
api_key = "secret-api-key"

# Chat Model
[model.chat.http]
kind = "mistral/chat"
api_endpoint = "https://api.mistral.ai"
model_name = "codestral-latest"
api_endpoint = "https://api.mistral.ai/v1"
api_key = "secret-api-key"
```

0 comments on commit d5bde52

Please sign in to comment.