Indicate GPU servers in os
All checks were successful
Build and Publish college-bot-v2 / build_and_publish (push) Successful in 14s
All checks were successful
Build and Publish college-bot-v2 / build_and_publish (push) Successful in 14s
This commit is contained in:
parent
9fdddb8d45
commit
69d262d65b
1 changed files with 2 additions and 1 deletions
|
@ -921,7 +921,8 @@ class Ollama(commands.Cog):
|
|||
if CONFIG["ollama"].get("order"):
|
||||
ln = ["Server order:"]
|
||||
for n, key in enumerate(CONFIG["ollama"].get("order"), start=1):
|
||||
ln.append(f"{n}. {key!r}")
|
||||
zap = '\N{high voltage sign}'
|
||||
ln.append(f"{n}. {key!r} {f'({zap})' if CONFIG['ollama'][key].get('is_gpu') else ''}")
|
||||
embed.description = "\n".join(ln)
|
||||
|
||||
for server, lock in self.servers.items():
|
||||
|
|
Loading…
Reference in a new issue