-
Notifications
You must be signed in to change notification settings - Fork 89
/
example.config.yaml
131 lines (115 loc) · 2.72 KB
/
example.config.yaml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# 内部转发请求配置,0值为无超时 单位为秒
# connTimeout: 用户连接超时
# idleConnTimeout: 空闲连接超时
# responseHeaderTimeout: 响应头超时
server-conn:
connTimeout: 0
idleConnTimeout: 0
responseHeaderTimeout: 0
white-addr:
# - '127.0.0.1'
# - 'xxx.xxx.xxx.xxx'
# 开启特殊标记增强
flags: true
# 图片访问
domain: "http://127.0.0.1:8080"
# 内调llm,用于绘图时文本转tags
llm:
baseUrl: "http://127.0.0.1:8081"
model: "bing"
token: "xxx"
# lmsys fn、 trigger
lmsys: [49 , 109]
# hf 绘图接口配置化
# 若旧接口不可用,可以到huggingface上查找同类型的接口配置
# 参数替换:{{prompt}}、{{negative_prompt}}、{{sampler}}、{{style}}、{{seed}}
hf:
# animagine-xl-3.1:
# baseUrl: https://boboiazumi-animagine-xl-3-1.hf.space
# fn: [5, 61]
# data: '[
# "{{prompt}}",
# "{{negative_prompt}}",
# {{seed}},
# 1024,
# 1024,
# 8,
# 35,
# "{{sampler}}",
# "1024 x 1024",
# "{{style}}",
# "Standard v3.1",
# true,
# 0.55,
# 1.5,
# false,
# false,
# null,
# 0.65
# ]'
# dalle-4k:
# baseUrl: https://mukaist-dalle-4k.hf.space
# dalle-3-xl:
# baseUrl: https://ehristoforu-dalle-3-xl-lora-v2.hf.space
# gemini 自定义安全设置
google:
# safes:
# - category: HARM_CATEGORY_HARASSMENT
# threshold: BLOCK_NONE
bing:
baseUrl: "https://edgeservices.bing.com/edgesvc"
claude:
pad: 0
cookies:
- 'xxx1'
- 'xxx2'
you:
helper: 8082
notice: "Creative Writing Mode"
cookies:
- 'xxx1'
- 'xxx2'
serverless:
enabled: false
disabled-gpu: true
# 当无法找到指定的浏览器时可以在此配置路径
# execPath: /usr/bin/microsoft-edge
headless: new
# coze 默认配置;;;内置配置经常变动,难以维护改为配置化。新增webSdk模式,但还未得知速率是否有限制???
coze:
# 8k:
# botId: 114514
# version: 9527
# scene: 2
# isW: false
# 128k:
# botId: 114514
# version: 9527
# scene: 2
# isW: false
# images:
# botId: 114514
# version: 9527
# scene: 2
# 多个websdk账号可开启,用于请求计数,超过count数量该账号进入静置区
websdk-counter: 0
websdk:
# - email: [email protected]
# password: xxx
# validate: [email protected]
interpreter:
baseUrl: http://127.0.0.1:8000
echoCode: false
ws: true
custom-llm:
baseUrl: http://127.0.0.1:8080
# toolCall 默认配置化; 在 flags 关闭时也可用
toolCall:
id: -1
enabled: false
tasks: false
# 图片放大,domain需要公网可访问的地址
# key请到https://bigjpg.com获取,每月30次免费
# 目前注册没有限制,可配置多个key轮询
#magnify:
# - "xxx"