Skip to content

v0.12.0

Compare
Choose a tag to compare
@futurisold futurisold released this 01 Jun 17:46
· 30 commits to main since this release

SymbolicAI v0.12.0 Release Notes

πŸŽ‰ Major New Features

Google Gemini Support

  • NEW: Added full support for Google Gemini models (gemini-2.5-pro-preview-05-06, gemini-2.5-flash-preview-05-20)
  • NEW: Gemini reasoning engine with thinking trace support
  • NEW: Multi-modal support for Gemini (images, videos, audio, documents)
  • NEW: Token counting and cost estimation for Gemini models

OpenAI Search Engine

  • NEW: Native OpenAI search capabilities with citation support
  • NEW: Interface('openai_search') for web search with AI responses
  • NEW: Configurable search context size and user location parameters
  • NEW: Automatic citation extraction and formatting

Enhanced Function/Tool Calling

  • IMPROVED: Universal function calling support across OpenAI, Claude, and Gemini
  • NEW: Consistent metadata format for function calls across all engines
  • NEW: Better error handling and multiple tool call detection

πŸ”§ Significant Improvements

Metadata Tracking & Cost Estimation

  • NEW: MetadataTracker component for detailed usage tracking
  • NEW: RuntimeInfo utility for cost estimation and analytics
  • NEW: Per-engine token counting and API call tracking
  • IMPROVED: Better metadata aggregation across multiple engine calls

Engine Enhancements

  • IMPROVED: Enhanced Claude reasoning engine with better thinking trace support
  • IMPROVED: Updated model support for Claude 4.0 and Sonnet 4.0
  • IMPROVED: Better streaming support across all engines
  • IMPROVED: Consistent error handling with CustomUserWarning

Vision & Media Processing

  • IMPROVED: Enhanced image processing across all vision-capable models
  • NEW: Frame extraction support for video content
  • IMPROVED: Better handling of media patterns in prompts

πŸ› Bug Fixes

Core Fixes

  • FIXED: Token truncation issues across different engines
  • FIXED: Raw input processing for all engine types
  • FIXED: Response format handling for JSON outputs
  • FIXED: Self-prompting functionality across engines

Engine-Specific Fixes

  • FIXED: Claude streaming response collection
  • FIXED: OpenAI tool call argument parsing
  • FIXED: Deepseek response format handling
  • FIXED: Vision pattern removal in prompts

πŸ”„ Breaking Changes

Deprecated Features

  • REMOVED: Legacy experimental engines (Bard wrapper, GPT fine-tuner, etc.)
  • REMOVED: Old completion-based OpenAI engine
  • CHANGED: Standardized engine initialization patterns

API Changes

  • CHANGED: Thinking configuration format for Claude (simplified structure)
  • CHANGED: Consistent error handling across all engines
  • CHANGED: Engine name property now required for all engines

πŸ“š Documentation & Testing

Documentation Updates

  • UPDATED: Comprehensive engine documentation with examples
  • NEW: Cost estimation and metadata tracking examples
  • UPDATED: Search engine configuration guides
  • NEW: Multi-modal content processing examples

Testing Improvements

  • NEW: Mandatory test markers for critical functionality
  • IMPROVED: Engine-specific test coverage
  • NEW: Function calling tests across all supported engines
  • IMPROVED: Vision processing test coverage

πŸ”§ Developer Experience

Configuration

  • NEW: Simplified engine configuration patterns
  • IMPROVED: Better error messages for missing API keys
  • NEW: Engine-specific timeout and retry parameters

Utilities

  • NEW: RuntimeInfo for usage analytics
  • NEW: Enhanced prompt registry with custom delimiters
  • IMPROVED: Better file handling and media processing utilities

πŸ“‹ Dependencies

  • ADDED: google-genai>=1.16.1 for Gemini support
  • UPDATED: Various dependency versions for compatibility

πŸš€ Performance

  • IMPROVED: Better token counting accuracy where supported
  • IMPROVED: Optimized streaming response handling
  • IMPROVED: Enhanced memory usage for large media files

Note: This release focuses heavily on expanding AI model support and improving the developer experience. The most accurate documentation is always the code itself - look for the mandatory test markers for guaranteed functionality.

Upgrade Notes:

  • Update your configuration for any Claude thinking configurations
  • Review engine-specific documentation for new capabilities
  • Consider migrating to the new metadata tracking system for cost monitoring

Full Changelog: v0.11.0...v0.12.0