Model Error Override System #
Infrastructure was added that allows server-side configuration to customize the error messages and model-picker hint text that users see when a model encounters an error.
- A new config key
tengu-model-error-overridesis read from server-delivered configuration. It maps model identifiers to objects with optionalblock(error message text) andpickerHint(hint shown in the model picker) fields. - When a matching override is present and its
blockstring is non-empty, the override text replaces the default error display. pickerHintcan provide a separate, shorter hint for use in the model selection UI. If absent, theblocktext is reused.- If any error occurs reading the override config, the system logs
model-error-overrides picker hint failed:ortengu-model-error-overrides block check failed:and falls back to default behavior.
This is a server-controlled capability with no user-facing knob; the overrides are delivered via the existing feature-flag config mechanism and take effect automatically when present.
New config key (search for "tengu-model-error-overrides")