๐Ÿ“ข Genkit JS 1.26.0 is out! ๐Ÿš€

This release brings major improvements to security and reliability:

๐Ÿ›ก๏ธ Model Armor Support
Protect your LLM applications with the new modelArmor middleware in @genkit-ai/google-cloud. It integrates Google Cloud Model Armor to sanitize user prompts and model responses, filtering out PII, jailbreaks, and more.

Learn more.

๐Ÿ”„ Durable Streaming (Experimental)
Build resilient flows that persist state across client disconnects!
- Reconnect support: Clients can drop and rejoin the same stream.
- Persistence adapters: Built-in support for Firestore and Realtime Database (via @genkit-ai/firebase).
- Framework integration: Works with expressHandler and Next.js appRoute.

We are looking for feedback on this experimental feature, so please try it out and let us know what you think! Learn more.

๐Ÿ› ๏ธ Dev UI Improvements
- Reasoning Tokens: Now displaying token counts for reasoning models.
- Multipart Tool Support: Better visualization for multipart tool responses.

Check out the full changelog here: https://github.com/firebase/genkit/releases/tag/v1.26.0
GitHub
What's Changed

feat(js/plugins/google-cloud): implemented model armor middleware by @pavelgj in #3904
feat(js): durable streaming for flows (experimental) by @pavelgj in #3770
feat(js/ai): add...
Release Genkit JS 1.26.0 ยท firebase/genkit
Genkit
Integrations with Google Cloud Platform services, including telemetry and Model Armor.
Google Cloud Plugin
Was this page helpful?