优化上下文

This commit is contained in:
2026-06-10 18:00:58 +08:00
parent d9ba14e28b
commit 74268a8a07
6 changed files with 180 additions and 66 deletions
+9 -8
View File
@@ -27,14 +27,15 @@ type ConfigsFile_ struct {
}
type ConfigsAIChatOpenAI_ struct {
Name string `mapstructure:"name"`
Active bool `mapstructure:"active"`
ApiKey string `mapstructure:"apiKey"`
BaseUrl string `mapstructure:"baseUrl"`
Model string `mapstructure:"model"`
Timeout int `mapstructure:"timeout"`
MaxTokens int `mapstructure:"maxTokens"`
SystemPrompt string `mapstructure:"systemPrompt"`
Name string `mapstructure:"name"`
Active bool `mapstructure:"active"`
ApiKey string `mapstructure:"apiKey"`
BaseUrl string `mapstructure:"baseUrl"`
Model string `mapstructure:"model"`
Timeout int `mapstructure:"timeout"`
MaxTokens int `mapstructure:"maxTokens"`
ContextWindowTokens int `mapstructure:"contextWindowTokens"`
SystemPrompt string `mapstructure:"systemPrompt"`
}
type ConfigsAIChatTool_ struct {