better interleaved thinking support (#5298)
This commit is contained in:
parent
0aa3e6c270
commit
df64612d54
12 changed files with 414 additions and 1219 deletions
|
|
@ -17,6 +17,16 @@ export namespace ModelsDev {
|
|||
reasoning: z.boolean(),
|
||||
temperature: z.boolean(),
|
||||
tool_call: z.boolean(),
|
||||
interleaved: z
|
||||
.union([
|
||||
z.literal(true),
|
||||
z
|
||||
.object({
|
||||
field: z.enum(["reasoning_content", "reasoning_details"]),
|
||||
})
|
||||
.strict(),
|
||||
])
|
||||
.optional(),
|
||||
cost: z
|
||||
.object({
|
||||
input: z.number(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue