makecindy / makecindy/cindy

自定义供应商的模型无法修改上下文窗口,默认值锁死 200K

Open
#564 1 comment 1 reaction 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2.7k
Forks
401
Avg merge
21h 48m
Merged PRs (30d)
776

Description

**提交人**: 用户3367
**客户端版本**: 0.1.14

---

## 现象
在「设置 → 模型供应商」接入自定义供应商(DeepSeek,Base URL `https://api.deepseek.com/anthropic`,模型 `deepseek-v4-pro` / `deepseek-v4-flash`)后,模型列表行右侧的上下文窗口固定显示 **200K**,点击无任何反应、不可编辑;「编辑自定义供应商」弹窗里只有 基础 URL / API 密钥 / 模型 / 请求头,**没有**上下文窗口或 max context 字段。

## 复现步骤
1. 设置 → 模型供应商 → 编辑/新建自定义供应商,填入 URL、密钥,添加模型并保存;
2. 回到列表页,点击模型行右侧的 `200K`;
3. 打开「编辑自定义供应商」弹窗,查找上下文相关字段。

## 实际行为
列表页的 `200K` 是只读标签,点击无反应;编辑弹窗中无上下文字段。手动添加的模型被锁死在默认 200K——该值是 Cindy 给自定义模型的默认值,与模型/供应商真实上限无关。两个 UI 层面都没有任何入口可调整上下文窗口,导致模型真实上下文 ≠ 200K 时,长上下文能力被无故限制,截断与计费行为也不可控。

## 期望行为
自定义供应商的每个模型应允许设置上下文窗口:在编辑弹窗中增加上下文字段,或让列表页的 `200K` 变为可编辑。理想情况下能按模型自动取真实上限,至少应支持手动覆盖,以匹配模型实际能力。
---
**OS**: win32 x64 (10.0.26200)
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

Start from 设置 → 模型供应商 and trace the custom-provider model editor and the model-list context-window display, especially where the default 200K value is assigned. Confirm how the model metadata is stored and used for context limits, then verify that a custom model can save and display an overridden window and that the value affects long-context handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
56/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.