github / github/copilot-cli

config option contextTier does nothing

未关闭
#3,762 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:configuration area:context-memory
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

Context Tier config option does not seem to actually impact the agent that the cli is launched with, nor any despatched sub agents; until you have manually used the model picker to select a model with long context, THEN the main session and sub agents correctly use long context

### Affected version

GitHub Copilot CLI 1.0.61.

### Steps to reproduce the behavior

Ensure previous copilot cli session was running with a model with default context window selected

Launch the cli with --context=long_context
OR
launch a session with no options and then:
/config contextTier long_context

run `/context` to see usage, the model context shows the default value (not the extended option)

### Expected behavior

launching cli with context option or setting the context tier via config changes the context tier for the model in use and crucially any despatched sub agents

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

Start by reproducing the issue with --context=long_context and /config contextTier long_context, then use /context to compare the selected model context. Trace the CLI's context-tier configuration and propagation to the main session and dispatched sub agents; done means both launch-time and in-session settings select the requested long-context tier.

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。