You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to be able to wrap this in the vercel SDK to make it more agnostic.
At the moment there appear to be issues:
there is no way to change the mistral api endpoint from eg /chat/completions to /fim/completions
the mistral provider does not implement the completions function similar to OpenAI (just chat)
the codestral-latest model is not explicitly exposed/documented - (but I think this is fine, and i can just use the model id anyway)
Use Cases
One tool I'd like to offer, in certain circumstances is the ability to complete or correct code inline, from the user's current position
Additional context
I am currently planning to work around this by calling out to a separate endpoint and using the mistral API directly.
I am open to contributing this if it is of interest the the project.
The text was updated successfully, but these errors were encountered:
Feature Description
Firstly, thank you for developing this excellent SDK.
I'm using the mistral FIM endpoint https://docs.mistral.ai/capabilities/code_generation/#fill-in-the-middle-endpoint for code completion in the context of a code editor.
It would be nice to be able to wrap this in the vercel SDK to make it more agnostic.
At the moment there appear to be issues:
/chat/completions
to/fim/completions
completions
function similar to OpenAI (justchat
)codestral-latest
model is not explicitly exposed/documented - (but I think this is fine, and i can just use the model id anyway)Use Cases
One tool I'd like to offer, in certain circumstances is the ability to complete or correct code inline, from the user's current position
Additional context
I am currently planning to work around this by calling out to a separate endpoint and using the mistral API directly.
I am open to contributing this if it is of interest the the project.
The text was updated successfully, but these errors were encountered: