run precommit to fix linting issues

This commit is contained in:
Saifeddine ALOUI
2025-01-11 01:37:07 +01:00
parent e0e656ab01
commit 224fce9b1b
2 changed files with 51 additions and 34 deletions

View File

@@ -336,7 +336,6 @@ async def hf_model_if_cache(
(RateLimitError, APIConnectionError, APITimeoutError)
),
)
async def ollama_model_if_cache(
model,
prompt,
@@ -411,6 +410,7 @@ async def lollms_model_if_cache(
async with aiohttp.ClientSession(timeout=timeout) as session:
if stream:
async def inner():
async with session.post(
f"{base_url}/lollms_generate", json=request_data