docs: Nextcloud assistant model config — occ method, current assignments

integration_openai points to LiteLLM at ai.nuclide.systems/v1.
Fixed completion=llama-3.3-70b-instruct, T2I=saia-flux (was devstral).
occ snippet for future model changes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-23 03:10:58 +02:00
parent c3c40dc07b
commit 6309286b96
+9
View File
@@ -135,6 +135,15 @@ uv run --with playwright -- python ai/mcp-gateway/ui_check.py # -> /tmp/m
**Env file writes**: the PATCH endpoint updates `model_assignments.json` and attempts to rewrite the service's `.env` file in-place. Because host paths (e.g. `/opt/stacks/karakeep/.env`) are not bind-mounted into the gateway container, `env_written` will be `false` — apply manually and `docker compose up -d --force-recreate <service>`.
**Nextcloud assistant** uses `integration_openai` app pointing at `https://ai.nuclide.systems/v1` (LiteLLM). No env file — config is in the Nextcloud DB, changed via `occ`:
```bash
# On CT 105 (192.168.1.41):
docker exec nextcloud-aio-nextcloud php occ config:app:set integration_openai default_completion_model_id --value=<model>
# Clear stale model cache after changes:
docker exec nextcloud-aio-nextcloud php occ config:app:delete integration_openai models
```
Current assignments (2026-05-23): completion=`llama-3.3-70b-instruct`, TTS=`tts-1-de`, STT=`whisper-large-v3-turbo`, T2I=`saia-flux`.
## Verified end-to-end
- `/health` 200 (no auth); `/.well-known/oauth-protected-resource` JSON (no auth).