Skip to content

Pi provider list omits channels configured through /login - CC Switch

Quick fix

The Pi /login channels report remains open. No verified solution is available; read-only display in CC Switch is only a proposal.

Error output
当前 Pi Provider 同步只读取 `~/.pi/agent/models.json` 的 `providers` 节点,因此通过 `/login` 配置的内置 Provider 不会出现在 CC Switch 中。
English translation

Pi Provider sync currently reads only the `providers` node in `~/.pi/agent/models.json`, so built-in providers configured through `/login` do not appear in CC Switch.

According to the report, CC Switch syncs Pi providers only from the providers node in ~/.pi/agent/models.json. Pi stores credentials for built-in providers configured through /login in ~/.pi/agent/auth.json. If models.json does not explicitly override a provider, it will not appear in the CC Switch list. The report uses deepseek and kimi-coding as examples and states that Pi can still use the authenticated channels normally.

This report concerns CC Switch's Pi provider list and remains open. The author requests reading additional configuration: display /login channels as read-only entries while Pi continues to manage credentials; prioritize editable configurations in models.json for matching IDs; and remove read-only entries after /logout. These are proposals. The original post provides no implemented or verified fix.

  1. Check whether your setup matches the report: a channel is configured through /login in Pi, its credentials are stored in ~/.pi/agent/auth.json, and ~/.pi/agent/models.json does not explicitly override that provider. This step only confirms the symptom.

  2. The original post provides no verified solution. Follow issue #6799 for updates. Read-only display of /login providers is only a proposal and should not be treated as an available fix.

ToolCC Switch
Version3.20.0(报告受影响版本)
PlatformsmacOS

This page is distilled from 1 real issues

(No FAQ yet)

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.