Point tududi AI assistant at the local Ollama
tududi speaks the OpenAI chat completions API for its daily brief and task/project insights, so it can use the Ollama box directly instead of a hosted provider -- nothing about the task list leaves the network. LLM_API_KEY has to be set even though Ollama ignores it; without a key the generation endpoints answer 503 and the UI shows a not-configured state. It is a secret so the value can be swapped for a real one if the provider ever changes. gemma4:e4b was checked against the JSON-only replies these features parse and answered correctly in about five seconds. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
dde8b17fc4
commit
92ec6ea1be
@@ -48,6 +48,19 @@ spec:
|
||||
key: session-secret
|
||||
- name: TZ
|
||||
value: America/Los_Angeles
|
||||
# AI assistant (daily brief, task/project insights). tududi speaks
|
||||
# the OpenAI chat completions API, so it points straight at the
|
||||
# Ollama box; /v1 is required. A key must be set even though Ollama
|
||||
# ignores it -- without one the endpoints answer 503.
|
||||
- name: LLM_BASE_URL
|
||||
value: http://192.168.1.191:11434/v1
|
||||
- name: LLM_MODEL
|
||||
value: gemma4:e4b
|
||||
- name: LLM_API_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: tududi
|
||||
key: llm-api-key
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 3002
|
||||
|
||||
Reference in New Issue
Block a user