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.
To test:
Then in the inspector, expand the Configuration on the left and make the timeouts absurdly large.
Then hit Connect and List Tools like normal and choose the
functions.exec_command
tool.Then for the
cmd
, use:and maybe reduce
yield_time_ms
to something relatively short, like4000
:You should see only three numbers print (because the timeout is
4000
) and make note of thesessionId
, which is likely0
if this is your first tool call:Now change to the
functions.write_stdin
tool and changeyield_time_ms
to something like5000
, but most importantly, changesession_id
to match whatever you got back from the previous request:Now the response let the tool run for
yield_time_ms
and include new output from that timeperiod, though if there is room inmax_output_tokens
, it will include more of the backlog:I'm also trying the following in my
config.toml
after doingcargo build
in/Users/mbolin/code/codex4/codex-rs
: