turnstone/web
pyr0ball 3269aae960 fix(diagnose): add max_tokens to all LLM calls; fix reasoning card contrast
Truncation fix: call_llm() in _llm_client.py now accepts max_tokens (default
2048) and passes it in both the cf-orch task payload and the OpenAI-compat
fallback body. Hypothesizer uses max_tokens=1024 (JSON array output);
synthesizer and legacy summarize use 2048 (structured 5-section narrative).
Without this, backends use their own default (often 512 tokens), causing
mid-sentence truncation of the diagnosis output.

UI fix: reasoning card changed from bg-accent/5 border-accent/30 (opacity
modifiers on CSS variables don't compose reliably across themes) to the
callout pattern: bg-surface-raised with a solid border-l-4 border-accent.
Header label changed from text-text-dim to text-accent for visual anchoring.
Text remains text-text-primary for guaranteed contrast on both light and dark
themes.

Tracks: #56 (technical-level post-processor, filed as follow-on feature)
2026-05-27 22:23:36 -07:00
..
src fix(diagnose): add max_tokens to all LLM calls; fix reasoning card contrast 2026-05-27 22:23:36 -07:00
index.html feat: Vue 3 frontend and FastAPI REST layer 2026-05-08 16:27:59 -07:00
package-lock.json feat: Vue 3 frontend and FastAPI REST layer 2026-05-08 16:27:59 -07:00
package.json feat: Alpha milestone — corpus management, upload ingest, harvester agent 2026-05-19 07:45:58 -07:00
tsconfig.json feat: Vue 3 frontend and FastAPI REST layer 2026-05-08 16:27:59 -07:00
uno.config.ts feat: dark/light theme — CSS variables, OS preference, toggle button 2026-05-09 16:20:07 -07:00
vite.config.ts feat: Vue 3 frontend and FastAPI REST layer 2026-05-08 16:27:59 -07:00