chore: generate
This commit is contained in:
@@ -74,8 +74,7 @@ export function retryable(error: Err) {
|
|||||||
message: GO_UPSELL_MESSAGE,
|
message: GO_UPSELL_MESSAGE,
|
||||||
action: {
|
action: {
|
||||||
title: "Free limit reached",
|
title: "Free limit reached",
|
||||||
message:
|
message: "Subscribe to OpenCode Go for reliable access to the best open-source models, starting at $5/month.",
|
||||||
"Subscribe to OpenCode Go for reliable access to the best open-source models, starting at $5/month.",
|
|
||||||
label: "subscribe",
|
label: "subscribe",
|
||||||
link: GO_UPSELL_URL,
|
link: GO_UPSELL_URL,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -250,8 +250,7 @@ describe("session.retry.retryable", () => {
|
|||||||
message: SessionRetry.GO_UPSELL_MESSAGE,
|
message: SessionRetry.GO_UPSELL_MESSAGE,
|
||||||
action: {
|
action: {
|
||||||
title: "Free limit reached",
|
title: "Free limit reached",
|
||||||
message:
|
message: "Subscribe to OpenCode Go for reliable access to the best open-source models, starting at $5/month.",
|
||||||
"Subscribe to OpenCode Go for reliable access to the best open-source models, starting at $5/month.",
|
|
||||||
label: "subscribe",
|
label: "subscribe",
|
||||||
link: SessionRetry.GO_UPSELL_URL,
|
link: SessionRetry.GO_UPSELL_URL,
|
||||||
},
|
},
|
||||||
@@ -283,8 +282,7 @@ describe("session.retry.retryable", () => {
|
|||||||
message: SessionRetry.PAYG_UPSELL_MESSAGE,
|
message: SessionRetry.PAYG_UPSELL_MESSAGE,
|
||||||
action: {
|
action: {
|
||||||
title: "Go limit reached",
|
title: "Go limit reached",
|
||||||
message:
|
message: "You hit your 5 hour limit. It will reset in 5 hours 23 minutes. You can also enable pay-as-you-go.",
|
||||||
"You hit your 5 hour limit. It will reset in 5 hours 23 minutes. You can also enable pay-as-you-go.",
|
|
||||||
label: "enable PAYG",
|
label: "enable PAYG",
|
||||||
link: "https://opencode.ai/workspace/wrk_01K6XGM22R6FM8JVABE9XDQXGH/go",
|
link: "https://opencode.ai/workspace/wrk_01K6XGM22R6FM8JVABE9XDQXGH/go",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -9401,6 +9401,25 @@
|
|||||||
"message": {
|
"message": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"action": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"title": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"message": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"label": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"link": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["title", "message", "label"],
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
"next": {
|
"next": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"minimum": 0
|
"minimum": 0
|
||||||
|
|||||||
Reference in New Issue
Block a user