better interleaved thinking support (#5298)
This commit is contained in:
parent
0aa3e6c270
commit
df64612d54
12 changed files with 414 additions and 1219 deletions
|
|
@ -1044,6 +1044,11 @@ export type ProviderConfig = {
|
|||
reasoning?: boolean
|
||||
temperature?: boolean
|
||||
tool_call?: boolean
|
||||
interleaved?:
|
||||
| true
|
||||
| {
|
||||
field: "reasoning_content" | "reasoning_details"
|
||||
}
|
||||
cost?: {
|
||||
input: number
|
||||
output: number
|
||||
|
|
@ -1479,6 +1484,11 @@ export type Model = {
|
|||
video: boolean
|
||||
pdf: boolean
|
||||
}
|
||||
interleaved:
|
||||
| boolean
|
||||
| {
|
||||
field: "reasoning_content" | "reasoning_details"
|
||||
}
|
||||
}
|
||||
cost: {
|
||||
input: number
|
||||
|
|
@ -3026,6 +3036,11 @@ export type ProviderListResponses = {
|
|||
reasoning: boolean
|
||||
temperature: boolean
|
||||
tool_call: boolean
|
||||
interleaved?:
|
||||
| true
|
||||
| {
|
||||
field: "reasoning_content" | "reasoning_details"
|
||||
}
|
||||
cost?: {
|
||||
input: number
|
||||
output: number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue