/refine failures
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Shell
- Estrellas
- 11.2k
- Forks
- 1.9k
- Merge medio
- 14 h 16 min
- PR fusionados (30 d)
- 6
Descripción
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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Empieza por el comando /refine y sigue su solicitud interna a gpt-4o-mini, centrándote en cómo se añade reasoningEffort y cómo se gestiona turn_failed. Se considerará terminado cuando la solicitud deje de enviar la configuración no compatible y se muestre el error real en lugar de informar silenciosamente de que el texto no ha cambiado.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- azure, shell
- Área
- api, cli
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 62/100