chore: generate
This commit is contained in:
parent
f5d20c580b
commit
516af86d53
2 changed files with 65 additions and 23 deletions
|
|
@ -1829,6 +1829,12 @@ export type SessionNotFoundError = {
|
||||||
message: string
|
message: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type ServiceUnavailableError = {
|
||||||
|
_tag: "ServiceUnavailableError"
|
||||||
|
message: string
|
||||||
|
service?: string
|
||||||
|
}
|
||||||
|
|
||||||
export type V2SessionMessagesResponse = {
|
export type V2SessionMessagesResponse = {
|
||||||
items: Array<SessionMessage>
|
items: Array<SessionMessage>
|
||||||
cursor: {
|
cursor: {
|
||||||
|
|
@ -1837,12 +1843,6 @@ export type V2SessionMessagesResponse = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export type ServiceUnavailableError = {
|
|
||||||
_tag: "ServiceUnavailableError"
|
|
||||||
message: string
|
|
||||||
service?: string
|
|
||||||
}
|
|
||||||
|
|
||||||
export type ProviderNotFoundError = {
|
export type ProviderNotFoundError = {
|
||||||
_tag: "ProviderNotFoundError"
|
_tag: "ProviderNotFoundError"
|
||||||
providerID: string
|
providerID: string
|
||||||
|
|
@ -7184,6 +7184,10 @@ export type V2SessionPromptErrors = {
|
||||||
* SessionNotFoundError
|
* SessionNotFoundError
|
||||||
*/
|
*/
|
||||||
404: SessionNotFoundError
|
404: SessionNotFoundError
|
||||||
|
/**
|
||||||
|
* ServiceUnavailableError
|
||||||
|
*/
|
||||||
|
503: ServiceUnavailableError
|
||||||
}
|
}
|
||||||
|
|
||||||
export type V2SessionPromptError = V2SessionPromptErrors[keyof V2SessionPromptErrors]
|
export type V2SessionPromptError = V2SessionPromptErrors[keyof V2SessionPromptErrors]
|
||||||
|
|
@ -7222,6 +7226,10 @@ export type V2SessionCompactErrors = {
|
||||||
* SessionNotFoundError
|
* SessionNotFoundError
|
||||||
*/
|
*/
|
||||||
404: SessionNotFoundError
|
404: SessionNotFoundError
|
||||||
|
/**
|
||||||
|
* ServiceUnavailableError
|
||||||
|
*/
|
||||||
|
503: ServiceUnavailableError
|
||||||
}
|
}
|
||||||
|
|
||||||
export type V2SessionCompactError = V2SessionCompactErrors[keyof V2SessionCompactErrors]
|
export type V2SessionCompactError = V2SessionCompactErrors[keyof V2SessionCompactErrors]
|
||||||
|
|
@ -7260,6 +7268,10 @@ export type V2SessionWaitErrors = {
|
||||||
* SessionNotFoundError
|
* SessionNotFoundError
|
||||||
*/
|
*/
|
||||||
404: SessionNotFoundError
|
404: SessionNotFoundError
|
||||||
|
/**
|
||||||
|
* ServiceUnavailableError
|
||||||
|
*/
|
||||||
|
503: ServiceUnavailableError
|
||||||
}
|
}
|
||||||
|
|
||||||
export type V2SessionWaitError = V2SessionWaitErrors[keyof V2SessionWaitErrors]
|
export type V2SessionWaitError = V2SessionWaitErrors[keyof V2SessionWaitErrors]
|
||||||
|
|
|
||||||
|
|
@ -8227,6 +8227,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"503": {
|
||||||
|
"description": "ServiceUnavailableError",
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/components/schemas/ServiceUnavailableError"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"description": "Create a v2 session message and queue it for the agent loop.",
|
"description": "Create a v2 session message and queue it for the agent loop.",
|
||||||
|
|
@ -8323,6 +8333,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"503": {
|
||||||
|
"description": "ServiceUnavailableError",
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/components/schemas/ServiceUnavailableError"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"description": "Compact a v2 session conversation.",
|
"description": "Compact a v2 session conversation.",
|
||||||
|
|
@ -8400,6 +8420,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"503": {
|
||||||
|
"description": "ServiceUnavailableError",
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/components/schemas/ServiceUnavailableError"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"description": "Wait for a v2 session agent loop to become idle.",
|
"description": "Wait for a v2 session agent loop to become idle.",
|
||||||
|
|
@ -15685,6 +15715,23 @@
|
||||||
"required": ["_tag", "sessionID", "message"],
|
"required": ["_tag", "sessionID", "message"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
|
"ServiceUnavailableError": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"_tag": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["ServiceUnavailableError"]
|
||||||
|
},
|
||||||
|
"message": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"service": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["_tag", "message"],
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
"V2SessionMessagesResponse": {
|
"V2SessionMessagesResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -15710,23 +15757,6 @@
|
||||||
"required": ["items", "cursor"],
|
"required": ["items", "cursor"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"ServiceUnavailableError": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"_tag": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["ServiceUnavailableError"]
|
|
||||||
},
|
|
||||||
"message": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"service": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["_tag", "message"],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"ProviderNotFoundError": {
|
"ProviderNotFoundError": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue