Update default model to mistral-large-2411 for improved agentic workflows
- Change default from mistral-small-latest to mistral-large-2411 - mistral-large-2411 is Mistral's flagship model (123B params) - Optimized for complex agentic workflows with precise instruction following - Supports 128k context window with robust function-calling and JSON outputs - Better suited for multi-agent collaborative document editing
This commit is contained in:
parent
affb55df43
commit
b4ccf03b8e
@ -52,7 +52,7 @@ async function callMistralAPI(messages, options = {}) {
|
|||||||
'Authorization': `Bearer ${MISTRAL_API_KEY}`
|
'Authorization': `Bearer ${MISTRAL_API_KEY}`
|
||||||
},
|
},
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
model: options.model || 'mistral-small-latest',
|
model: options.model || 'mistral-large-2411',
|
||||||
messages,
|
messages,
|
||||||
temperature: options.temperature || 0.7,
|
temperature: options.temperature || 0.7,
|
||||||
max_tokens: maxTokens || 2048,
|
max_tokens: maxTokens || 2048,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user