github genkit-ai/genkit genkit-cli@1.42.0
Genkit CLI and Dev UI 1.42.0

5 hours ago

CLI

no changes

Developer UI

New features

  • OpenTelemetry log messages are now visible in the Dev UI. Structured log records emitted by your app show up in the Logs panel, with each record's attributes previewed inline. Stay tunes for next JS/Go releases to start seeing actual logs.
  • Errors are labeled with their reported status. The error callout now prefixes a failed action with the canonical status the runtime returned, so a rejected request reads differently from a backend outage (for example Invalid Argument: at least one message is required in generate request).
  • Agent runner now supports a session ID in AgentInit.
  • Agent runner shows a custom patch error indicator. When a customPatch fails to apply, the runner surfaces an icon and tooltip, and resets state for the next turn.

Fixes

  • Prose renders alongside data parts. A message that mixes text and data parts now renders both in order, instead of dropping the surrounding text.
  • Numeric model config values are sent as numbers. Numeric options such as temperature and topK now reach the runtime as numbers rather than strings, so strongly typed runtimes no longer reject them; stepping on float fields is fixed too.
  • "Open in prompt runner" works for render spans. It now resolves rendered prompts in agent traces, and the button is hidden when no target action can be found.
  • Tool responses show in the prompt runner. Tool responses now render as tool action cards for both pending and resumed actions.

Don't miss a new genkit release

NewReleases is sending notifications on new releases.