v0.12.40
Breaking Changes📦 llamaindexView on GitHub →
⚠ 1 breaking✨ 4 features🐛 6 fixes🔧 7 symbols
Summary
This release introduces workflow validation for StopEvents, adds Measure Space tools, and provides several bug fixes for OpenAI, Anthropic, and Google GenAI integrations.
⚠️ Breaking Changes
- The 'reasoning_effort' keyword argument in OpenAIResponses has been moved into the 'reasoning_options' dictionary. Update code passing 'reasoning_effort' directly to use the new dictionary structure.
Migration Steps
- Update OpenAI integration code to wrap 'reasoning_effort' inside a 'reasoning_options' dictionary.
✨ New Features
- Added StopEvent step validation in workflows to ensure only one step handles the event.
- Added support for passing static AWS credentials to Anthropic Bedrock.
- Introduced new weather, climate, air quality, and geocoding tools from Measure Space.
- Added headers handling to BasicMCPClient in MCP tools.
🐛 Bug Fixes
- Added compatibility check for 'tool_required' LLM argument.
- Implemented batch size validation (limit 96) for Cohere embeddings API.
- Fixed tool configuration handling for Anthropic when no tools are provided.
- Corrected function calling mode to use proper 'auto' mode for Google GenAI.
- Resolved field typing issues in OpenAI LLM API.
- Fixed broken 'reasoning_effort' parameter in OpenAIResponses.
🔧 Affected Symbols
StopEventOpenAIResponsesBasicMCPClientAnthropicBedrockCohereEmbeddingGoogleGenAIMeasureSpaceToolSpec