We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aac5363 commit 6b2ed34Copy full SHA for 6b2ed34
langevals_core/langevals_core/litellm_patch.py
@@ -22,7 +22,11 @@ def patched_completion(*args, **kwargs):
22
kwargs["vertex_credentials"] = os.environ["GOOGLE_APPLICATION_CREDENTIALS"]
23
24
for key, value in os.environ.items():
25
- if key.startswith("LITELLM_") and not key.startswith("LITELLM_EMBEDDINGS_"):
+ if (
26
+ key.startswith("LITELLM_")
27
+ and not key.startswith("LITELLM_EMBEDDINGS_")
28
+ and key != "LITELLM_LOG"
29
+ ):
30
kwargs[key.replace("LITELLM_", "")] = value
31
32
return _original_completion(*args, **kwargs)
0 commit comments