Open
Conversation
While technically `updated_at` isn’t needed until the item has been actually updated, that makes testing the latest modification date much harder. Instead, ensure that `updated_at` always exists in the metadata.
We need to be root to copy into `/usr/local/bin` and do the `chmod`.
If the setup script didn’t enable the `-e` option, then errors encountered during setup were ignored and the setup script continued. But we want all errors to bubble up so they can be fixed by any pipeline that needs to fix them.
Same as `while_item` action, but the condition is evaluated after the actions rather than before.
Since `iterations` isn’t used before it is incremented, except in the debug statement, move it above the statement, so the statement doesn’t have to add one also.
Allow the number of max tokens to be overridden (default is 8096), so that longer responses can be received.
Ctrl-Q works to execute the full display, but Ctrl-C wasn’t working to exit the log display. This fixes it in a way such that both the full and log displays can be cleanly exited.
Make it easier to see which parameters were actually set.
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.
Adds
do_while_itemaction and--max-tokensCLI option, along with several Codex environment fixes and CLI improvements.Summary
New Features
do_while_itemaction, which executes actions at least once and then repeatedly while a condition is true. Unlikewhile_item, the condition is evaluated after the actions, so iteration is 1 on the first condition check.--max-tokensCLI option (DF_MAX_TOKENSfor env) to override the default token limit (8096), enabling longer model responses.Enhancements
while_itemto align its iteration-counting behavior withdo_while_item.Bug Fixes
--displayislog. Both the full and log displays can now be cleanly exited.-eflag, so failures are surfaced rather than ignored.setup-repo.shto/usr/local/binrequired root.pipandpythonare installed in the Codex Docker environment for repo setup scripts that expect them.updated_atis set on first run so it is always present in item metadata.