fix(patch): cherry-pick 2c1d6f8 to release/v0.30.0-preview.4-pr-19369 to patch version v0.30.0-preview.4 and create version 0.30.0-preview.5#20086
Conversation
Summary of ChangesHello @gemini-cli-robot, 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 is an automated cherry-pick to backport a fix related to tool confirmation handling. The primary goal is to enhance the robustness of the tool action system by providing a fallback mechanism for tools that might not adhere to the standard 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
|
|
Size Change: +270 B (0%) Total Size: 24.5 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Code Review
The pull request introduces a new test case and associated type definitions to handle legacy tool confirmation callbacks. The review comments suggest improvements to type safety and code clarity within the test file by avoiding unnecessary imports and explicit type assertions, ensuring better maintainability and readability. This ensures that tools without a correlationId can still be confirmed through a local onConfirm function, improving the robustness of tool action handling by providing a fallback mechanism for older tool implementations.
| MessageBusType, | ||
| IdeClient, | ||
| CoreToolCallStatus, | ||
| type SerializableConfirmationDetails, |
| rootCommand: 'ls', | ||
| rootCommands: ['ls'], | ||
| onConfirm: mockOnConfirm, | ||
| } as unknown as SerializableConfirmationDetails, |
There was a problem hiding this comment.
The configuration doc moved from docs/get-started/configuration.md to docs/reference/configuration.md on main, causing the link checker to fail.
10416ef
into
release/v0.30.0-preview.4-pr-19369
… to patch version v0.30.0-preview.4 and create version 0.30.0-preview.5 (google-gemini#20086) Co-authored-by: Sandy Tao <sandytao520@icloud.com>
This PR automatically cherry-picks commit 2c1d6f8 to patch version v0.30.0-preview.4 in the preview release to create version 0.30.0-preview.5.