mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix linting error
This commit is contained in:
parent
96a840e6cc
commit
06a66bb20a
1 changed files with 2 additions and 1 deletions
|
@ -3906,7 +3906,8 @@ async def atext_completion(
|
||||||
): ## CACHING SCENARIO
|
): ## CACHING SCENARIO
|
||||||
if isinstance(init_response, dict):
|
if isinstance(init_response, dict):
|
||||||
response = TextCompletionResponse(**init_response)
|
response = TextCompletionResponse(**init_response)
|
||||||
response = init_response
|
else:
|
||||||
|
response = init_response
|
||||||
elif asyncio.iscoroutine(init_response):
|
elif asyncio.iscoroutine(init_response):
|
||||||
response = await init_response
|
response = await init_response
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue