Skip to content

Conversation

@dvyukov
Copy link
Collaborator

@dvyukov dvyukov commented Jan 26, 2026

Handle LLM tool input token overflow by removing the last tool reply,
and replacing it with an order to answer right now.
I've seen an LLM tool went into too deap research and in the end
just overflowed input tokens. It could provide at least some answer instead.

@dvyukov dvyukov force-pushed the dvyukov-aflow-token-overflow branch from 6877b3e to 315dbe9 Compare January 26, 2026 17:09
Handle LLM tool input token overflow by removing the last tool reply,
and replacing it with an order to answer right now.
I've seen an LLM tool went into too deap research and in the end
just overflowed input tokens. It could provide at least some answer instead.
@dvyukov dvyukov force-pushed the dvyukov-aflow-token-overflow branch from 315dbe9 to 0c1620d Compare January 26, 2026 17:17
@dvyukov dvyukov enabled auto-merge January 26, 2026 17:18
@dvyukov dvyukov added the AI patching Feature requests and bugs related to AI-based kernel bug fix generation. label Jan 26, 2026
@dvyukov dvyukov added this pull request to the merge queue Jan 27, 2026
Merged via the queue into google:master with commit 43e1df1 Jan 27, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI patching Feature requests and bugs related to AI-based kernel bug fix generation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants