Files
abot/chagpt-adapter/config.yaml

26 lines
474 B
YAML

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"