diff options
| author | Vladimir Glafirov <[email protected]> | 2026-03-20 18:55:22 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-03-20 12:55:22 -0500 |
| commit | 05d3e65f767360a38a508ad198df15ca3f8c2bbe (patch) | |
| tree | b2f8d6778480105d4a7319155401a823f94062e4 /packages/web/src/content/docs/zh-cn | |
| parent | 51618e9ceff1c426fa9c5e318789699d2ec24ef2 (diff) | |
| download | opencode-05d3e65f767360a38a508ad198df15ca3f8c2bbe.tar.gz opencode-05d3e65f767360a38a508ad198df15ca3f8c2bbe.zip | |
feat: enable GitLab Agent Platform with workflow model discovery (#18014)
Diffstat (limited to 'packages/web/src/content/docs/zh-cn')
| -rw-r--r-- | packages/web/src/content/docs/zh-cn/providers.mdx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/packages/web/src/content/docs/zh-cn/providers.mdx b/packages/web/src/content/docs/zh-cn/providers.mdx index 571b73024..25b7d03a4 100644 --- a/packages/web/src/content/docs/zh-cn/providers.mdx +++ b/packages/web/src/content/docs/zh-cn/providers.mdx @@ -725,7 +725,7 @@ export GITLAB_TOKEN=glpat-... :::note 你的 GitLab 管理员必须启用以下功能: -1. 为用户、群组或实例启用 [Duo Agent Platform](https://docs.gitlab.com/user/gitlab_duo/turn_on_off/) +1. 为用户、群组或实例启用 [Duo Agent Platform](https://docs.gitlab.com/user/duo_agent_platform/turn_on_off/) 2. 功能标志(通过 Rails 控制台): - `agent_platform_claude_code` - `third_party_agents_enabled` @@ -745,7 +745,7 @@ export GITLAB_TOKEN=glpat-... export GITLAB_OAUTH_CLIENT_ID=your_application_id_here ``` -更多文档请参阅 [opencode-gitlab-auth](https://www.npmjs.com/package/@gitlab/opencode-gitlab-auth) 主页。 +更多文档请参阅 [opencode-gitlab-auth](https://www.npmjs.com/package/opencode-gitlab-auth) 主页。 ##### 配置 @@ -757,11 +757,7 @@ export GITLAB_OAUTH_CLIENT_ID=your_application_id_here "provider": { "gitlab": { "options": { - "instanceUrl": "https://gitlab.com", - "featureFlags": { - "duo_agent_platform_agentic_chat": true, - "duo_agent_platform": true - } + "instanceUrl": "https://gitlab.com" } } } @@ -775,7 +771,7 @@ export GITLAB_OAUTH_CLIENT_ID=your_application_id_here ```json title="opencode.json" { "$schema": "https://opencode.ai/config.json", - "plugin": ["@gitlab/opencode-gitlab-plugin"] + "plugin": ["opencode-gitlab-plugin"] } ``` |
