Copilot Fusion never routes to a local OpenAI-compatible server (vLLM) configured in providers.json
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 50/100
Rechercherichtung
Start by tracing how Fusion Standard builds its candidate models and how it handles manually configured models in providers.json with an OpenAI-compatible baseUrl. Compare that path with the working direct model selection and the local llama-server route. Done means Fusion includes qwen3.8-flash-next-local as a candidate and suitable turns reach the vLLM server.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Describe the bug
I run Qwen3.8 Flash Next with vLLM on the same machine as Copilot CLI and added it to providers.json as qwen3.8-flash-next-local. Selecting it directly works. However, Copilot Fusion Standard never considers it and every Fusion turn goes to a cloud model.
The Oct 28 changelog says Copilot CLI's local Fusion routing works with manually configured models on Linux, including Qwen3.8 Flash Next through a local OpenAI-compatible server. The Copilot Fusion docs say Fusion Standard can use this model when Copilot identifies it as qwen3.8-flash-next-local.
It should be noted that local routing appears to work on this machine, because when the same ID qwen3.8-flash-next-local is used with a GGUF model that the CLI runs itself through llama-server, Fusion appears to route to it.
Affected version
GitHub Copilot CLI 1.0.117-0
Steps to reproduce the behavior
-
Serve Qwen3.8 Flash Next with vLLM at
http://127.0.0.1:8000/v1. -
Create
providers.json:{ "providers": [ { "name": "local-vllm", "type": "openai", "baseUrl": "http://127.0.0.1:8000/v1" } ], "models": [ { "provider": "local-vllm", "id": "qwen3.8-flash-next-local", "wireModel": "nvidia/Qwen3.8-Flash-Next-FP4-Local", "maxContextWindowTokens": 262144, "autoLocal": { "capiId": "qwen3.8-flash-next-local", "maxConcurrent": 1 } } ] } -
Start the CLI with local routing enabled:
COPILOT_PROVIDERS_CONFIG=/path/to/providers.json \ COPILOT_CLI_ENABLED_FEATURE_FLAGS=AUTO_LOCAL_ROUTING,LOCAL_MODELS \ copilot --experimental -
Open
/model, selectCopilot Fusion -> Standard, and send a few simple prompts, for exampleWhat is 1 + 2?.
The outcome is that every turn goes to a cloud model. For example, session.auto_mode_resolved contains:
{ "chosenModel": "mai-code-2-flash", "availableModels": ["mai-code-2-flash"], "candidateModels": ["mai-code-2-flash"], "fallback": false }
Expected behavior
Fusion Standard offers qwen3.8-flash-next-local as a candidate and routes suitable turns to the vLLM server.
Additional context
I tried several different configurations, but in all cases, Fusion routed all turns to the cloud:
| Configuration |
|---|
Config above ("type": "openai" with autoLocal) |
"type": "local_model" with the same HTTP baseUrl and autoLocal |
Same, plus autoLocal under metadata and "modelProvider": "llama_cpp" |
| Model selected directly for one turn, then switched to Fusion Standard in the same session |
Selecting the model directly works: copilot --model local-vllm/qwen3.8-flash-next-local -p "What is 1 + 2?" answers 3, and vLLM's request counter increases by one.
Fusion Standard local routing also appears to work when using a GGUF model that the CLI runs itself with llama-server ("type": "local_model" with baseUrl pointing at the .gguf file), using the same qwen3.8-flash-next-local ID.
- Vorherrschende Sprache
- Python
- Sterne
- 11.5k
- Forks
- 2k
- Ø Merge
- 6 Std. 34 Min.
- Gemergte PRs (30 T.)
- 3
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus github/copilot-cli
-
area:plugins
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
github/copilot-cli#5567 ·
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 78/100
github/copilot-cli#5489 ·
-
Built-in functions.view returns no content for large files despite documenting automatic truncationOffenarea:tools
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
github/copilot-cli#5476 ·
-
triage
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 74/100
github/copilot-cli#5377 ·
-
area:platform-windows area:tools
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 74/100
github/copilot-cli#5340 ·
Alle Issues in github/copilot-cli
Ähnliche Issues
-
fidelity
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
backlog
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
sagemathinc/sagebrush#3434 ·
Maintainer antworten meist innerhalb von 1 Tag
-
marketing
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag
-
documentation good first issue help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
wuisabel-gif/MemWhale#576 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Status: Triage Suggestion
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
GTNewHorizons/GT-New-Horizons-Modpack#27957 ·
Maintainer antworten meist innerhalb von 1 Tag