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_

貢獻指南

開啟貢獻指南

研究方向

先使用 --context=long_context 和 /config contextTier long_context 重現問題,然後使用 /context 比較所選模型的 context。追蹤 CLI 的 context tier 設定及其傳遞至主要工作階段和已派送子代理的流程;當啟動時和工作階段內的設定都選取要求的 long-context tier 時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。