Skip to content

Response trimming, filtering and context control #181

Description

@toby

Many of the responses from the API are very large and eat valuable context window. We should think through strategies on how to give the model options for smaller results. That might be *_small tools that return trimmed results or possibly the option for the model to pass in a nested set of keys to select.

Activity

  1. JanProvaznik commented on Apr 9, 2025

    @JanProvaznik

    This blocks a use case of using the GH mcp with GH copilot agent mode, which I'd expect to integrate well.

    Example of what happens now:
    I give GHC Agent mode in vscode the GH mcp server, ask it for summarizing issues with a label, it queries github, receives 200k tokens as a response, everything else falls out of the context window and it forgets what is it doing.

  2. rbao2018 commented on Apr 22, 2025

    @rbao2018

    mark👀

  3. changed the title [-]Response trimming options[/-] [+]Response trimming, filtering & context management[/+] on Apr 23, 2025
  4. changed the title [-]Response trimming, filtering & context management[/-] [+]Response trimming, filtering and context control[/+] on Apr 23, 2025
  5. deleted a comment from D1M1TR10S on Apr 23, 2025
  6. github-actions commented on Aug 14, 2025

    @github-actions
    Contributor

    This issue is stale because it has been open for 60 days with no activity. Leave a comment to avoid closing this issue in 10 days.

  7. github-actions commented on Oct 28, 2025

    @github-actions
    Contributor

    This issue was closed because it has been inactive for 60 days since being marked as stale.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions