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