- Introduce AutomaticDisableKeywords setting to dynamically control channel disabling - Implement AC search for matching error messages against disable keywords - Add frontend UI for configuring automatic disable keywords - Update localization with new keyword-based channel disabling feature - Refactor sensitive word and AC search logic to support multiple keyword lists
9 lines
169 B
Go
9 lines
169 B
Go
package common
|
|
|
|
var UsingSQLite = false
|
|
var UsingPostgreSQL = false
|
|
var UsingMySQL = false
|
|
var UsingClickHouse = false
|
|
|
|
var SQLitePath = "one-api.db?_busy_timeout=5000"
|