mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 20:07:49 +01:00
refac: print removed
This commit is contained in:
@@ -182,8 +182,6 @@ async def get_ollama_versions(url_idx: Optional[int] = None):
|
|||||||
responses = await asyncio.gather(*tasks)
|
responses = await asyncio.gather(*tasks)
|
||||||
responses = list(filter(lambda x: x is not None, responses))
|
responses = list(filter(lambda x: x is not None, responses))
|
||||||
|
|
||||||
print(responses)
|
|
||||||
|
|
||||||
if len(responses) > 0:
|
if len(responses) > 0:
|
||||||
lowest_version = min(
|
lowest_version = min(
|
||||||
responses, key=lambda x: tuple(map(int, x["version"].split(".")))
|
responses, key=lambda x: tuple(map(int, x["version"].split(".")))
|
||||||
|
|||||||
Reference in New Issue
Block a user