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:
@@ -48,6 +48,19 @@ spec:
|
|||||||
key: session-secret
|
key: session-secret
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: America/Los_Angeles
|
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:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 3002
|
containerPort: 3002
|
||||||
|
|||||||
@@ -13,3 +13,7 @@ stringData:
|
|||||||
user-email: you@example.com
|
user-email: you@example.com
|
||||||
user-password: CHANGE-ME
|
user-password: CHANGE-ME
|
||||||
session-secret: CHANGE-ME
|
session-secret: CHANGE-ME
|
||||||
|
# The AI assistant requires a key to be set even when the provider ignores
|
||||||
|
# it (a local Ollama does). Any non-empty value works there; replace with a
|
||||||
|
# real key if you ever point LLM_BASE_URL at a paid provider.
|
||||||
|
llm-api-key: ollama
|
||||||
|
|||||||
Reference in New Issue
Block a user