/refine failures
Nessuno ha ancora preso questa issue.
- Lingua principale
- Shell
- Stelle
- 11.2k
- Fork
- 1.9k
- Merge medio
- 14h 16m
- PR unite (30g)
- 6
Descrizione
Describe the bug
Session Diagnosis
Root cause found. At 06:55:33Z , the /refine command failed with a 400 Bad Request:
"reasoning_effort "medium" was provided, but model gpt-4o-mini-2024-07-18 does not support reasoning effort"
What happened:
- /refine internally invokes gpt-4o-mini (a lightweight utility model) to rewrite your prompt into tags.
- The request incorrectly included reasoningEffort: "medium" as a parameter.
- gpt-4o-mini-2024-07-18 doesn't support the reasoning_effort parameter at all (only reasoning-capable models like o1/o3 do) — Azure OpenAI rejected the call outright with invalid_reasoning_effort .
- The call failed in 545ms, turn_failed fired, and the CLI silently fell back to "Your text was left unchanged" instead of surfacing the real error.
This is a CLI-side bug, not an environment/proxy/auth issue: the refine feature is passing a reasoning-effort setting to a model that categorically rejects it. It's unrelated to the Blue Coat proxy or credentials — the request reached the API fine and got a clean structured rejection.
Affected version
1.0.83
Steps to reproduce the behavior
No response
Expected behavior
No response
Additional context
No response
Guida per i contributori
Apri 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.
Direzione di ricerca
Parti dal comando /refine e segui la sua richiesta interna a gpt-4o-mini, concentrandoti su come viene aggiunto reasoningEffort e su come viene gestito turn_failed. Il lavoro è completato quando la richiesta non invia più l'impostazione non supportata e l'errore effettivo viene mostrato invece di segnalare silenziosamente che il testo non è cambiato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- azure, shell
- Ambito
- api, cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Attiva
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 62/100