fix linting error

This commit is contained in:
Ishaan Jaff 2025-03-10 13:57:50 -07:00
parent 96a840e6cc
commit 06a66bb20a

View file

@ -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: