Files
openchamber/packages/docs/content/docs/zh-cn/providers.mdx
T
Bohdan Triapitsyn d6f0f2f23c feat(settings): retire the third-party plugin integrations
Settings → Integrations offered install cards for the Claude Code and
Cursor provider plugins. They are gone: the section, its plugin catalog,
its own i18n module and tests, the settings search entries, the page
keywords, and the two sprite icons only it used. The page now holds the
built-in GitHub and Linear cards, so it is hidden in VS Code where neither
applies; its title and description live in the settings dictionaries.

Docs follow: the Integrations page in every locale now documents GitHub
(pointing at its own page) and Linear in full, the GitHub page names
Settings → Integrations as the place to connect and covers linking an
issue or PR to a message, and the Providers pages no longer promise Claude
or Cursor subscriptions.

Claude-Session: https://claude.ai/code/session_01HB9wdLQoZX2vfyDjwv6Rso
2026-09-04 23:34:15 +03:00

51 lines
2.0 KiB
Plaintext

---
title: 提供商、模型与智能体
description: 连接 AI 提供商、选择模型并设置智能体。
---
# 提供商、模型与智能体
在 OpenChamber 能做任何事之前,它至少需要连接一个 AI 提供商。本页介绍如何连接提供商、选择模型以及定制智能体。
## 连接提供商
1. 打开 **Settings → Providers**。
2. 打开 **Add provider** 菜单,选择一个尚未连接的提供商。
3. 根据提供商的不同,通过以下两种方式之一登录:
- **API 密钥** — 粘贴你的密钥并保存。
- **登录(设备流程)** — OpenChamber 会显示一个链接和一个短码。打开链接,输入短码并批准。OpenChamber 会自行完成连接。
当提供商显示为已连接时,它的模型就会在聊天中可用。
要断开连接,请打开该提供商并选择移除其登录。
## 选择模型
你在工作的地方选择模型:
- 在聊天中,使用消息栏中的模型选择器为该会话设置提供商和模型
- 按智能体设置默认模型(见下文)
## 设置智能体
智能体是一个命名的配置 — 包括一个模型、一种个性,以及它被允许做的事。
1. 打开 **Settings → Agents**。
2. 选择一个智能体,或创建一个新的。
3. 编辑以下任意项:
- **description** — 该智能体的用途
- **model** — 它的默认模型
- **temperature** — 它的回答有多有创造性
- **prompt** — 它始终遵循的固定指令
- **tool rules** — 它可以使用哪些工具
## 你的登录信息存储在哪里
提供商登录信息由 OpenCode 存储,而非 OpenChamber,因此它们与 OpenCode CLI 共享。如果你在多个地方设置了同一个提供商,最具体的设置会生效:按项目的设置会覆盖你的个人设置。
## 相关内容
- [集成](/zh-cn/integrations/) — 连接 GitHub 和 Linear
- [MCP Servers](/zh-cn/mcp/) — 为智能体添加额外工具
- [用量与配额](/zh-cn/usage/) — 跟踪你已使用的量