[DO NOT MERGE YET] feat(ui): unify settings with form extension#1996
[DO NOT MERGE YET] feat(ui): unify settings with form extension#1996PetrBulanek wants to merge 4 commits intomainfrom
Conversation
Summary of ChangesHello @PetrBulanek, 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 architectural enhancement by integrating agent settings directly into the existing Form extension. The primary goal is to streamline the configuration process by deprecating the standalone Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. 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 is a significant feature enhancement that unifies the agent settings mechanism with the Form extension. It introduces a new settings_form demand, deprecates the old settings extension, and provides a backward-compatibility layer for a smooth transition. The changes are comprehensive, touching the SDK schemas and types, the UI provider for agent demands, and the settings components themselves. A new checkbox_group form field type has been added, complete with UI components and validation. The documentation has also been updated with deprecation notices and a migration guide.
My review finds the implementation to be robust and well-thought-out. The backward compatibility logic is sound, and the refactoring of UI components to use the new form-based settings structure is clean. I have one suggestion to improve the user experience when displaying submitted checkbox group values.
apps/agentstack-ui/src/modules/messages/components/MessageFormResponse.tsx
Show resolved
Hide resolved
|
@jjeliga will look into Python code. |
apps/agentstack-ui/src/modules/runs/contexts/agent-demands/build-fulfillments.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: Petr Bulánek <bulanek.petr@gmail.com>
Signed-off-by: Petr Bulánek <bulanek.petr@gmail.com>
Signed-off-by: Petr Bulánek <bulanek.petr@gmail.com>
fc67cec to
8f868f2
Compare
Signed-off-by: Petr Bulánek <bulanek.petr@gmail.com>
Summary
Unifies settings with the Form extension by adding settings_form, updating the UI to render settings from form demands with legacy fallback, and tightening fulfillment routing so only the demanded extension is fulfilled. Adds checkbox group support in form schemas/UI, new validation for required groups, and docs updates with deprecation and migration guidance for legacy settings.
Notice: Python SDK parity is still pending. We still need to implement settings_form support and legacy settings deprecation/migration behavior in the Python SDK. @jezekra1
Linked Issues
Closes: #1863
Documentation
If this PR adds new feature or changes existing. Make sure documentation is adjusted accordingly. If the docs is not needed, please explain why.