feat: switch to OpenRouter for web search integration
This commit is contained in:
parent
07d2042eb7
commit
7fd8146ec5
7 changed files with 33 additions and 29 deletions
3
cfg.go
3
cfg.go
|
|
@ -24,7 +24,8 @@ type ConfigDef struct {
|
|||
MonthlyTrafficLimitGiB int `env:"TG_MONTHLY_TRAFFIC_LIMIT_GIB" env-default:"1000"`
|
||||
|
||||
// AI
|
||||
OpenAIApiKey string `env:"TG_OPENAI_API_KEY"`
|
||||
OpenAIApiKey string `env:"TG_OPENAI_API_KEY"`
|
||||
OpenAIApiBaseURL string `env:"TG_OPENAI_API_BASE_URL"`
|
||||
|
||||
// Parsed fields
|
||||
adminUidLookup map[int64]struct{}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue