aaif-goose / aaif-goose/goose

Desktop footer context limit ignores effective ModelConfig (GOOSE_CONTEXT_LIMIT), disagrees with compaction

Abierto
#11,115 0 comentarios 0 reacciones 2 asignados Reclamado por @DOsinga Ver en GitHub
Lenguaje dominante
Rust
Estrellas
54.2k
Forks
6.2k
Merge medio
3 d 2 h
PR fusionados (30 d)
262

Descripción

🤖

**Describe the bug**

Split from #10893. The footer denominator comes from static metadata with a hardcoded 128000 fallback (ui/desktop/src/components/ChatInput.tsx:596-627, :83) and never reads the session's effective ModelConfig, which compaction uses and which honors GOOSE_CONTEXT_LIMIT.

---

**To Reproduce**

Set GOOSE_CONTEXT_LIMIT: 1048576, start a session on a model whose static metadata says 128k: footer shows x / 128k while compaction triggers relative to 1M. Provider-agnostic.

---

**Expected behavior**

Footer and compaction read the same effective limit. Direction: expose the session's effective context_limit over ACP next to the existing usage updates; ChatInput prefers it, static chain as fallback.

Verification: with an override, footer and compaction agree; without, known models keep canonical limits.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.