Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
docs: explain shared Codex history when reusing a login (makecindy#15814
)

* docs: explain shared Codex history when reusing a login

Signed-off-by: nothingyuancando <1579035512@qq.com>

* docs: clarify login selection and history verification

Signed-off-by: nothingyuancando <1579035512@qq.com>

* docs: select OpenAI before linking a Codex login

Signed-off-by: nothingyuancando <1579035512@qq.com>

* ci: retry Windows mobile checks after share test failure

Signed-off-by: nothingyuancando <1579035512@qq.com>

---------

Signed-off-by: nothingyuancando <1579035512@qq.com>
  • Loading branch information
nothingyuancando authored Dec 5, 2026
commit ebe393463cada4be0297434f73d18fc3e02a1b04
26 changes: 24 additions & 2 deletions apps/docs/src/content/docs/en/models/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,16 @@ sources:
- "apps/desktop/src/renderer/components/settings/ProviderConnectionDialog.tsx"
- "packages/model-providers/src/providerPresetOAuth.ts"
- "apps/desktop/src/main/local-model-runtime/localConnectDetect.ts"
verified: 2026-12-02
verifiedRevision: 7a8d18b075a118e4c82581007b34f2eb9711ef92
- "apps/desktop/src/renderer/components/settings/ProvidersSection.tsx"
- "apps/desktop/src/renderer/components/settings/SubscriptionAccountsSection.tsx"
- "apps/desktop/src/renderer/components/settings/ExistingSubscriptionLogins.tsx"
- "apps/desktop/src/main/subscription-accounts/"
- "apps/desktop/src/renderer/i18n/locales/en/common.json"
- "apps/desktop/src/renderer/i18n/locales/zh-CN/common.json"
- "packages/maker-core/src/agents/codex/env-builder.ts"
- "packages/maker-core/src/agents/codex/index.ts"
verified: 2026-12-05
verifiedRevision: fa2df5c3dbcf90b2db7ef52b13ebbc13d68885d7
---

Open **Settings → Model Providers** and choose a source you have access to.
Expand All @@ -20,3 +28,17 @@ Open **Settings → Model Providers** and choose a source you have access to.
- **Local or self-hosted service** — Start the service and load a model first. Choose the detected service or add a custom connection using the endpoint and model ID it actually serves.

Return to a new task, pick a model from this connection and send “Reply with OK.” If the connection is saved but the model is missing, check that the model is enabled and supported by the task's selected engine. [Troubleshoot model errors](/docs/en/troubleshooting/overview/)

## Reuse an existing Codex login

If Codex is already signed in on this computer, open **Settings → Model Providers**, select **OpenAI** in the provider list, then open **More ways to add an account** beside the subscription account add button and choose **Connect an existing login…**. Review the account and directory before connecting. If you want a different configuration directory, first select **Choose another folder…** and review the resulting account and directory. Select **Connect** only for the intended account; connecting closes the dialog.

This shares the selected account's configuration with your CLI; it does not just copy credentials once. On execution paths without a separate history directory, tasks created by Cindy may write to the same Codex history directory and appear in native Codex Recents. A task's working directory and its history storage directory are different: a remote workspace or a different project directory does not guarantee isolated history.

If a task appears in native Codex Recents:

1. Check how the subscription account was connected: an explicitly linked login and an account retained after an upgrade are different cases. If you cannot recall, say so rather than inferring the connection method from the account name.
2. Use a new task without sensitive content to check for new history writes. If that task appears in native Codex Recents, it confirms a new shared-history write. Its absence does not prove isolation: with multiple subscription accounts, Cindy may assign the task to another account according to the pool strategy. Connecting a login adds it to the pool; it does not force new tasks to use that account.
3. If you want to reuse the login with isolated history, state that requirement in your feedback. Do not manually delete or move Codex state databases, session files or the entire configuration directory to clear Recents: that can affect native tasks and resuming older sessions.

Include the Cindy version, connection history and whether a new task appears. Credentials, full directory paths and conversation content are not needed.
26 changes: 24 additions & 2 deletions apps/docs/src/content/docs/zh-cn/models/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,16 @@ sources:
- "apps/desktop/src/renderer/components/settings/ProviderConnectionDialog.tsx"
- "packages/model-providers/src/providerPresetOAuth.ts"
- "apps/desktop/src/main/local-model-runtime/localConnectDetect.ts"
verified: 2026-12-02
verifiedRevision: 7a8d18b075a118e4c82581007b34f2eb9711ef92
- "apps/desktop/src/renderer/components/settings/ProvidersSection.tsx"
- "apps/desktop/src/renderer/components/settings/SubscriptionAccountsSection.tsx"
- "apps/desktop/src/renderer/components/settings/ExistingSubscriptionLogins.tsx"
- "apps/desktop/src/main/subscription-accounts/"
- "apps/desktop/src/renderer/i18n/locales/en/common.json"
- "apps/desktop/src/renderer/i18n/locales/zh-CN/common.json"
- "packages/maker-core/src/agents/codex/env-builder.ts"
- "packages/maker-core/src/agents/codex/index.ts"
verified: 2026-12-05
verifiedRevision: fa2df5c3dbcf90b2db7ef52b13ebbc13d68885d7
---

打开 **设置 → 模型供应商**,选择你已经有权限使用的来源。
Expand All @@ -20,3 +28,17 @@ verifiedRevision: 7a8d18b075a118e4c82581007b34f2eb9711ef92
- **本机或自托管服务**:先启动模型服务并加载模型。在向导里选择检测到的服务,或点 **没找到?添加自定义**,填写服务实际提供的接口地址和模型 ID。

回到新任务,用模型选择器选择刚连接的模型,发送「回复一个‘好’」。如果连接已保存但模型未出现,检查它是否已启用,以及当前任务选择的引擎是否支持该模型。[模型错误排查](/docs/zh-cn/troubleshooting/overview/)

## 复用已有的 Codex 登录

如果这台电脑的 Codex 已经登录,可以打开 **设置 → 模型供应商**,在供应商列表中先选择 **OpenAI**,再打开订阅账号添加按钮旁的 **更多添加方式**,选择 **连接已有登录…**。连接前先核对弹窗中的账号和目录。若要使用其他配置目录,先点 **选择其他目录…**,再核对选出的账号和目录;确认是目标账号后才点 **连接**,连接后弹窗会关闭。

这会让 Cindy 与终端共用所选账号的配置,不是只复制一次登录凭据。在没有单独历史目录的执行路径中,Cindy 创建的任务可能写入同一个 Codex 历史目录,并出现在原生 Codex 的最近会话(Recents)中。任务的工作目录与历史存储目录不同;使用远程工作区或换一个项目目录,并不保证历史隔离。

如果发现任务出现在原生 Recents 中:

1. 先核对订阅账号的接入方式,区分手动连接已有登录与升级后沿用的账号;无法确认时如实说明,不仅凭账号名判断。
2. 用一条不含敏感内容的新任务检查新增写入。若该任务出现在原生 Codex Recents 中,可以确认新增历史仍在共用;未出现则不能证明已隔离:存在多个订阅账号时,Cindy 可能按账号池策略将任务分配给其他账号。连接已有登录只是将其加入账号池,不会强制新任务使用该账号。
3. 若希望复用登录但隔离历史,请在反馈中说明这一需求。不要为清除 Recents 手动删除或搬移 Codex 状态库、会话文件或整个配置目录,以免影响原生任务和旧会话恢复。

反馈只需包含 Cindy 版本、接入经过和新任务是否可见;无需提交凭据、完整目录或会话正文。