feat(mistral-ai/mistral-code-fim-latest): add new models [bot]#1227
feat(mistral-ai/mistral-code-fim-latest): add new models [bot]#1227models-bot[bot] wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit e7cfe39. Configure here.
| status: active | ||
| supportedModes: | ||
| - completion | ||
| - chat |
There was a problem hiding this comment.
FIM model advertises chat tools
Medium Severity
mistral-code-fim-latest declares function_calling and supportedModes including chat, but Mistral’s fill-in-the-middle API is a separate completions surface without chat messages or tools. Consumers may route or enable capabilities this model does not support.
Reviewed by Cursor Bugbot for commit e7cfe39. Configure here.
|
/test-models |
Gateway test results
Failures (4)
Error
Error
Error
ErrorCode snippetfrom openai import OpenAI
client = OpenAI(api_key="***", base_url="https://internal.devtest.truefoundry.tech/api/llm")
response = client.completions.create(
model="test-v2-mistral-ai/mistral-code-fim-latest",
prompt="What is the capital of France?",
max_tokens=256,
temperature=0.3,
)
print(response.choices[0].text) |


Auto-generated by model-addition-agent for
mistral-ai/mistral-code-fim-latest.Note
Low Risk
Single declarative model config file with no application logic or security-sensitive changes.
Overview
Adds a new Mistral AI provider definition for
mistral-code-fim-latest, exposing it as an active model for completion and chat (with function_calling).The entry sets per-token pricing, a 256k context window, text/code input and output modalities, and a default temperature of 0.3.
Reviewed by Cursor Bugbot for commit b1999f1. Bugbot is set up for automated code reviews on this repo. Configure here.