-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.env.prod
21 lines (19 loc) · 1.1 KB
/
.env.prod
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
############## nonebot 基本配置 #################
host = 127.0.0.1
port = 8080
log_level = DEBUG
fastapi_reload = false
command_start=["", "/"] # 默认命令前缀 设置为空
api_timeout = 120 # nonebot 超时时间
SUPERUSERS = ["1017975501"] # 管理员账号
############## gpt 配置 ##############
gpt3_command_prefix = "。" # 基本会话中的指令前缀
openai_api_key = "xxx" # API密钥
gpt3_default_preset = ""
gpt3_proxy = "http://127.0.0.1:6152" # 代理地址
gpt3_need_at = False # 是否需要@才触发命令
gpt3_image_render = False # 是否渲染为图片
gpt3_image_limit = 150 # 长度超过多少才会渲染成图片
gpt3_max_tokens = 1000 # 回答内容最大长度
gpt3_chat_count_per_day = 150 # 普通用户每天聊天次数上限
gpt3_model = 'gpt-3.5-turbo' # 语言模型