feat: add devstral small 2507 (#2896)

* feat: add devstral small 2507

* chore: update blog doc
This commit is contained in:
NanoCode012
2025-07-11 09:34:19 +07:00
committed by GitHub
parent c370d0795c
commit 9b95a625ab
6 changed files with 27 additions and 14 deletions

View File

@@ -187,6 +187,7 @@ Instead of passing `tools` via the system prompt, an alternative method would be
"role": "assistant", // call the function via assistant
"tool_calls": [
{
"id": "...", // required only for mistral
"type": "function",
"function": {
"name": "...",
@@ -199,6 +200,7 @@ Instead of passing `tools` via the system prompt, an alternative method would be
},
{
"role": "tool",
"tool_call_id": "...", // required only for mistral
"name": "...",
"content": "..."
},