[codex] Thread backend-selected near-limit prompt state through client models

This commit is contained in:
James Chu
2026-05-03 23:33:48 -04:00
parent ff27d01676
commit 53dbdbfa9d
28 changed files with 558 additions and 3 deletions
@@ -12770,6 +12770,16 @@
}
]
},
"currentUsageLimitNudge": {
"anyOf": [
{
"$ref": "#/definitions/v2/UsageLimitNudge"
},
{
"type": "null"
}
]
},
"limitId": {
"type": [
"string",
@@ -17804,6 +17814,30 @@
"title": "TurnSteerResponse",
"type": "object"
},
"UsageLimitNudge": {
"properties": {
"action": {
"$ref": "#/definitions/v2/UsageLimitNudgeAction"
},
"threshold": {
"format": "uint8",
"minimum": 0.0,
"type": "integer"
}
},
"required": [
"action",
"threshold"
],
"type": "object"
},
"UsageLimitNudgeAction": {
"enum": [
"add_credits",
"upgrade"
],
"type": "string"
},
"UserInput": {
"oneOf": [
{