makecindy / makecindy/cindy

支持在选择模型时自定义对话上下文 token 上限

Open
#4,463 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

**提交人**: JINJIA XU
**客户端版本**: 0.1.79

---

希望在选择对话模型时,允许用户按 token 数设置本次对话的上下文上限,并根据当前模型支持的最小值和最大值进行选择。

这个能力可以让长对话保留更多历史内容,减少因为上下文受限而难以继续归纳的情况;对于拆分后的短多轮对话,也可以选择较小的上下文上限,从而减少不必要的 token 消耗。未主动调整时,希望继续使用现有默认行为。
---
## 提交时的任务环境

仅代表提交时快照,不一定是故障环境。OS 来自提交客户端本机,不含 SSH 远端主机;Harness / 模型来自当前任务。与运行环境无关的反馈可忽略本段。
**OS**: win32 x64 (10.0.26200)
**Harness**: Claude Code
**Model ID**: ` chatgpt/gpt-5.6-luna `
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

No files or tests are named in the issue. Start by locating the model-selection entry point and the code that determines the conversation context limit, then trace how model limits are exposed and applied. Done means users can choose a valid per-conversation token limit within the selected model's bounds, while unchanged selections retain the current default behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.