mirror of
https://github.com/openai/codex.git
synced 2026-11-21 22:50:37 +00:00
[codex] Thread backend-selected near-limit prompt state through client models
This commit is contained in:
@@ -2425,6 +2425,16 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"currentUsageLimitNudge": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/UsageLimitNudge"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"limitId": {
|
||||
"type": [
|
||||
"string",
|
||||
@@ -4373,6 +4383,30 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"UsageLimitNudge": {
|
||||
"properties": {
|
||||
"action": {
|
||||
"$ref": "#/definitions/UsageLimitNudgeAction"
|
||||
},
|
||||
"threshold": {
|
||||
"format": "uint8",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"action",
|
||||
"threshold"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"UsageLimitNudgeAction": {
|
||||
"enum": [
|
||||
"add_credits",
|
||||
"upgrade"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"UserInput": {
|
||||
"oneOf": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user