Delete TODO.md

This commit is contained in:
2026-04-30 13:43:39 +02:00
parent c47824e33a
commit c628a740b0
-25
View File
@@ -1,25 +0,0 @@
# TODO
## AI-powered auto-translation of non-Swedish/English messages
### Config file: ~/.hircrc
```
# AI translation settings
ai_type=ollama # ollama, vllm, or openai
ai_host=localhost
ai_port=11434
ai_key= # API key (required for openai)
ai_model=llama3
ai_target_lang=english # translate into this language
ai_skip_langs=swedish,english # don't translate these
```
### Implementation plan
- Parse ~/.hircrc on startup
- Detect messages that aren't in skip_langs (heuristic: non-Latin chars, or let the LLM decide)
- Show original message immediately
- Fork a child process that calls the AI API (OpenAI-compatible /v1/chat/completions endpoint — works for ollama, vllm, and openai)
- Prompt: "Translate to {target_lang}. Reply with only the translation: {text}"
- When child returns, insert translated line in italic below original in the scrollback
- Only visible locally, not sent to channel
- 1-5 sec delay is acceptable