forked from phoenix/litellm-mirror
fix(main.py): route openai calls to /completion when text_completion is True
This commit is contained in:
parent
93c5625dc6
commit
9cc104eb03
3 changed files with 149 additions and 93 deletions
|
@ -1576,6 +1576,7 @@ class OpenAITextCompletion(BaseLLM):
|
|||
response = openai_client.completions.create(**data) # type: ignore
|
||||
|
||||
response_json = response.model_dump()
|
||||
|
||||
## LOGGING
|
||||
logging_obj.post_call(
|
||||
input=prompt,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue