makecindy / makecindy/cindy

自定义模型供应商的 API key 对已有会话不生效,且无任何提示(体验问题)

Open
#2,209 1 comment 0 reactions 0 assignees View on GitHub
feature
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

**提交人**: 匿名
**客户端版本**: 0.1.37

---

## 现象
在「设置 → 模型供应商」添加自定义 provider(如 DeepSeek)并填写 API key 后,已存在的会话仍然通过默认网关转发请求,不会切换到自定义 provider 的直连地址。只有**新建**的会话才会走自定义 provider。

## 复现步骤
1. 添加自定义 provider,填写 baseUrl 与 API key。
2. 在已有会话中继续对话(或重启应用后回到旧会话)。
3. 观察请求仍发往默认网关,而非自定义 provider 地址。

## 期望行为
1. 保存 key 后提示「该配置对新建会话生效」,避免用户误以为配置失败。
2. 旧会话可看到其路由状态(如标注「仍使用默认网关」)。
3. 日志或界面能直观显示当前会话实际上游地址,便于排查。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.26100)
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

Trace where custom provider settings are saved and where an existing session selects its request route. Reproduce the issue with an old session, then verify that saving the key gives a clear new-session notice, exposes the old session's route, and shows its upstream address in the UI or logs.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.