glm-5.3 is listed as an OpenHands-provider model, but the OpenHands LLM proxy rejects it
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 46/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- backend-api-design
Direzione di ricerca
Start by querying the OpenHands proxy’s /v1/models with a regular OpenHands LLM key and record which GLM models it serves. Then read openhands-sdk/openhands/sdk/llm/utils/verified_models.py and tests/sdk/llm/test_model_list.py; remove only unserved GLM entries from VERIFIED_OPENHANDS_MODELS, keeping the other provider lists unchanged. Done means the model-list tests pass and /llm/models/verified no longer offers removed models under OpenHands.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happened
On Agent Canvas 1.41.0 (local): Settings → LLM → Add LLM Profile → provider OpenHands → model glm-5.3 → Save. It fails with:
litellm.BadRequestError: Litellm_proxyException - /chat/completions: Invalid model name passed in model=glm-5.3. Call `/v1/models` to view available models for your key.
Why it happens
glm-5.3 is in VERIFIED_OPENHANDS_MODELS, the list of models the openhands/ provider serves, so Canvas offers it in the model picker. But the OpenHands LLM proxy doesn't serve it for a regular OpenHands LLM key.
Expected
Either serve glm-5.3 on the proxy, or remove it from VERIFIED_OPENHANDS_MODELS so it isn't offered.
OpenHands AI triage
The following comments and acceptance criteria were added by the OpenHands AI agent.
Triage
Verified on main: glm-5.3, glm-5.3-flash, glm-5.3-flashx and glm-5.2 are in VERIFIED_OPENHANDS_MODELS (openhands-sdk/openhands/sdk/llm/utils/verified_models.py), which feeds both the model picker (agent-server GET /llm/models/verified) and the openhands/ provider allowlist (openhands_provider.py). The OpenHands LLM proxy is a separate deployed service; this repository cannot add models to it, so "serve glm-5.3 on the proxy" is a non-goal here. The repository-owned fix is to keep the openhands/ list aligned with what the proxy actually serves, which is the resolution used for the identical claude-opus-4-5 failure (PR #3421): remove the proxy-unserved entries from VERIFIED_OPENHANDS_MODELS only.
The GLM entries entered this list via the rolling model-list automation, whose evidence was LiteLLM model_cost plus OpenRouter availability — neither confirms OpenHands-proxy serving; kimi-for-coding is already excluded from the OpenHands list for exactly this reason. The four GLM entries stay in VERIFIED_GLM_MODELS, VERIFIED_OPENROUTER_MODELS and VERIFIED_DIGITALOCEAN_MODELS, and model_features.py is untouched, so direct GLM/BYOK, OpenRouter and DigitalOcean users are unaffected. The served-set question is settled empirically, not by policy: whoever implements must first query the proxy's /v1/models with a regular OpenHands LLM key.
Non-goals: changing the deployed OpenHands LLM proxy or its catalog; changing VERIFIED_GLM_MODELS, VERIFIED_OPENROUTER_MODELS, VERIFIED_DIGITALOCEAN_MODELS or model_features.py; changing how the openhands/ provider allowlist or /llm/models/verified works; adding curation automation; touching the clients/typescript surfaces (no contract change — the list is data).
If the proxy turns out to serve glm-5.3 (i.e., the report's environment was a transient proxy issue), stop and re-triage instead of applying the removal — the served-set observation in the implementation evidence decides which entries go.
Acceptance Criteria
- Before any list change, the proxy catalog is queried with a regular OpenHands LLM key (
GET https://llm-proxy.app.all-hands.dev/v1/models), and the query result (which, if any, ofglm-5.3,glm-5.3-flash,glm-5.3-flashx,glm-5.2appear) is recorded in the PR. - Every GLM entry in
VERIFIED_OPENHANDS_MODELSthat the queried proxy catalog does not serve is removed, and every entry that it does serve is kept. If the proxy servesglm-5.3, the issue is instead closed as not reproducible with a comment recording the catalog evidence. -
VERIFIED_GLM_MODELS,VERIFIED_OPENROUTER_MODELSandVERIFIED_DIGITALOCEAN_MODELSstill contain the GLM entries (unchanged), so direct-provider and OpenRouter/DigitalOcean pickers keep offering them. -
uv run pytest tests/sdk/llm/test_model_list.pypasses, includingtest_openhands_models_all_have_provider_listandtest_verified_lists_keep_two_latest_versions_per_line. - A saved profile using
openhands/glm-5.3from a pre-fix build still loads after upgrading (no migration error); ifopenhands/glm-5.3was removed from the list, such a profile's next LLM call surfaces the proxy's invalid-model error as before (the list is data only; no runtime allowlist behavior change is added or removed). -
GET /llm/models/verifiedon an agent-server running the fixed build no longer offers the removed GLM models under theopenhandsprovider, demonstrated with the route response.
- Lingua principale
- Python
- Stelle
- 1.4k
- Fork
- 797
- Merge medio
- 1g 17h
- PR unite (30g)
- 354
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenHands/software-agent-sdk
-
[Bug]: `list_directory` reports a complete listing as truncated when a directory has exactly 500 entriesForse già presa @balabommablock-cpu l’ha presa 29 giorni fa. Apertabug priority:low ready-for-dev
Difficoltà 2/5 1-3 ore Idoneità per principianti 87/100
OpenHands/software-agent-sdk#6133 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Command hook that exits 1 is treated as blocking when its stdout is a JSON `deny` or `continue: false`Forse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug priority:low ready-for-dev
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
OpenHands/software-agent-sdk#6116 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: TypeScript GET-with-body requests remain pending after a truncated responseForse già presa @BlueRaddish l’ha presa 34 giorni fa. Apertabug priority:low ready-for-dev
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
OpenHands/software-agent-sdk#6059 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Document whether `prompt_tokens` includes `cache_read_tokens` in accumulated token usageForse già presa @Jaxon1216 l’ha presa 36 giorni fa. Apertapriority:low ready-for-dev
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
OpenHands/software-agent-sdk#5975 ·
I maintainer di solito rispondono entro 1 giorno
-
priority:low
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
OpenHands/software-agent-sdk#5708 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di OpenHands/software-agent-sdk
Issue simili
-
[Bug]: reme CLI crashes when the running server used a relative config pathForse già presa @nurlanmnn l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
agentscope-ai/ReMe#770 ·
I maintainer di solito rispondono entro 1 giorno
-
Pi: paused model calls are reported as "not signed in" when the model's provider comes from an extensionForse già presa @balcsida l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
microsoft/TokenEconomizer#288 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 67/100
sickn33/agentic-awesome-skills#2437 ·
I maintainer di solito rispondono entro 1 giorno
-
site-bug triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ethereum/consensus-specs#5846 ·
I maintainer di solito rispondono entro 1 giorno