-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.py
43 lines (34 loc) · 888 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import os
import discord
from dotenv import load_dotenv
import asyncio
load_dotenv()
global text_api
global image_api
global character_card
global immersive_mode
global blacklist_mode
global openrouter_token
global safesearch
global text_evaluator_model
global llm_type
global gemini_token
queue_to_process_everything = asyncio.Queue()
florence = None
florence_processor = None
use_florence = True
bot_display_name = "Aktiva-AI"
bot_default_avatar = "https://i.imgur.com/cWExeMh.jpeg"
bot_user = None
text_api: dict = {}
image_api: dict = {}
immersive_mode = True
blacklist_mode = True
openrouter_token =""
gemini_token=""
safesearch=None
text_evaluator_model = "meta-llama/llama-3.1-70b-instruct:free"
llm_type = "local"
intents: discord.Intents = discord.Intents.all()
intents.message_content = True
client: discord.Client = discord.Client(command_prefix='/', intents=intents)