Commit fff44dd
fix: OpenAI provider system_instruction parameter error (Issue #32)
- Fixed OpenAI provider failing with 'unexpected keyword argument system_instruction'
- Added parameter filtering to exclude Gemini-specific params (system_instruction, safety_settings)
- Ensures cross-provider compatibility when using unified CompletionClient
- Added test case to verify the fix works correctly
- Bumped version to 0.4.2
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent cb1d723 commit fff44dd
7 files changed
Lines changed: 539 additions & 5 deletions
File tree
- docs
- src
- providers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
3 | 10 | | |
4 | 11 | | |
5 | 12 | | |
| |||
0 commit comments