Conversation
Summary of ChangesHello @jerop, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces a significant enhancement by adding an Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces the enter_plan_mode tool, a valuable feature for enabling a safer, read-only planning phase for the agent. The implementation is well-structured, follows existing patterns within the codebase, and is accompanied by thorough tests. The tool is also correctly gated behind the experimental.plan feature flag. I have one suggestion to improve the consistency and security of the content returned to the LLM, which will enhance predictability and prevent prompt injection.
|
Size Change: +2.98 kB (+0.01%) Total Size: 23.7 MB
ℹ️ View Unchanged
|
d26a4c4 to
263652d
Compare
enter_plan_mode tool
abhipatel12
left a comment
There was a problem hiding this comment.
LGTM with a few questions
Summary
Adds the
enter_plan_modetool, allowing the agent to switch to a restricted "Plan Mode" for researching and designing complex changes before implementation. In the initial version, we require user confirmation before switching to plan mode and we use the standard tool confirmation for this.Details
EnterPlanModeToolinpackages/core.ApprovalMode.PLANin the config when executed.config.tsto register the new tool whenexperimental.planis enabled.Related Issues
Closes #16622
How to Validate
experimental.planin settings.Pre-Merge Checklist