chore: generate
This commit is contained in:
@@ -233,6 +233,21 @@ export type TextPart = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type SubtaskPart = {
|
||||||
|
id: string
|
||||||
|
sessionID: string
|
||||||
|
messageID: string
|
||||||
|
type: "subtask"
|
||||||
|
prompt: string
|
||||||
|
description: string
|
||||||
|
agent: string
|
||||||
|
model?: {
|
||||||
|
providerID: string
|
||||||
|
modelID: string
|
||||||
|
}
|
||||||
|
command?: string
|
||||||
|
}
|
||||||
|
|
||||||
export type ReasoningPart = {
|
export type ReasoningPart = {
|
||||||
id: string
|
id: string
|
||||||
sessionID: string
|
sessionID: string
|
||||||
@@ -449,20 +464,7 @@ export type CompactionPart = {
|
|||||||
|
|
||||||
export type Part =
|
export type Part =
|
||||||
| TextPart
|
| TextPart
|
||||||
| {
|
| SubtaskPart
|
||||||
id: string
|
|
||||||
sessionID: string
|
|
||||||
messageID: string
|
|
||||||
type: "subtask"
|
|
||||||
prompt: string
|
|
||||||
description: string
|
|
||||||
agent: string
|
|
||||||
model?: {
|
|
||||||
providerID: string
|
|
||||||
modelID: string
|
|
||||||
}
|
|
||||||
command?: string
|
|
||||||
}
|
|
||||||
| ReasoningPart
|
| ReasoningPart
|
||||||
| FilePart
|
| FilePart
|
||||||
| ToolPart
|
| ToolPart
|
||||||
|
|||||||
@@ -6502,6 +6502,49 @@
|
|||||||
},
|
},
|
||||||
"required": ["id", "sessionID", "messageID", "type", "text"]
|
"required": ["id", "sessionID", "messageID", "type", "text"]
|
||||||
},
|
},
|
||||||
|
"SubtaskPart": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"sessionID": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"messageID": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"const": "subtask"
|
||||||
|
},
|
||||||
|
"prompt": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"agent": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"model": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"providerID": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"modelID": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["providerID", "modelID"]
|
||||||
|
},
|
||||||
|
"command": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id", "sessionID", "messageID", "type", "prompt", "description", "agent"]
|
||||||
|
},
|
||||||
"ReasoningPart": {
|
"ReasoningPart": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@@ -7125,47 +7168,7 @@
|
|||||||
"$ref": "#/components/schemas/TextPart"
|
"$ref": "#/components/schemas/TextPart"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "object",
|
"$ref": "#/components/schemas/SubtaskPart"
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"sessionID": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"messageID": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"const": "subtask"
|
|
||||||
},
|
|
||||||
"prompt": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"description": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"agent": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"model": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"providerID": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"modelID": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["providerID", "modelID"]
|
|
||||||
},
|
|
||||||
"command": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["id", "sessionID", "messageID", "type", "prompt", "description", "agent"]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ReasoningPart"
|
"$ref": "#/components/schemas/ReasoningPart"
|
||||||
|
|||||||
Reference in New Issue
Block a user