From b90f138758a3599b10a36fe0d44b2160809f31c6 Mon Sep 17 00:00:00 2001 From: nex Date: Fri, 10 Nov 2023 22:35:10 +0000 Subject: [PATCH] Fix ollama command IP shtuff --- cogs/other.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/other.py b/cogs/other.py index 3899a22..da6d56d 100644 --- a/cogs/other.py +++ b/cogs/other.py @@ -1805,7 +1805,7 @@ class OtherCog(commands.Cog): model = "orca-mini" msg = await ctx.reply(f"Preparing {model!r} ") - async with httpx.AsyncClient(base_url="http://localhost:11434/api") as client: + async with httpx.AsyncClient(base_url="http://192.168.0.90:11434/api") as client: # get models try: response = await client.post("/show", json={"name": model})