4PEb6b commited on
Commit
8bdd798
·
verified ·
1 Parent(s): ead46cf

Create config.yaml

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