Remove unused config fields

This commit is contained in:
Thales Maciel 2026-02-07 15:45:10 -03:00
parent bb7780c461
commit 7b1e94f6d7
2 changed files with 7 additions and 31 deletions

View file

@ -10,7 +10,7 @@ Python X11 transcription daemon that records audio, runs Whisper, logs the trans
- `xclip`
- `xdotool`
- Tray icon deps: `libappindicator3` and `gtk3` (required by `systray`)
- Python deps: `pystray`, `pillow`, `python-xlib`, `ollama`, `faster-whisper`
- Python deps: `pystray`, `pillow`, `python-xlib`, `faster-whisper`
## Python Daemon
@ -38,19 +38,14 @@ Create `~/.config/lel/config.json`:
"whisper_model": "base",
"whisper_lang": "en",
"whisper_device": "cpu",
"whisper_extra_args": "",
"record_timeout_sec": 120,
"whisper_timeout_sec": 300,
"segment_sec": 5,
"streaming": false,
"injection_backend": "clipboard",
"ai_enabled": true,
"ai_provider": "ollama",
"ai_model": "llama3.2:3b",
"ai_temperature": 0.0,
"ai_system_prompt_file": "",
"ai_base_url": "http://localhost:11434",
"ai_base_url": "http://localhost:11434/v1/chat/completions",
"ai_api_key": "",
"ai_timeout_sec": 20
}
@ -58,12 +53,11 @@ Create `~/.config/lel/config.json`:
Env overrides:
- `WHISPER_MODEL`, `WHISPER_LANG`, `WHISPER_DEVICE`, `WHISPER_EXTRA_ARGS`
- `WHISPER_MODEL`, `WHISPER_LANG`, `WHISPER_DEVICE`
- `WHISPER_FFMPEG_IN`
- `WHISPER_STREAM`, `WHISPER_SEGMENT_SEC`, `WHISPER_TIMEOUT_SEC`
- `LEL_RECORD_TIMEOUT_SEC`, `LEL_HOTKEY`, `LEL_INJECTION_BACKEND`
- `LEL_FFMPEG_PATH`
- `LEL_AI_ENABLED`, `LEL_AI_PROVIDER`, `LEL_AI_MODEL`, `LEL_AI_TEMPERATURE`, `LEL_AI_SYSTEM_PROMPT_FILE`
- `LEL_AI_ENABLED`, `LEL_AI_MODEL`, `LEL_AI_TEMPERATURE`, `LEL_AI_SYSTEM_PROMPT_FILE`
- `LEL_AI_BASE_URL`, `LEL_AI_API_KEY`, `LEL_AI_TIMEOUT_SEC`
## systemd user service
@ -87,9 +81,9 @@ Injection backends:
- `clipboard`: copy to clipboard and inject via Ctrl+V (requires `xclip` + `xdotool`)
- `injection`: type the text with simulated keypresses (requires `xdotool`)
AI providers:
AI provider:
- `ollama`: calls the local Ollama API
- Generic OpenAI-compatible chat API at `ai_base_url`
Control: