Add thinking indicator and fix input visibility

- LLM progress indicator: animated status bar ('✦ LLM is weaving the
  narrative ✦') with rotating dots, shown during processing, hidden on
  completion. Disabled input shows 'LLM is thinking...' placeholder.
- Fix input not visible: added 'height: 1fr' to TabbedContent so the PLAY
  tab and its input widget fill available vertical space.
- Replace @work(thread=True) with threading.Thread for reliable worker
  execution across all environments (headless, test, TUI).
This commit is contained in:
Dejvino
2026-06-25 12:18:56 +02:00
parent 4b9078d41f
commit 7f69bf6349
2 changed files with 68 additions and 23 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
{
"llm": {
"model": "ollama/llama3.1",
"api_key": null,
"api_base": null,
"model": "openai/gpt-4o-mini",
"api_key": "not-needed",
"api_base": "http://localhost:8080/v1",
"temperature": 0.8
}
}