GOOSE_CLI_SHOW_THINKING not working for DeepSeek model through OpenRouter
- Lenguaje dominante
- Rust
- Estrellas
- 54.2k
- Forks
- 6.2k
- Merge medio
- 3 d 4 h
- PR fusionados (30 d)
- 240
Descripción
**Describe the bug**
As the title says, after setting GOOSE_CLI_SHOW_THINKING=1 and then starting a session with DeepSeek V4 Flash 0731 (through OpenRouter), I do not see the thinking tokens in the CLI. I confirmed that the this model exposes reasoning tokens as navigating to the same session in the Goose Desktop App shows the "thinking" toggle which when clicked shows the reasoning tokens that are missing in the CLI.
---
**To Reproduce**
Steps to reproduce the behavior:
1. Start TTY and do export GOOSE_CLI_SHOW_THINKING=1
2. (Optional) goose configure in terminal and set your provider and model to open router -> DeepSeek V4 Flash 0731
3. Run goose session in the terminal and ask a question
---
**Expected behavior**
I should be able to see the same tokens that I see in the GUI in the terminal as well.
---
**Please provide the following information**
- **OS & Arch:** Fedora 44
- **Interface:** CLI
- **Version:** 1.45
- **Extensions enabled:** None
- **Provider & Model:** DeepSeek V4 Flash 0731 (through OpenRouter)
Guía de contribución
Línea de trabajo
Busca el código que gestiona la salida de la CLI, probablemente en un módulo como `cli/src/output.rs` o `cli/src/session.rs`. Busca la variable de entorno `GOOSE_CLI_SHOW_THINKING` y cómo controla la visualización de los tokens de razonamiento. Compara el manejo de tokens de la CLI con la implementación de la aplicación de escritorio para ver dónde difiere el análisis del flujo de DeepSeek/OpenRouter. Ejecuta la CLI con depuración para rastrear el flujo de tokens.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rust, shell
- Área
- ai, cli
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Activo
- Claridad
- Bien especificado
- Aptitud para principiantes
- 65/100