-
Notifications
You must be signed in to change notification settings - Fork 5.5k
[exec] add include-plan-tool flag and print it nicely #3461
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codex Review: Here are some suggestions.
Reply with @codex fix comments
to fix any unresolved comments.
About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".
6be639a
to
b2f0292
Compare
685c2ee
to
6095a4d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
|
||
/// Whether to include the plan tool in the conversation. | ||
#[arg(long = "include-plan-tool", default_value_t = false)] | ||
pub include_plan_tool: bool, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have a good sense of whether we should default to disabled here, but I guess so? @gpeal , thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For default exec mode, we want to leave it disabled, and only turn it on in certain cases when we want to see what plans the model creates
6095a4d
to
cc6f1fd
Compare
cc6f1fd
to
ce357c8
Compare
Summary
Sometimes in exec runs, we want to allow the model to use the
update_plan
tool, but that's not easily configurable. This change adds a feature flag for this, and formats the output so it's human-readableTest Plan