Skip to content

v0.4.2 - OpenAI Provider Fix

Choose a tag to compare

@ebowwa ebowwa released this 21 Aug 19:28
· 26 commits to main since this release

🐛 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.2

Testing

The fix has been verified with comprehensive tests included in test_openai_fix_v0.4.2.py

Links

Full Changelog: v0.4.1...v0.4.2