- Added timing and token tracking to TachikomaAgent with performance assessment
- Enhanced TachikomaComparison with case-insensitive provider matching
- Added comprehensive 'Tachikoma API Basics' section to README covering:
- Basic setup and text generation
- Multi-provider comparison patterns
- Streaming responses with real-time events
- Function calling and tool definitions
- Multimodal (vision + text) processing
- Error handling best practices
- Provider-specific features (o3 reasoning, Claude thinking mode)
- Custom configuration options
- Updated performance metrics documentation showing timing/token display for all examples
- All examples now provide detailed performance feedback after completion
- Updated TachikomaBasics to use ModelRequest/ModelResponse API
- Fixed message construction to use Message.user(content: .text(...))
- Updated response parsing to handle new AssistantContent format
- Added test_basic_api.swift for API compatibility verification
- Identified API compatibility issues across all examples
- Fixed Package.swift test target conflicts
Status: TachikomaBasics partially updated, other examples need API fixes
Next: Complete API migration for all 5 example applications
Implements 5 complete example applications showcasing Tachikoma's multi-provider AI capabilities:
🚀 TachikomaComparison - The killer demo with side-by-side provider comparison
🎓 TachikomaBasics - Getting started guide with step-by-step concepts
⚡ TachikomaStreaming - Real-time streaming with race mode and performance metrics
🤖 TachikomaAgent - AI agents with function calling (weather, calculator, file ops)
👁️ TachikomaMultimodal - Vision + text processing with image analysis
Key Features:
- Provider-agnostic code working with OpenAI, Anthropic, Ollama, Grok
- Dependency injection architecture with no hidden singletons
- Unified interface with consistent API across providers
- Environment-based configuration with auto-detection
- Interactive modes, performance measurement, and professional CLI interfaces
- Comprehensive error handling and educational guidance
SharedExampleUtils provides terminal output, provider detection, performance
measurement, and response formatting utilities used across all examples.
Complete Swift package with ArgumentParser CLI interfaces ready for
swift build and execution.