Test: BYOK models keep working when more than 128 tools are enabled
Maintainers usually reply within 1 day
@osortega is already working on this.
Since Oct 5, 2026.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- testing-qa
Research direction
Use the attached sample, which configures an MCP server with 150 tools, and follow the five manual test steps in the issue. Start by configuring a BYOK model and opening the sample folder; verify the response, warning visibility and Configure Tools destination, then stop the server and confirm a new session shows no warning.
Written by the indexing model from the issue text.
Description
Refs: #339184
- anyOS
Complexity: 2
Authors: @vritant24
BYOK models in Copilot agent sessions used to fail when more than 128 tools were enabled. Now the extra tools are dropped and a warning is shown.
Setup
- Have a BYOK model configured (Chat: Manage Language Models).
- Unzip the attached sample and open its folder. It adds an MCP server with 150 tools and enables
chat.agentHost.byokModels.enabled. Requiresnode.
Test
- In a new Copilot agent session, pick your BYOK model and send a message.
- Verify the response succeeds and shows the warning "The model only supports 128 tools, N tools were not provided to the model. Configure Tools".
- Verify the warning stays visible after the response completes (not inside Completed N steps).
- Click Configure Tools. Verify Customizations opens to Tools.
- Stop the
many-toolsserver and start a new session. Verify no warning appears.
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 44.1k
- Avg merge
- 9h 26m
- Merged PRs (30d)
- 654
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/vscode
-
chat-customizations
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
microsoft/vscode#339900 · 1 comment ·
Maintainers usually reply within 1 day
-
# [copilot] convertToApiChatMessage silently drops Document content parts — PDF attachments never reach LanguageModelChatProvider extensionsPossibly taken @vritant24 claimed this 18 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
microsoft/vscode#336694 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Native MDM ignores documented object-form plugin marketplacesPossibly taken @rwoll claimed this 19 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
microsoft/vscode#333816 · 1 assignee ·
Maintainers usually reply within 1 day
-
Markdown preview emits duplicate heading ids when a heading matches a generated suffixPossibly taken @VaggelisGian claimed this 42 days ago. Openstale triage-needed
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
All issues in microsoft/vscode
Similar issues
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
github/docs#46222 · 1 comment ·
Maintainers usually reply within 1 day
-
agent-ready area: config area: skills type: chore upstream: brain-kit
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
enhancement priority:low ready-for-dev
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
bug escritorio mapa
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
marcosferr/reporte-ciudadano#4 · 1 comment ·
-
area: material/sort gemini-triaged needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
angular/components#33933 ·
Maintainers usually reply within 1 day