Add isolated Gemini dictation route with native personal vocabulary

This commit is contained in:
Codex
2026-10-25 00:19:22 -07:00
parent 8746be24ce
commit 035daa177d
3 changed files with 54 additions and 1 deletions
+3 -1
View File
@@ -48,10 +48,12 @@ services:
volumes:
- ./models.yaml:/etc/litellm/models.yaml:ro
- ./render_config.py:/etc/litellm/render_config.py:ro
- ./personal_transcription.py:/etc/litellm/personal_transcription.py:ro
- /opt/litellm/personal-vocabulary.json:/etc/litellm/personal-vocabulary.json:ro
- oauth:/tokens
entrypoint: [/bin/sh, -c]
command:
- 'python /etc/litellm/render_config.py && exec litellm --config /tmp/litellm.yaml --host 0.0.0.0 --port 4000 --num_workers 1'
- 'python /etc/litellm/render_config.py && exec python /etc/litellm/personal_transcription.py --config /tmp/litellm.yaml --host 0.0.0.0 --port 4000 --num_workers 1'
healthcheck:
test: [CMD, python, -c, 'import urllib.request; urllib.request.urlopen("http://127.0.0.1:4000/health/liveliness", timeout=5)']
interval: 30s