Update discollama.py

main
Chris Nutter 2024-05-10 11:39:13 -07:00
parent 3c956d269e
commit ecaf5c701b
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ def main():
Discollama( Discollama(
ollama.AsyncClient(host=f'{args.ollama_scheme}://{args.ollama_host}:{args.ollama_port}'), ollama.AsyncClient(host=f'{args.ollama_scheme}://{args.ollama_host}:{args.ollama_port}'),
discord.Client(intents=intents), discord.Client(intents=intents),
redis.Redis(host=args.redis_host, port=args.redis_port, db=0, decode_responses=True), redis.Redis(host=args.redis_host, port=args.redis_port, password=args.redis_password, db=0, decode_responses=True),
model=args.ollama_model, model=args.ollama_model,
).run(os.environ['DISCORD_TOKEN']) ).run(os.environ['DISCORD_TOKEN'])