chore: generate
This commit is contained in:
@@ -1875,9 +1875,11 @@ export type SyncEventSessionNextModelSwitched = {
|
|||||||
data: {
|
data: {
|
||||||
timestamp: number
|
timestamp: number
|
||||||
sessionID: string
|
sessionID: string
|
||||||
id: string
|
model: {
|
||||||
providerID: string
|
id: string
|
||||||
variant?: string
|
providerID: string
|
||||||
|
variant: string
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1948,7 +1950,7 @@ export type SyncEventSessionNextStepStarted = {
|
|||||||
model: {
|
model: {
|
||||||
id: string
|
id: string
|
||||||
providerID: string
|
providerID: string
|
||||||
variant?: string
|
variant: string
|
||||||
}
|
}
|
||||||
snapshot?: string
|
snapshot?: string
|
||||||
}
|
}
|
||||||
@@ -1987,10 +1989,7 @@ export type SyncEventSessionNextStepFailed = {
|
|||||||
data: {
|
data: {
|
||||||
timestamp: number
|
timestamp: number
|
||||||
sessionID: string
|
sessionID: string
|
||||||
error: {
|
error: SessionErrorUnknown
|
||||||
type: string
|
|
||||||
message: string
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2188,10 +2187,7 @@ export type SyncEventSessionNextToolFailed = {
|
|||||||
timestamp: number
|
timestamp: number
|
||||||
sessionID: string
|
sessionID: string
|
||||||
callID: string
|
callID: string
|
||||||
error: {
|
error: SessionErrorUnknown
|
||||||
type: string
|
|
||||||
message: string
|
|
||||||
}
|
|
||||||
provider: {
|
provider: {
|
||||||
executed: boolean
|
executed: boolean
|
||||||
metadata?: {
|
metadata?: {
|
||||||
@@ -2616,9 +2612,11 @@ export type EventSessionNextModelSwitched = {
|
|||||||
properties: {
|
properties: {
|
||||||
timestamp: number
|
timestamp: number
|
||||||
sessionID: string
|
sessionID: string
|
||||||
id: string
|
model: {
|
||||||
providerID: string
|
id: string
|
||||||
variant?: string
|
providerID: string
|
||||||
|
variant: string
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2693,7 +2691,7 @@ export type EventSessionNextStepStarted = {
|
|||||||
model: {
|
model: {
|
||||||
id: string
|
id: string
|
||||||
providerID: string
|
providerID: string
|
||||||
variant?: string
|
variant: string
|
||||||
}
|
}
|
||||||
snapshot?: string
|
snapshot?: string
|
||||||
}
|
}
|
||||||
@@ -2720,16 +2718,18 @@ export type EventSessionNextStepEnded = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type SessionErrorUnknown = {
|
||||||
|
type: "unknown"
|
||||||
|
message: string
|
||||||
|
}
|
||||||
|
|
||||||
export type EventSessionNextStepFailed = {
|
export type EventSessionNextStepFailed = {
|
||||||
id: string
|
id: string
|
||||||
type: "session.next.step.failed"
|
type: "session.next.step.failed"
|
||||||
properties: {
|
properties: {
|
||||||
timestamp: number
|
timestamp: number
|
||||||
sessionID: string
|
sessionID: string
|
||||||
error: {
|
error: SessionErrorUnknown
|
||||||
type: string
|
|
||||||
message: string
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2900,10 +2900,7 @@ export type EventSessionNextToolFailed = {
|
|||||||
timestamp: number
|
timestamp: number
|
||||||
sessionID: string
|
sessionID: string
|
||||||
callID: string
|
callID: string
|
||||||
error: {
|
error: SessionErrorUnknown
|
||||||
type: string
|
|
||||||
message: string
|
|
||||||
}
|
|
||||||
provider: {
|
provider: {
|
||||||
executed: boolean
|
executed: boolean
|
||||||
metadata?: {
|
metadata?: {
|
||||||
@@ -2994,7 +2991,7 @@ export type SessionInfo = {
|
|||||||
model?: {
|
model?: {
|
||||||
id: string
|
id: string
|
||||||
providerID: string
|
providerID: string
|
||||||
variant?: string
|
variant: string
|
||||||
}
|
}
|
||||||
time: {
|
time: {
|
||||||
created: number
|
created: number
|
||||||
@@ -3030,7 +3027,7 @@ export type SessionMessageModelSwitched = {
|
|||||||
model: {
|
model: {
|
||||||
id: string
|
id: string
|
||||||
providerID: string
|
providerID: string
|
||||||
variant?: string
|
variant: string
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3124,10 +3121,7 @@ export type SessionMessageToolStateError = {
|
|||||||
structured: {
|
structured: {
|
||||||
[key: string]: unknown
|
[key: string]: unknown
|
||||||
}
|
}
|
||||||
error: {
|
error: SessionErrorUnknown
|
||||||
type: string
|
|
||||||
message: string
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type SessionMessageAssistantTool = {
|
export type SessionMessageAssistantTool = {
|
||||||
@@ -3167,7 +3161,7 @@ export type SessionMessageAssistant = {
|
|||||||
model: {
|
model: {
|
||||||
id: string
|
id: string
|
||||||
providerID: string
|
providerID: string
|
||||||
variant?: string
|
variant: string
|
||||||
}
|
}
|
||||||
content: Array<SessionMessageAssistantText | SessionMessageAssistantReasoning | SessionMessageAssistantTool>
|
content: Array<SessionMessageAssistantText | SessionMessageAssistantReasoning | SessionMessageAssistantTool>
|
||||||
snapshot?: {
|
snapshot?: {
|
||||||
@@ -3185,10 +3179,7 @@ export type SessionMessageAssistant = {
|
|||||||
write: number
|
write: number
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
error?: {
|
error?: SessionErrorUnknown
|
||||||
type: string
|
|
||||||
message: string
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type SessionMessageCompaction = {
|
export type SessionMessageCompaction = {
|
||||||
|
|||||||
+57
-89
@@ -13998,17 +13998,24 @@
|
|||||||
"sessionID": {
|
"sessionID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"id": {
|
"model": {
|
||||||
"type": "string"
|
"type": "object",
|
||||||
},
|
"properties": {
|
||||||
"providerID": {
|
"id": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"variant": {
|
"providerID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"variant": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id", "providerID", "variant"],
|
||||||
|
"additionalProperties": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["timestamp", "sessionID", "id", "providerID"],
|
"required": ["timestamp", "sessionID", "model"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -14231,7 +14238,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["id", "providerID"],
|
"required": ["id", "providerID", "variant"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"snapshot": {
|
"snapshot": {
|
||||||
@@ -14357,17 +14364,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"type": "object",
|
"$ref": "#/components/schemas/SessionErrorUnknown"
|
||||||
"properties": {
|
|
||||||
"type": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"message": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["type", "message"],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["timestamp", "sessionID", "error"],
|
"required": ["timestamp", "sessionID", "error"],
|
||||||
@@ -14979,17 +14976,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"type": "object",
|
"$ref": "#/components/schemas/SessionErrorUnknown"
|
||||||
"properties": {
|
|
||||||
"type": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"message": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["type", "message"],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -16267,17 +16254,24 @@
|
|||||||
"sessionID": {
|
"sessionID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"id": {
|
"model": {
|
||||||
"type": "string"
|
"type": "object",
|
||||||
},
|
"properties": {
|
||||||
"providerID": {
|
"id": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"variant": {
|
"providerID": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"variant": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id", "providerID", "variant"],
|
||||||
|
"additionalProperties": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["timestamp", "sessionID", "id", "providerID"],
|
"required": ["timestamp", "sessionID", "model"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -16496,7 +16490,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["id", "providerID"],
|
"required": ["id", "providerID", "variant"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"snapshot": {
|
"snapshot": {
|
||||||
@@ -16580,6 +16574,20 @@
|
|||||||
"required": ["id", "type", "properties"],
|
"required": ["id", "type", "properties"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
|
"SessionErrorUnknown": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["unknown"]
|
||||||
|
},
|
||||||
|
"message": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["type", "message"],
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
"EventSessionNextStepFailed": {
|
"EventSessionNextStepFailed": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@@ -16600,17 +16608,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"type": "object",
|
"$ref": "#/components/schemas/SessionErrorUnknown"
|
||||||
"properties": {
|
|
||||||
"type": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"message": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["type", "message"],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["timestamp", "sessionID", "error"],
|
"required": ["timestamp", "sessionID", "error"],
|
||||||
@@ -17113,17 +17111,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"type": "object",
|
"$ref": "#/components/schemas/SessionErrorUnknown"
|
||||||
"properties": {
|
|
||||||
"type": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"message": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["type", "message"],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -17376,7 +17364,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["id", "providerID"],
|
"required": ["id", "providerID", "variant"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"time": {
|
"time": {
|
||||||
@@ -17472,7 +17460,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["id", "providerID"],
|
"required": ["id", "providerID", "variant"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -17731,17 +17719,7 @@
|
|||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"type": "object",
|
"$ref": "#/components/schemas/SessionErrorUnknown"
|
||||||
"properties": {
|
|
||||||
"type": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"message": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["type", "message"],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["status", "input", "content", "structured", "error"],
|
"required": ["status", "input", "content", "structured", "error"],
|
||||||
@@ -17854,7 +17832,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["id", "providerID"],
|
"required": ["id", "providerID", "variant"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"content": {
|
"content": {
|
||||||
@@ -17921,17 +17899,7 @@
|
|||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"type": "object",
|
"$ref": "#/components/schemas/SessionErrorUnknown"
|
||||||
"properties": {
|
|
||||||
"type": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"message": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["type", "message"],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["id", "time", "type", "agent", "model", "content"],
|
"required": ["id", "time", "type", "agent", "model", "content"],
|
||||||
|
|||||||
Reference in New Issue
Block a user