mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 54873689bc |
@@ -69,7 +69,8 @@ export function aixToOpenAIChatCompletions(openAIDialect: OpenAIDialects, model:
|
||||
|
||||
// constrained output modes - both JSON and tool invocations
|
||||
// const strictJsonOutput = !!model.strictJsonOutput;
|
||||
const strictToolInvocations = !!model.strictToolInvocations;
|
||||
// [DeepSeek, 2025-01] DeepSeek requires strict: true for reliable function calling
|
||||
const strictToolInvocations = !!model.strictToolInvocations || openAIDialect === 'deepseek';
|
||||
|
||||
// Construct the request payload
|
||||
let payload: TRequest = {
|
||||
|
||||
Reference in New Issue
Block a user