Release v2025.11.21
·
333 commits
to main
since this release
[2025.11.21] - 2025-11-21
🐛 Fixed
- fix: IBM.py - Fixed typo in
refresh_identitymethod wheres-elf.headerswas incorrectly used instead ofself.headers - fix: AIauto.py - Fixed critical bug where
chatmethod could return a generator whenstream=False, causingAssertionErrorin providers like AI4Chat - fix: AIauto.py - Added proper handling for providers that return generators even in non-streaming mode by consuming the generator to extract the return value
✨ Added
- feat: AIauto.py - Enhanced provider failover mechanism to "peek" at the first chunk of streaming responses, allowing automatic failover to next provider if current one fails immediately
- feat: AIauto.py - Split
chatmethod into_chat_streamand_chat_non_streamhelper methods for clearer separation of streaming vs non-streaming logic
🔧 Maintenance
- refactor: AIauto.py - Improved robustness of AUTO provider to work seamlessly with all providers in webscout.Provider package
- refactor: AIauto.py - Added generator type checking and handling to prevent type mismatches between streaming and non-streaming responses