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,6 +3906,7 @@ 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)
else:
response = init_response response = init_response
elif asyncio.iscoroutine(init_response): elif asyncio.iscoroutine(init_response):
response = await init_response response = await init_response