opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Implement virtual tools feature to allow GitHub Copilot models to run with more than 128 tools

Open thesobercoder opened this issue 4 months ago • 3 comments

Currently, GitHub Copilot models are restricted to a maximum of 128 tools configured. If you have more than 128 tools configured in OpenCode, then the API calls fail. To overcome this limitation, the VSCode team implemented a virtual tool concept that automatically activates them on demand. This is a proposal to implement something similar in OpenCode so that configuring more than 128 tools in OpenCode with GitHub Copilot does not fail with an API call.

Reference from VSCode Team -

  • https://www.youtube.com/watch?v=qHl_KBUyid0
  • https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode#_agent-mode-tools

thesobercoder avatar Sep 09 '25 09:09 thesobercoder