Skip to content

fix: devui issues - #243

Merged
xavidop merged 2 commits into
mainfrom
investigate/issues-183-184-185
Jul 5, 2026
Merged

fix: devui issues#243
xavidop merged 2 commits into
mainfrom
investigate/issues-183-184-185

Conversation

@xavidop

@xavidop xavidop commented Jul 5, 2026

Copy link
Copy Markdown
Collaborator

Description

Fix devui issues

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Code refactoring
  • Performance improvement
  • Test improvements
  • CI/CD improvements

Related Issue

fixes:

  1. [BUG] Generate should have its own telemetry span #185
  2. [Dev UI] Unable to use prompts in runner #184
  3. [Dev UI] Models do not show configuration options in playground #183

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • All existing tests pass

Checklist

  • My code follows the project's code style guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Documentation

  • README updated
  • Plugin documentation updated
  • API documentation updated
  • Sample code updated

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

Copy link
Copy Markdown

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 support for input and output schemas in models and prompts, including a new Picoschema utility to parse compact schema dialects from .prompt frontmatter. It also exposes custom generation options in ModelInfo across multiple model plugins to enable configuration rendering in the Dev UI, and wraps the high-level generation process in a dedicated 'generate' span for improved trace nesting. Feedback on these changes suggests enhancing the @nullable detection in SchemaUtils to also inspect getter methods, and making the frontmatter parsing in DotPrompt more robust by wrapping individual field conversions in separate try-catch blocks.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread core/src/main/java/com/google/genkit/core/SchemaUtils.java
Comment thread genkit/src/main/java/com/google/genkit/prompt/DotPrompt.java
@xavidop
xavidop merged commit 1492a8a into main Jul 5, 2026
12 checks passed
@xavidop
xavidop deleted the investigate/issues-183-184-185 branch July 5, 2026 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant