106 lines
2.2 KiB
YAML
106 lines
2.2 KiB
YAML
dataRoot: ./data
|
|
listen: false
|
|
protocol:
|
|
ipv4: true
|
|
ipv6: false
|
|
dnsPreferIPv6: false
|
|
autorunHostname: auto
|
|
port: 65366
|
|
autorunPortOverride: -1
|
|
whitelistMode: false
|
|
enableForwardedWhitelist: true
|
|
whitelist:
|
|
- ::1
|
|
- 127.0.0.1
|
|
basicAuthMode: false
|
|
basicAuthUser:
|
|
username: user
|
|
password: password
|
|
enableCorsProxy: false
|
|
requestProxy:
|
|
enabled: false
|
|
url: socks5://username:password@example.com:1080
|
|
bypass:
|
|
- localhost
|
|
- 127.0.0.1
|
|
enableUserAccounts: false
|
|
enableDiscreetLogin: true
|
|
autheliaAuth: false
|
|
perUserBasicAuth: false
|
|
sessionTimeout: 86400
|
|
cookieSecret: yYycUbQ+ND1tlDHoE+sXoq3/OGmHa6Ilfak1IGaUc/lybL6whbVJV+pSZXtfUfe+oJDKVQdrVSptOA1atqwaCA==
|
|
disableCsrfProtection: false
|
|
securityOverride: false
|
|
autorun: false
|
|
avoidLocalhost: false
|
|
backups:
|
|
common:
|
|
numberOfBackups: 50
|
|
chat:
|
|
enabled: true
|
|
maxTotalBackups: -1
|
|
throttleInterval: 10000
|
|
thumbnails:
|
|
enabled: true
|
|
format: jpg
|
|
quality: 95
|
|
dimensions:
|
|
bg:
|
|
- 160
|
|
- 90
|
|
avatar:
|
|
- 96
|
|
- 144
|
|
allowKeysExposure: false
|
|
skipContentCheck: false
|
|
whitelistImportDomains:
|
|
- localhost
|
|
- cdn.discordapp.com
|
|
- files.catbox.moe
|
|
- raw.githubusercontent.com
|
|
requestOverrides: []
|
|
enableDownloadableTokenizers: true
|
|
extras: {}
|
|
promptPlaceholder: "[Start a new chat]"
|
|
openai:
|
|
randomizeUserId: false
|
|
captionSystemPrompt: ""
|
|
deepl:
|
|
formality: default
|
|
mistral:
|
|
enablePrefix: false
|
|
ollama:
|
|
keepAlive: -1
|
|
batchSize: -1
|
|
claude:
|
|
enableSystemPromptCache: false
|
|
cachingAtDepth: -1
|
|
enableServerPlugins: false
|
|
extensions:
|
|
enabled: true
|
|
autoUpdate: true
|
|
models:
|
|
autoDownload: true
|
|
classification: Cohee/distilbert-base-uncased-go-emotions-onnx
|
|
captioning: Xenova/vit-gpt2-image-captioning
|
|
embedding: Cohee/jina-embeddings-v2-base-en
|
|
speechToText: Xenova/whisper-small
|
|
textToSpeech: Xenova/speecht5_tts
|
|
performance:
|
|
memoryCacheCapacity: 100mb
|
|
lazyLoadCharacters: false
|
|
listenAddress:
|
|
ipv4: 0.0.0.0
|
|
ipv6: "[::]"
|
|
ssl:
|
|
enabled: false
|
|
certPath: ./certs/cert.pem
|
|
keyPath: ./certs/privkey.pem
|
|
whitelistDockerHosts: true
|
|
logging:
|
|
enableAccessLog: true
|
|
minLogLevel: 0
|
|
rateLimiting:
|
|
preferRealIpHeader: false
|
|
enableServerPluginsAutoUpdate: true
|