mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-14 16:42:38 +00:00
chore: generate
This commit is contained in:
@@ -414,6 +414,8 @@ describe("session.message-v2.fromError", () => {
|
||||
expect(MessageV2.APIError.isInstance(result)).toBe(true)
|
||||
if (!MessageV2.APIError.isInstance(result)) throw new Error("expected APIError")
|
||||
expect(result.data.isRetryable).toBe(true)
|
||||
expect(SessionRetry.retryable(result, retryProvider)).toEqual({ message: "An error occurred while processing your request." })
|
||||
expect(SessionRetry.retryable(result, retryProvider)).toEqual({
|
||||
message: "An error occurred while processing your request.",
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -9441,6 +9441,12 @@
|
||||
"action": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"reason": {
|
||||
"type": "string"
|
||||
},
|
||||
"provider": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -9454,7 +9460,7 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["title", "message", "label"],
|
||||
"required": ["reason", "provider", "title", "message", "label"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"next": {
|
||||
|
||||
Reference in New Issue
Block a user