Update discollama.py
parent
3c956d269e
commit
ecaf5c701b
|
@ -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'])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue