Fix ollama APi endpoint
All checks were successful
Build and Publish / build_and_publish (push) Successful in 51s
All checks were successful
Build and Publish / build_and_publish (push) Successful in 51s
This commit is contained in:
parent
448a23affa
commit
290d5c9ccb
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ class Chat(commands.Cog):
|
|||
base_url=_cfg["url"],
|
||||
auth=(_cfg["username"], _cfg["password"])
|
||||
) as http_client:
|
||||
response = await http_client.get(f"/threads/threads:{thread_id}")
|
||||
response = await http_client.get(f"/ollama/thread/threads:{thread_id}")
|
||||
if response.status_code == 200:
|
||||
thread = await response.json()
|
||||
messages = thread["messages"]
|
||||
|
|
Loading…
Reference in a new issue