fix(tests): separate Copilot model IDs from wire models (#1647)

* fix(tests): separate Copilot model IDs from wire models

* fix(tests): inspect parsed reference import diagnostics
This commit is contained in:
Ysopwnable
2026-10-11 06:52:45 +08:00
committed by GitHub
parent 60fbb2f06e
commit b09dd333ab
3 changed files with 39 additions and 4 deletions
+7
View File
@@ -153,6 +153,13 @@ listed after the table because its connector is not one of these files:
For GitHub Copilot CLI 1.0.95, `gpt-4.1` model metadata can block ordinary
chat with REA's full input-schema profile before sending a model request
(`compaction_static_context_blocked`; [#1554](https://github.com/morluto/rea/issues/1554)).
For the native offline OpenAI-compatible BYOK adapter, full-profile chat and
analysis also passed with a distinct `COPILOT_PROVIDER_MODEL_ID` such as
`rea-gpt-4.1`, `COPILOT_PROVIDER_WIRE_MODEL=gpt-4.1`, and that distinct ID selected
through `copilot --model rea-gpt-4.1`. The local fixture requested
`COPILOT_PROVIDER_MAX_PROMPT_TOKENS=1000000`; configure the limit supported by
your backend. This keeps every full schema and the actual wire model intact.
It does not establish the effective client budget or fix the built-in-ID path.
The existing compact profile passed native chat and analysis with the complete
tool inventory on Linux using a loopback model fixture. After setup, add
`"REA_MCP_INPUT_SCHEMA_PROFILE": "compact"` to the `env` object of the