Skip to content

Reduce context usage when getting issue comments using the issue_read tool #2025

@tommaso-moro

Description

@tommaso-moro

We need to use minimal type to ensure only the strictly relevant information is returned back to the model by the tool, thus optimizing context window usage. Currently, we're just sending to the model the entire payload that comes back from the GitHub API which can be quite large.

PR: #2024

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions