|
1 | 1 |
|
| 2 | +## [1.1.1] - 2025-08-11 |
| 3 | + |
| 4 | +### Added |
| 5 | + |
| 6 | +#### Model Client Enhancements |
| 7 | +- **OpenAI Client**: |
| 8 | + - Full multimodal support for vision models (GPT-4o, GPT-4o-mini, O1, O1-mini) |
| 9 | + - Image generation capabilities via DALL-E integration (both legacy and new tools API) |
| 10 | + - Support for local images, URLs, and base64 encoded images |
| 11 | + - Reasoning model support (O1, O3) with effort configuration |
| 12 | + - Migrated to Response API for better feature support |
| 13 | + - Comprehensive streaming support for both sync and async operations |
| 14 | + |
| 15 | +- **Ollama Client**: |
| 16 | + - Enhanced streaming support with proper async/sync handling |
| 17 | + - Chat API support alongside existing Generate API |
| 18 | + - GPT-OSS model integration for local reasoning capabilities |
| 19 | + - Improved error handling and connection management |
| 20 | + - Support for thinking/reasoning output extraction |
| 21 | + |
| 22 | +#### Core Features |
| 23 | +- **GeneratorOutput**: |
| 24 | + - Added `save_images()` method for automatic image saving with format conversion |
| 25 | + - Support for multiple image formats (PNG, JPG, JPEG, WEBP, GIF, BMP) |
| 26 | + - Added `images` field for multimodal responses |
| 27 | + - Enhanced streaming response handling |
| 28 | + |
| 29 | +- **Memory (ConversationMemory)**: |
| 30 | + - Added `clear()` method for memory management |
| 31 | + - Improved prompt rendering for chat history |
| 32 | + - Better handling of nested prompts |
| 33 | + |
| 34 | +#### Documentation & Examples |
| 35 | +- Comprehensive Ollama integration guide with tutorials |
| 36 | +- OpenAI integration documentation with multimodal examples |
| 37 | +- New notebooks: `ollama_models.ipynb`, `openai_integration.ipynb` |
| 38 | +- Tutorial scripts for both Ollama and OpenAI in `tutorials/models/` |
| 39 | +- Multimodal integration tutorial |
| 40 | + |
| 41 | +### Improved |
| 42 | + |
| 43 | +#### Runner & Agent |
| 44 | +- **Runner**: |
| 45 | + - Enhanced error handling for `acall()`, `call()`, and streaming operations |
| 46 | + - Added cancellation logic for better control flow |
| 47 | + - Refactored `astream()` to reduce code redundancy |
| 48 | + - Improved generator input handling |
| 49 | + - Better error propagation and debugging information |
| 50 | + |
| 51 | +- **Agent**: |
| 52 | + - More robust error handling and recovery |
| 53 | + - Updated prompts for better clarity |
| 54 | + - Fixed nested prompt support issues |
| 55 | + - Improved JSON output formatting and parsing |
| 56 | + |
| 57 | +#### Output Parsing |
| 58 | +- JSON output parser now automatically handles JSON wrapped in markdown code blocks |
| 59 | +- Better handling of malformed JSON responses |
| 60 | +- Improved error messages for parsing failures |
| 61 | + |
| 62 | +#### Testing |
| 63 | +- Comprehensive tests for image saving functionality |
| 64 | +- Enhanced Ollama client tests with streaming support |
| 65 | +- Expanded OpenAI client tests for multimodal features |
| 66 | +- Memory component tests for new functionality |
| 67 | +- Runner tests for error handling scenarios |
| 68 | + |
| 69 | +### Fixed |
| 70 | +- Fixed nested prompt support by removing parentheses in agent task descriptions |
| 71 | +- Resolved streaming response handling issues in async contexts |
| 72 | +- Fixed memory rendering issues with complex conversation histories |
| 73 | +- Corrected JSON output parser for various edge cases |
| 74 | +- Fixed connection handling in Ollama client |
| 75 | + |
| 76 | +### Dependencies |
| 77 | +- Updated project dependencies for better compatibility |
| 78 | +- Added support for latest OpenAI SDK features |
| 79 | + |
2 | 80 | ## [1.0.5] - Release Date TBD |
3 | 81 |
|
4 | 82 | # Added |
|
0 commit comments