v0.4.2 - OpenAI Provider Fix
🐛 Bug Fix Release
This release fixes a critical issue with the OpenAI provider that was causing failures when using the unified CompletionClient.
What's Fixed
- Issue #32: OpenAI provider no longer fails with
unexpected keyword argument 'system_instruction'error - Added parameter filtering to exclude Gemini-specific parameters (
system_instruction,safety_settings) - Ensures seamless cross-provider compatibility
Installation
pip install --upgrade ai-proxy-core==0.4.2Testing
The fix has been verified with comprehensive tests included in test_openai_fix_v0.4.2.py
Links
- 📦 PyPI Package
- 🐛 Issue #32
- 💻 Commit: fff44dd
Full Changelog: v0.4.1...v0.4.2