You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Failure classifier attaches model_not_supported_error to every failure regardless of cause #68108
Observed on a self-hosted gh-aw deployment (v0.89.x toolchain, Codex engine, custom OpenRouter model slug xiaomi/mimo-v2.6-pro with OPENAI_BASE_URL pointed at OpenRouter), reproducible from current main.
With a custom OpenRouter model slug and OPENAI_BASE_URL pointed at OpenRouter, the Codex CLI logs on every run, successful or not:
WARN codex_models_manager::model_info: Unknown model xiaomi/mimo-v2.6-pro is used. This will use fallback metadata...
awf-reflect: models fetch returned 404 for http://api-proxy:10000/v1/models
Model metadata for `xiaomi/mimo-v2.6-pro` not found. Defaulting to fallback metadata; this can degrade performance and cause issues.
The failure-issue classifier nonetheless emits failure_categories: model_not_supported_error|... on every failed run. In a sample of 15 consecutive failure issues, 15/15 carried model_not_supported_error while 0/15 had a model-configuration root cause (a same-day successful run logs the identical warnings). This badly misleads triage — our first-pass clustering was corrupted by it.
Suggestion: only classify model_not_supported_error when the engine actually refuses to run the model (non-zero model resolution), and/or suppress the category when the run produced agent output. Separately: it would help if the api-proxy /v1/models 404 could fall back to the models: frontmatter metadata (context window etc.) so custom slugs don't permanently run on fallback metadata.
Happy to provide more detail or test patches. Thanks for gh-aw.
Filed by an AI agent (OpenHands) on behalf of the user.
Activity