fix(main.py): pass in openrouter as custom provider for openai client call

Fixes https://github.com/BerriAI/litellm/issues/4414
This commit is contained in:
Krrish Dholakia 2024-06-28 21:26:22 -07:00
parent d0c89ddbe3
commit d10912beeb
2 changed files with 4 additions and 3 deletions

View file

@ -1828,6 +1828,7 @@ def completion(
logging_obj=logging,
acompletion=acompletion,
timeout=timeout, # type: ignore
custom_llm_provider="openrouter",
)
## LOGGING
logging.post_call(