[H-337] Fix Captain provider runtime and knowledge flow (#61)

* fix(H-337): configure Captain provider runtime

* fix(captain): make knowledge rebuild atomic

* fix(captain): scope retrieval provider failures

---------

Co-authored-by: Rogee <rogee@ipao.vip>
This commit is contained in:
Rogee
2026-08-20 14:46:01 +08:00
committed by GitHub
co-authored by rogee
parent 3d9817c9f5
commit 60ad320e8d
23 changed files with 713 additions and 112 deletions
+7
View File
@@ -22,6 +22,13 @@ GOCHAT_ENV=development
GOCHAT_SERVER_MODE=debug
GOCHAT_JWT_SECRET=gochat_quickstart_change_me_minimum_32_chars
# Optional Captain/Copilot runtime provider. Secrets stay in this ignored .env
# and are never persisted to installation_configs. Leave all three blank to
# keep AI generation disabled. Separate embeddings require the third value.
GOCHAT_COPILOT_PROVIDER_CONFIG=
GOCHAT_COPILOT_CHAT_API_KEY=
GOCHAT_COPILOT_EMBEDDING_API_KEY=
# Search
MEILI_MASTER_KEY=gochat_dev
GOCHAT_SEARCH_API_KEY=gochat_dev