mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
Litellm dev 02 10 2025 p2 (#8443)
* Fixed issue #8246 (#8250) * Fixed issue #8246 * Added unit tests for discard() and for remove_callback_from_list_by_object() * fix(openai.py): support dynamic passing of organization param to openai handles scenario where client-side org id is passed to openai --------- Co-authored-by: Erez Hadad <erezh@il.ibm.com>
This commit is contained in:
parent
47f46f92c8
commit
e26d7df91b
9 changed files with 112 additions and 5 deletions
|
@ -238,6 +238,7 @@ class LiteLLMProxyRequestSetup:
|
|||
return None
|
||||
for header, value in headers.items():
|
||||
if header.lower() == "openai-organization":
|
||||
verbose_logger.info(f"found openai org id: {value}, sending to llm")
|
||||
return value
|
||||
return None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue