Genkit Python SDK v0.11.0 Improves Error Handling, Video Integration, and Model Configuration
The Genkit Python SDK v0.11.0 enhances developer experience by preventing loss of model replies during certain `generate()` failures, allowing retries from successful tool rounds. It introduces a new asynchronous `Veo` model for video generation via polling operations, treating video as a background job. Additionally, the update unifies provider HTTP errors into a single `GenkitError` type, simplifying error handling and retries across different AI models. Developers can now also use typed model references, ensuring configuration compatibility and better auto-completion for `generate()` calls.
- →Telemetry export no longer stalls generate() or dumps httpx tracebacks onto the shared genkit start TTY (#5978)
- →The Python reflection server no longer sends a wildcard Access-Control-Allow-Origin (#6198)
- →OpenAI gpt-image-1 no longer sends response_format (the endpoint rejects it). DALL-E still defaults to b64_json (#6167)
- →OpenAI streaming now requests and populates token usage (include_usage) (#6229)
- →Responses-API-only ids (gpt-5.1-codex, o3-pro, …) are gone from the OpenAI chat catalog. This plugin speaks Chat Completions (#6223)
Fixes (6) ›
- Telemetry export no longer stalls generate() or dumps httpx tracebacks onto the shared genkit start TTY (#5978)
- The Python reflection server no longer sends a wildcard Access-Control-Allow-Origin (#6198)
- OpenAI gpt-image-1 no longer sends response_format (the endpoint rejects it). DALL-E still defaults to b64_json (#6167)
- OpenAI streaming now requests and populates token usage (include_usage) (#6229)
- Responses-API-only ids (gpt-5.1-codex, o3-pro, …) are gone from the OpenAI chat catalog. This plugin speaks Chat Completions (#6223)
Whisper honours config={'translate': True} and routes to the translations API. gpt-4o-transcribe rejects translate as INVALID_ARGUMENT (#6168)
https://github.com/genkit-ai/genkit/releases/tag/py/v0.11.0
Related releases
- Genkit Go v1.13.1 Retracts v1.13.0 and Corrects A2UI Plugin Path Genkit Releases ·
- Genkit Go v1.13.0 Adds Resilient AI Agents & A2UI Interactive UI Plugin Preview Genkit Releases ·
- Google's Python GenAI SDK adds support for Gemini 3.8 Flash model Gemini Python SDK Releases ·
- Introducing Gemini 3.8 Flash and 3.8 Flash Cyber AI Models Gemini Blog ·
- Google launches Fairwind Program for AI-powered cyber defense Gemini Blog ·
- MrBeast Partners with Gemini to Use AI for Extreme Challenges and Logistics Gemini Blog ·