fixbug:解决抢答和获取任务的问题
This commit is contained in:
26
chagpt-adapter/config.yaml
Normal file
26
chagpt-adapter/config.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
server:
|
||||
port: 8080
|
||||
#proxied: http://127.0.0.1:7890
|
||||
password: 'xxx'
|
||||
think_reason: true
|
||||
debug: false
|
||||
|
||||
browser-less:
|
||||
enabled: true
|
||||
port: 8081
|
||||
#reversal: http://127.0.0.1:8081
|
||||
disabled-gpu: true
|
||||
headless: new
|
||||
|
||||
matcher:
|
||||
- match: I do not engage
|
||||
over: ":\n"
|
||||
notice:
|
||||
regex: |
|
||||
"(?i)I do not engage .+:\n":""
|
||||
- match: <thinking>
|
||||
over: </thinking>
|
||||
notice:
|
||||
think_reason: true
|
||||
regex: |
|
||||
"(?s)<thinking>(.+)</thinking>":"$1"
|
||||
Reference in New Issue
Block a user