Skip to content

feat(dev-ui): add ui component metadata#5430

Open
MichaelDoyle wants to merge 1 commit into
mainfrom
feat/dev-ui-metadata
Open

feat(dev-ui): add ui component metadata#5430
MichaelDoyle wants to merge 1 commit into
mainfrom
feat/dev-ui-metadata

Conversation

@MichaelDoyle
Copy link
Copy Markdown
Contributor

Adds initial metadata fields for Dev UI, and maps safetySettings and fallback middleware (models) to their respective ui components.

A small schema update to expose StatusNameSchema was also included.

Checklist (if applicable):

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces UI-specific schema annotations and metadata keys (GENKIT_UI_METADATA and GENKIT_UI_WIDGETS) to support standard and customized UI widgets, such as model lists and safety settings. It updates various schemas (like Gemini config, fallback options, and retry options) to use these annotations and replaces generic string schemas with StatusNameSchema for status validation. There are no review comments, so I have no feedback to provide.

@MichaelDoyle MichaelDoyle force-pushed the feat/dev-ui-metadata branch from 7e5241c to 3770235 Compare May 31, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant