视频连线
This commit is contained in:
@@ -20,6 +20,19 @@ type Config struct {
|
||||
MediaServer MediaServerConfig `mapstructure:"media_server"`
|
||||
Meeting MeetingConfig `mapstructure:"meeting"`
|
||||
LLMSource LLMSourceConfig `mapstructure:"llm_source"` // Phase B:外部 LLM 配置库(MySQL,t_llm_provider/model/key)
|
||||
OAuth OAuthConfig `mapstructure:"oauth"`
|
||||
}
|
||||
|
||||
type OAuthConfig struct {
|
||||
FrontendCallbackURL string `mapstructure:"frontend_callback_url"`
|
||||
Providers map[string]OAuthApp `mapstructure:"providers"`
|
||||
}
|
||||
|
||||
type OAuthApp struct {
|
||||
ClientID string `mapstructure:"client_id"`
|
||||
ClientSecret string `mapstructure:"client_secret"`
|
||||
RedirectURI string `mapstructure:"redirect_uri"`
|
||||
Enabled bool `mapstructure:"enabled"`
|
||||
}
|
||||
|
||||
// LLMSourceConfig 外部 LLM/STT 配置中心 MySQL 连接
|
||||
|
||||
Reference in New Issue
Block a user