fix: add reasoning_split=false to Minimax API calls
All checks were successful
BotServer CI/CD / build (push) Successful in 3m8s
All checks were successful
BotServer CI/CD / build (push) Successful in 3m8s
This commit is contained in:
parent
2c82a8bd2e
commit
6acf5fb4c0
1 changed files with 8 additions and 2 deletions
|
|
@ -322,7 +322,10 @@ impl LLMProvider for OpenAIClient {
|
|||
"model": model,
|
||||
"messages": messages,
|
||||
"stream": false,
|
||||
"max_tokens": 131072
|
||||
"max_tokens": 131072,
|
||||
"extra_body": {
|
||||
"reasoning_split": false
|
||||
}
|
||||
}))
|
||||
.send()
|
||||
.await?;
|
||||
|
|
@ -416,7 +419,10 @@ impl LLMProvider for OpenAIClient {
|
|||
"model": model,
|
||||
"messages": messages,
|
||||
"stream": true,
|
||||
"max_tokens": 131072
|
||||
"max_tokens": 131072,
|
||||
"extra_body": {
|
||||
"reasoning_split": false
|
||||
}
|
||||
});
|
||||
|
||||
// Add tools to the request if provided
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue