mirror of
https://github.com/dzhng/deep-research.git
synced 2026-03-22 07:57:16 +08:00
turned on sturctured outputs by default for custom model
This commit is contained in:
@@ -24,7 +24,9 @@ const fireworks = process.env.FIREWORKS_KEY
|
||||
: undefined;
|
||||
|
||||
const customModel = process.env.CUSTOM_MODEL
|
||||
? openai?.(process.env.CUSTOM_MODEL)
|
||||
? openai?.(process.env.CUSTOM_MODEL, {
|
||||
structuredOutputs: true,
|
||||
})
|
||||
: undefined;
|
||||
|
||||
// Models
|
||||
|
||||
Reference in New Issue
Block a user