feat: Multi-Target Load Balancing

This commit is contained in:
tbphp
2025-06-11 11:50:49 +08:00
parent b97bd1146b
commit 3450a05615
5 changed files with 63 additions and 27 deletions

View File

@@ -54,8 +54,9 @@ type KeysConfig struct {
// OpenAIConfig represents OpenAI API configuration
type OpenAIConfig struct {
BaseURL string `json:"baseUrl"`
Timeout int `json:"timeout"`
BaseURL string `json:"baseUrl"`
BaseURLs []string `json:"baseUrls"`
Timeout int `json:"timeout"`
}
// AuthConfig represents authentication configuration