Coach: Doku fuer die API-Key-Provider und das Handy, und die Image-Pruefungen in der GitLab-CI
AI_COACH.md trennt die zwei Provider-Familien (HTTPS mit Key auf dem Default-Image, Runtime im coach-Image), beschreibt Endpunkt-Regeln, Modell-Liste, Keys pro Provider samt einmaliger Migration von coach.json und die zwei Wege auf dem Handy. CHANGELOG unter Unreleased, .env.example/README/Website/SELF_HOSTING nachgezogen. .gitlab-ci.yml bekommt test:api (Suite, generierte Assets, core-loadable) und build:api-check, das beide api-Targets baut und laufen laesst: das veroeffentlichte Image hat kein SDK/codex/bwrap, bootet, und konstruiert die HTTPS-Adapter; das coach-Image meldet ein lauffaehiges SDK, /coach-auth ist coach 700.
This commit is contained in:
1 parent
7047346da1
commit
533ca2c9a4
7 files changed
+291
-26
No files matched your search
+12
-8
@@ -127,13 +127,17 @@ RP_NAME=openGym
|
||||
# VAPID_SUBJECT=mailto:you@example.com
|
||||
|
||||
# ── AI Coach (optional, off by default) ────────────────────────────────────
|
||||
# The Coach is not in the image you get by default, and it stays off even when
|
||||
# it is: an admin has to turn it on in Settings → Admin and connect a provider
|
||||
# account. An instance that never does either is byte-for-byte the same app it
|
||||
# was before the feature existed.
|
||||
# The Coach stays off until an admin turns it on in Settings → Admin and
|
||||
# connects a provider. An instance that never does is byte-for-byte the same
|
||||
# app it was before the feature existed.
|
||||
#
|
||||
# API_TARGET picks which API image gets built. `default` carries no AI runtime
|
||||
# at all — no Agent SDK, no Codex, no bubblewrap. `coach` adds them (~300 MB):
|
||||
# Anthropic, OpenAI, Gemini and any OpenAI-compatible endpoint (Ollama, LM
|
||||
# Studio, vLLM, OpenRouter…) are driven over plain HTTPS with an API key and
|
||||
# need nothing that is not already in the default image. Nothing to set here.
|
||||
#
|
||||
# API_TARGET only matters if you want the Claude Agent SDK or the Codex CLI
|
||||
# running inside the container. `default` carries no AI runtime at all — no
|
||||
# Agent SDK, no Codex, no bubblewrap. `coach` adds them (~300 MB):
|
||||
#
|
||||
# API_TARGET=coach docker compose up -d --build api
|
||||
#
|
||||
@@ -143,7 +147,7 @@ RP_NAME=openGym
|
||||
#
|
||||
# COACH_DISABLED=1
|
||||
#
|
||||
# Credentials never live here. They are encrypted into ./coach.json, or for the
|
||||
# Codex provider cached in ./coach-auth — a sibling of ./data, never inside it,
|
||||
# Credentials never live here. They are encrypted into ./data/coach.json, one
|
||||
# per provider, or for the Codex provider cached in ./coach-auth — a sibling of ./data, never inside it,
|
||||
# so a live sign-in does not ride along in the documented backup archive.
|
||||
# See docs/AI_COACH.md.
|
||||
Reference in new issue
Block a user