Repository navigation
fix(core): keep a long tool result as a file and give the model its start - #321
Merged
Merged
Conversation
tjholm
added this pull request to stack #322
October 6, 2026 23:28
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
sugabots-website | 85c43c6 | Oct 08 2026, 11:25 PM |
tjholm
commented
Oct 7, 2026
tjholm
force-pushed
the
cap-tool-results
branch
from
October 7, 2026 01:03
ea13bfe to
b1a799e
Compare
tjholm
force-pushed
the
cap-tool-results
branch
from
October 7, 2026 01:09
b1a799e to
d626349
Compare
tjholm
force-pushed
the
cap-tool-results
branch
from
October 7, 2026 01:19
d626349 to
f263efd
Compare
tjholm
force-pushed
the
cap-tool-results
branch
from
October 7, 2026 02:37
f263efd to
79264eb
Compare
tjholm
force-pushed
the
cap-tool-results
branch
from
October 7, 2026 23:27
79264eb to
3b6f271
Compare
tjholm
force-pushed
the
cap-tool-results
branch
from
October 8, 2026 01:48
3b6f271 to
1def139
Compare
tjholm
force-pushed
the
cap-tool-results
branch
from
October 8, 2026 03:13
1def139 to
6627ae4
Compare
tjholm
force-pushed
the
cap-tool-results
branch
from
October 8, 2026 21:20
6627ae4 to
2c4faea
Compare
tjholm
force-pushed
the
cap-tool-results
branch
from
October 8, 2026 23:24
2c4faea to
85c43c6
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes SUGA-1956.
A tool result over 50,000 characters is kept as a thread file, and the model gets its start and the file's id to read on with
read_thread_file. Thetool_callrow still keeps the whole output. JSON, including an MCP server's one-line JSON text, is pretty-printed so the file has lines to page through.Stack created with GitHub Stacks CLI • Give Feedback 💬