docs(v8): clarify AI force-disable and clean up AI env vars - #618
Merged
Conversation
- upgrading/80x: document that AI_ENABLED=false alone does not prevent enabling AI from the admin panel, and that AI_USES_ONLY_ENV_VARS_FOR_SOME_OPTIONS=true is required to lock it (growilabs/growi#11638) - admin-cookbook/env-vars: merge the legacy "GROWI AI" and "GROWI AI Agent" sections into one; remove the legacy assistant OPENAI_* vars that were deleted in v8.0 - admin-cookbook/env-vars: drop orphaned OPENAI_SERVICE_TYPE / OPENAI_API_KEY dead config with no readers (growilabs/growi#11651) - admin-cookbook/env-vars: add current suggest-path-agentic vars (AI_SUGGEST_PATH_AGENT_PROVIDER_OPTIONS, AI_TOOLS_SUGGEST_PATH_AGENTIC_*) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
GROWI v8.0.x のアップグレードガイドと環境変数リファレンスの AI 関連記述を、日英そろえて整理します。起点は 2 つの issue です。
AI_ENABLED=false単体では AI 機能を強制無効にできない件OPENAI_SERVICE_TYPE/OPENAI_API_KEYは dead config なので削除変更内容
admin-guide/upgrading/80x.md(ja / en)AI_ENABLEDは初期値のみで、設定解決は「環境変数 → 管理画面(DB)保存値」の順で DB が優先されるため、AI_ENABLED=falseだけでは管理画面から再有効化できてしまうことを明記。AI_USES_ONLY_ENV_VARS_FOR_SOME_OPTIONS=trueを併用する必要があることを記載([8.0.0]環境変数「AI_ENABLED=false」でAI機能を強制無効にできない growi#11638 の報告者要望に対応)。admin-guide/admin-cookbook/env-vars.md(ja / en)OPENAI_*(OPENAI_CHAT_ASSISTANT_*/OPENAI_SEARCH_ASSISTANT_*/OPENAI_THREAD_DELETION_*/OPENAI_VECTOR_STORE_FILE_DELETION_*/OPENAI_LIMIT_LEARNABLE_PAGE_COUNT_PER_ASSISTANT)を削除。OPENAI_SERVICE_TYPE/OPENAI_API_KEYを削除。現行の suggest-path-agentic はAI_PROVIDERS/AI_PROVIDER_API_KEYS/AI_ALLOWED_MODELSのみを参照し、この 2 キーはどこからも読まれない dead config のため(chore(app): remove orphaned openai:serviceType / openai:apiKey config keys growi#11651)。AI_SUGGEST_PATH_AGENT_PROVIDER_OPTIONS/AI_TOOLS_SUGGEST_PATH_AGENTIC_SEARCH_LIMIT/AI_TOOLS_SUGGEST_PATH_AGENTIC_CHILD_LISTING_LIMIT/AI_TOOLS_SUGGEST_PATH_AGENTIC_TIMEOUT_MS。確認
v8.0.0タグのconfig-definition.tsと照合済み。textlint通過。🤖 Generated with Claude Code