Skip to content

feat: support to reflection v2 api#124

Open
xavidop wants to merge 3 commits intomainfrom
xavier/reflection-v2-api
Open

feat: support to reflection v2 api#124
xavidop wants to merge 3 commits intomainfrom
xavier/reflection-v2-api

Conversation

@xavidop
Copy link
Copy Markdown
Collaborator

@xavidop xavidop commented Mar 27, 2026

Description

Support for Reflection V2 in Genkit Java

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

Documentation

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

Reviewer Notes

Copy link
Copy Markdown

@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 ReflectionServerV2, which enables the Genkit runtime to act as a WebSocket client for dev tools integration using JSON-RPC 2.0. The Genkit class is updated to conditionally start this server based on the GENKIT_REFLECTION_V2_SERVER environment variable. Feedback identifies a critical bug in handleCancelAction where all active actions are interrupted instead of the specific one requested, and points out an unused stream variable in handleRunAction.

@xavidop xavidop changed the title feat: support to refleciton v2 API feat: support to reflection v2 api Mar 27, 2026
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