|
|
@@ -1829,6 +1829,12 @@ export type SessionNotFoundError = {
|
|
|
message: string
|
|
|
}
|
|
|
|
|
|
+export type ServiceUnavailableError = {
|
|
|
+ _tag: "ServiceUnavailableError"
|
|
|
+ message: string
|
|
|
+ service?: string
|
|
|
+}
|
|
|
+
|
|
|
export type V2SessionMessagesResponse = {
|
|
|
items: Array<SessionMessage>
|
|
|
cursor: {
|
|
|
@@ -1837,12 +1843,6 @@ export type V2SessionMessagesResponse = {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-export type ServiceUnavailableError = {
|
|
|
- _tag: "ServiceUnavailableError"
|
|
|
- message: string
|
|
|
- service?: string
|
|
|
-}
|
|
|
-
|
|
|
export type ProviderNotFoundError = {
|
|
|
_tag: "ProviderNotFoundError"
|
|
|
providerID: string
|
|
|
@@ -7184,6 +7184,10 @@ export type V2SessionPromptErrors = {
|
|
|
* SessionNotFoundError
|
|
|
*/
|
|
|
404: SessionNotFoundError
|
|
|
+ /**
|
|
|
+ * ServiceUnavailableError
|
|
|
+ */
|
|
|
+ 503: ServiceUnavailableError
|
|
|
}
|
|
|
|
|
|
export type V2SessionPromptError = V2SessionPromptErrors[keyof V2SessionPromptErrors]
|
|
|
@@ -7222,6 +7226,10 @@ export type V2SessionCompactErrors = {
|
|
|
* SessionNotFoundError
|
|
|
*/
|
|
|
404: SessionNotFoundError
|
|
|
+ /**
|
|
|
+ * ServiceUnavailableError
|
|
|
+ */
|
|
|
+ 503: ServiceUnavailableError
|
|
|
}
|
|
|
|
|
|
export type V2SessionCompactError = V2SessionCompactErrors[keyof V2SessionCompactErrors]
|
|
|
@@ -7260,6 +7268,10 @@ export type V2SessionWaitErrors = {
|
|
|
* SessionNotFoundError
|
|
|
*/
|
|
|
404: SessionNotFoundError
|
|
|
+ /**
|
|
|
+ * ServiceUnavailableError
|
|
|
+ */
|
|
|
+ 503: ServiceUnavailableError
|
|
|
}
|
|
|
|
|
|
export type V2SessionWaitError = V2SessionWaitErrors[keyof V2SessionWaitErrors]
|