[feat] Add tabs to the UI, change descripiton to title only in ImageOutput#25
Merged
Kowalski1024 merged 8 commits intomainfrom Jun 9, 2025
Merged
[feat] Add tabs to the UI, change descripiton to title only in ImageOutput#25Kowalski1024 merged 8 commits intomainfrom
Kowalski1024 merged 8 commits intomainfrom
Conversation
janumiko
previously approved these changes
Jun 9, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
Adds UI tabs for model settings and tool usage, switches image output to use a title field, and introduces pagination for example prompts.
- Introduce
gr.Tabpanels for Settings and Tool Usage in the sidebar. - Rename
description→titleinImageOutputand related tool functions. - Add
EXAMPLES_PER_PAGEconstant and wire it into the example prompts component.
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/reagentai/ui/app.py | Added gr.Tab blocks and wired EXAMPLES_PER_PAGE into example prompts |
| src/reagentai/tools/image.py | Renamed image_description parameter to title and updated returns |
| src/reagentai/models/output.py | Updated ImageOutput model field from description to title |
| src/reagentai/constants.py | Added EXAMPLES_PER_PAGE and added type annotation for EXAMPLE_PROMPTS |
Comments suppressed due to low confidence (1)
src/reagentai/tools/image.py:19
- Update the Returns docstring in both
smiles_to_imageandroute_to_imageto referencetitleinstead ofdescription, and adjust the descriptive text to reflect the renamed attribute.
Returns:
janumiko
approved these changes
Jun 9, 2025
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.
No description provided.