-
Couldn't load subscription status.
- Fork 182
ROB-2136 link tool limit to global truncation limit #987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
nherment
merged 25 commits into
master
from
ROB-2136_link_tool_limit_to_global_truncation_limit
Oct 2, 2025
Merged
Changes from 9 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
5f9af5b
feat: add ability for tool to count tokens
nherment 53945d7
feat: refactor tool.invoke() calls to use new context
nherment 8c8d14b
feat: refactor tool.invoke() calls to use new context
nherment d9808a4
feat: refactor tool.invoke() calls to use new context
nherment b6ea5bf
fix test
nherment 5b8e55a
feat: use context for new invoke arg
nherment 80bfe84
fix test
nherment d05ac95
fix test
nherment 94982af
fix test
nherment c23115d
fix test
nherment 04a2a40
prometheus token count WIP
nherment 3fa2fcf
prometheus token count
nherment d9f6702
feat: truncate logs based on token limit
nherment 34a7bb7
fix: correct message format for tool token counting
nherment 01543c0
fix: logs truncation logic
nherment 3cb77fb
chore: address PR comments
nherment fb94fa9
improvements
nherment 3187728
chore: address PR comments
nherment 1279783
Merge branch 'master' into ROB-2136_link_tool_limit_to_global_truncat…
nherment 515b33c
chore: address PR comments
nherment 9d24e9b
fix: incorrect comment regarding context window tool size limit
nherment fe92ae3
chore: address PR comments
nherment b8eda3d
Merge branch 'master' into ROB-2136_link_tool_limit_to_global_truncat…
nherment faf71ba
chore: address PR comments
nherment 150f090
chore: address PR comments
nherment File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.