Skip to content

Reduce context usage for create_or_update_file tool #2028

@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: #2027

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