Refactor code formatting and update requirements for improved clarity and consistency

This commit is contained in:
Luca Congiu
2024-12-24 09:56:33 +01:00
parent b0c98531b0
commit 725d5af215
6 changed files with 28 additions and 22 deletions

View File

@@ -148,7 +148,7 @@ async def azure_openai_complete_if_cache(
response = await openai_async_client.chat.completions.create(
model=model, messages=messages, **kwargs
)
if hasattr(response, "__aiter__"):
async def inner():