opencode-backed seats get a bare model id the agent does not advertise

Aperta
#76 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
shell
Ambito
backend

Direzione di ricerca

Start with invoke-acpx.sh, where MODEL is resolved, and inspect how select-panel.py --agents assigns models. The report says registry model_id must remain bare for refresh matching and DeepSeek proxy routing, while an opencode agent needs an advertised provider-prefixed id. Add a regression test that a seat given glm-5.3-flash launches with opencode-go/glm-5.3-flash.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The deepseek seat in the tight preset fails every run: the selector hands it a bare registry model_id, and the opencode-backed agent only accepts provider-prefixed ids.

[acpx] error: RUNTIME Cannot apply --model "glm-5.3-flash": the ACP agent did not advertise that model.
Available models: ... opencode-go/glm-5.3, opencode-go/glm-5.3-flash, ... opencode/glm-5.3-flash-free, ...

Seen 2026-10-29 on /debate:run tight in STRML/autodream: select-panel.py assigned deepseek -> glm-5.3-flash (glm53flash, provider zai, no transport), and the seat exited 1, so the panel ran 3 of 4 seats.

Rewriting model_id in ~/.claude/debate-models.json is not the fix. refresh-models.py matches registry entries by model_id, so a prefixed id would stop matching Artificial Analysis rows and the next refresh would add a duplicate. The DeepSeek entries carry transport: proxy and route through the cc-ds4 proxy, where the bare id is correct.

What would fix it, one of:

Option Where
Translate at dispatch: for an opencode-backed agent, map a bare id to the advertised one (<provider prefix>/<id>), preferring the opencode-go/ route invoke-acpx.sh, where MODEL is resolved
Teach the selector which ids an agent advertises, and only assign those select-panel.py --agents feasibility

A regression test: a seat on an opencode agent, given glm-5.3-flash, launches with opencode-go/glm-5.3-flash.

Lingua principale
Shell
Stelle
10
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di STRML/cc-debate

Tutte le issue di STRML/cc-debate

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.