Skip to content

[Feat] Expose/allow configuration of github.copilot.chat.virtualTools.threshold in Eclipse Copilot #449

Description

The Copilot chat integration currently fails when the virtual tool budget exceeds the default threshold, throwing:

“You may not include more than 128 tools in your request.”

This seems to be controlled by the internal setting github.copilot.chat.virtualTools.threshold, which is available in VS Code but not exposed in the Eclipse Copilot experience.

Problem:
• In large agent/chat sessions, the number of virtual tools can exceed the default limit.
• There is no visible way in Eclipse to lower or tune the threshold.
• This makes Copilot unusable in larger workspaces or when many tools are available.

Expected behavior:
• Allow users to configure github.copilot.chat.virtualTools.threshold from Eclipse preferences or a supported config mechanism.
• Or expose a simpler user-facing setting such as “Maximum virtual tools / tool budget.”
• Ideally, this should be adjustable without requiring undocumented internal settings.

Use case:
• Large projects with many tools or context providers.
• Users working in Eclipse who need to keep Copilot requests under the hard limit without being blocked by a fixed internal threshold.

Additional notes:
• The setting appears to be hidden/internal and not discoverable in the Eclipse UI.
• Having a supported configuration path would make the behavior predictable and reduce failures in real-world large-workspace usage.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions