-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
OpenAI Audio API take api_key, api_base, api_type, api_version, organization as aparameters. Most of these parameters were ignored until the PR #369. However, this PR is incomplete as it ignored api_version, organization. As a result, we still get "Resource not found" error.
Fix is to ensure api_version, organization parameter are not ignored.
To Reproduce
- Was using both OpenAI APIs and Auzre OpenAI APIs with in same module
- Was using Chat completions from Azure OpenAI and Audio Whisper transcribe from OpenAI
- The parameter overrides is supposed to allow such parallel usage of it, but ignorance of api_version, organization hinders it
Code snippets
No response
OS
Ubuntu 22.04.2 LTS (of Windows 11 WSL)
Python version
Python v3.9.14
Library version
openai-python v0.27.6
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working