mirror of
https://github.com/openai/codex.git
synced 2026-04-29 10:53:24 +03:00
Add model availability NUX tooltips (#13021)
- override startup tooltips with model availability NUX and persist per-model show counts in config - stop showing each model after four exposures and fall back to normal tooltips
This commit is contained in:
@@ -659,6 +659,14 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ModelAvailabilityNuxConfig": {
|
||||
"additionalProperties": {
|
||||
"format": "uint32",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ModelProviderInfo": {
|
||||
"additionalProperties": false,
|
||||
"description": "Serializable representation of a provider definition.",
|
||||
@@ -1420,6 +1428,15 @@
|
||||
"description": "Enable animations (welcome screen, shimmer effects, spinners). Defaults to `true`.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"model_availability_nux": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ModelAvailabilityNuxConfig"
|
||||
}
|
||||
],
|
||||
"default": {},
|
||||
"description": "Startup tooltip availability NUX state persisted by the TUI."
|
||||
},
|
||||
"notification_method": {
|
||||
"allOf": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user