chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-08 15:49:37 +00:00
parent 799996db76
commit fc46cef5fd
2 changed files with 10 additions and 2 deletions

View File

@@ -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.",
})
})
})

View File

@@ -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": {