fix ollama loading
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 5s
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 5s
This commit is contained in:
parent
ac86cd3b4a
commit
c516191bfd
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ class Ollama(commands.Cog):
|
|||
server: asyncio.Lock() for server in CONFIG["ollama"]
|
||||
}
|
||||
self.servers.pop("order", None)
|
||||
if CONFIG["ollama"].pop("order"):
|
||||
if CONFIG["ollama"].get("order"):
|
||||
self.servers = {}
|
||||
for key in CONFIG["ollama"]["order"]:
|
||||
self.servers[key] = asyncio.Lock()
|
||||
|
|
Loading…
Reference in a new issue