Copilot CLI ACP mode ignores fusionTier=high and uses Standard routing
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
The report identifies copilot --acp, session/new, session/prompt, and the fusionTier setting, but names no source files or tests. Start by tracing how ACP sessions select a model and how the CLI applies the configured Fusion tier; compare that route with the -p path. Done means ACP honors the configured tier or clearly reports the limitation, with coverage for the observed High routing behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
With fusionTier set to high, a copilot -p run routes the request through HydraFusion (session.fusion_resolved, syntheticModel: "hydrafusion", a solver plus judge cascade). The same prompt sent through copilot --acp is routed by auto_v2 instead (session.auto_mode_resolved, routingMethod: "auto_v2", one model). No session.fusion_* events appear, so the configured tier has no effect.
This is the runtime counterpart to #5354. That issue covers ACP not advertising Fusion or a tier option, and explicitly did not test which backend auto executes. This report shows what actually executes.
Environment
- Copilot CLI 1.0.116 (
copilot --version→GitHub Copilot CLI 1.0.116.), Windows 11 x64, installed withwinget install --id GitHub.Copilot --exact, auto-update disabled during tests - An individual plan on which Fusion Standard, High and Max are all available (all three verified in
-pmode on the same machine and account, minutes apart) - ACP clients: (a) a minimal stdio JSON-RPC client; (b) T3 Code 0.1.11 as a full ACP host. The results were the same.
Steps to reproduce
copilot config fusionTier high(confirm withcopilot config fusionTier→high)- Reference run (
-p):copilot -p "<PROMPT>" --model fusion --max-ai-credits 30 --output-format json --no-custom-instructions --disable-builtin-mcps --no-ask-user - ACP run: start
copilot --acp --model fusion --max-ai-credits 30in an empty test repository and send only these three requests. Nosession/set_config_option, nosession/set_mode.{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":1, "clientInfo":{"name":"acp-repro","version":"0.0.1"}, "clientCapabilities":{"fs":{"readTextFile":false,"writeTextFile":false},"terminal":false, "_meta":{"github.com/copilot":{"events":["assistant.turn_start","assistant.idle","session.idle", "session.model_change","session.auto_mode_resolved","session.fusion_route_started", "session.fusion_resolved","session.fusion_completed","assistant.fusion_phase_completed", "session.usage_checkpoint"]}}}}} {"jsonrpc":"2.0","id":2,"method":"session/new","params":{"cwd":"<path-to-empty-test-repo>","mcpServers":[]}} {"jsonrpc":"2.0","id":3,"method":"session/prompt","params":{"sessionId":"<sessionId from id 2>","prompt":[{"type":"text","text":"<PROMPT>"}]}}session/newreturnsmodels.currentModelId: "auto".
<PROMPT> (synthetic, identical in both runs):
Do not call any tools. In at most 6 lines: identify the bug in this JavaScript and give a corrected one-line version. function avg(a){ return a.reduce((s,x)=>s+x) / a.length; } Consider empty arrays and arrays of numeric strings.
Expected
The ACP session routes the request the same way the -p run does for the same configured tier, or the CLI states that fusionTier does not apply to ACP sessions.
Actual: sanitized telemetry
Reference -p run, fusionTier=high:
{"type":"session.fusion_resolved","data":{"syntheticModel":"hydrafusion","policy":"standard",
"policyVersion":"hydrafusion_v4_2026-11-10","pattern":"cascade",
"ruleId":"cascade_sol61_medium_luna6_high_opus55_medium",
"primaryModel":"gpt-6.1-sol","judgeModel":"gpt-6-luna","repairModel":"claude-opus-5.5",
"scores":{"reasoning":0.4192,"codeGen":0.3831,"debugging":0.437,"toolUse":0.03}}}
It was followed by assistant.fusion_phase_completed for primary (gpt-6.1-sol) and judge (gpt-6-luna, verdict accept), then session.fusion_completed. (The policy: "standard" label on a High run matches #5457; this report does not rely on that field.)
ACP run, same setting and prompt: event sequence session.auto_mode_resolved → assistant.turn_start → session.usage_checkpoint → assistant.idle → session.idle. No session.fusion_* events.
{"type":"session.auto_mode_resolved","data":{"chosenModel":"gpt-6.1-terra",
"selectionReason":"Copilot Fusion selected GPT-6.1 Terra since the task has medium complexity.",
"categoryScores":{"code_gen":0.3831,"reasoning":0.4192,"tool_use":0.03,"debugging":0.437},
"candidateModels":["gpt-6.1-terra"],"routingMethod":"auto_v2","fallback":false,
"availableModels":["gpt-6.1-terra"],"hasImage":false}}
The session usage was a single model call. The session.usage_checkpoint reported totalPremiumRequests: 1.
Confirmed vs inferred
Experimentally confirmed (CLI 1.0.116):
-pwithfusionTier=highroutes through HydraFusion (cascade), as above.-pwithfusionTier=standardroutes throughauto_v2, and that event carries"autoTier":"balance".-pwithfusionTier=maxroutes throughsyntheticModel: "hydrafusion-max"(policy: "max").- ACP with
fusionTier=highroutes throughauto_v2with noautoTierfield and nosession.fusion_*events: once with the minimal client and once with T3 Code (a freshcopilot --acpprocess started after the setting was changed). - The routing classifier's scores are identical in the
-pHigh run and the ACP run (reasoning 0.4192, debugging 0.437, code_gen 0.3831, tool_use 0.03). The same task was classified the same way, but only-ptook the HydraFusion path. - In ACP
configOptions, themodelselect lists two options with value"auto". Aftersession/set_config_option {configId:"model", value:"auto"},reasoning_effortdisappears and no tier or routing-profile option is advertised (consistent with #5354). fusionTieris user-scope only:copilot config --repo fusionTier highand--localare rejected. 1.0.116 has no--fusion-tierflag (see also #5290).--auto-tier/COPILOT_AUTO_TIERselect onlyauto-type routing profiles (efficiency, balance, intelligence).
Inferred, not demonstrated:
- That ACP sessions do not read
fusionTierat all. They might read it but have it overridden. Only the routing outcome was observed. - Fusion Max over ACP was not tested. This report makes no claim about Max in ACP.
- Each ACP observation is based on one run per client. The
-pand ACP results were consistent with each other, and the identical classifier scores make chance routing variance an unlikely explanation.
Why the ACP client is not responsible
- The minimal client sends only
initialize,session/newandsession/prompt. It changes no model, mode or configuration option. - T3 Code additionally sends
session/set_config_option {configId:"model", value:"auto"}at session start. Reproducing that call alone producessession.model_change {source:"sdk", previousModel:"auto", newModel:"auto", reasoningEffort:null}, which is a no-op for routing. Both clients produced the sameauto_v2routing. - The same machine, account and setting produce HydraFusion routing in
-pmode immediately before and after the ACP runs.
Requested (any one would resolve this)
- Honor the configured
fusionTierin ACP sessions, exactly as in-pand interactive mode. - Expose Fusion tier selection through ACP configuration options while the model is Auto (e.g. a
selectwithstandard/high/max), so ACP clients can choose the tier per session. This would also resolve #5354. - Provide a supported launch argument or environment variable (e.g. the documented
--fusion-tier, orCOPILOT_FUSION_TIER) that ACP hosts can pass percopilot --acpprocess.
If tier selection is intentionally unsupported over ACP, please document that limitation and the supported alternative.
- Ngôn ngữ chính
- Python
- Star
- 11.5k
- Fork
- 2k
- Merge trung bình
- 6 giờ 34 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/copilot-cli
-
area:plugins
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
github/copilot-cli#5567 ·
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
github/copilot-cli#5489 ·
-
Built-in functions.view returns no content for large files despite documenting automatic truncationĐang mởarea:tools
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/copilot-cli#5476 ·
-
triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 74/100
github/copilot-cli#5377 ·
-
area:platform-windows area:tools
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 74/100
github/copilot-cli#5340 ·
Tất cả issue của github/copilot-cli
Issue tương tự
-
marketing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Status: Triage Suggestion
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
GTNewHorizons/GT-New-Horizons-Modpack#27957 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Suggestion]: NoParrotĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
collabnix/awesome-mcp-lists#515 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Look-ahead bias via resample('1min').interpolate(method='time') in CCIStrategy and ReinforcedQuickieĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
documentation good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày