llm,doc

This commit is contained in:
2025-08-02 23:54:03 +08:00
parent 366ca479c4
commit e03259608e
17 changed files with 3836 additions and 212 deletions
+3
View File
@@ -37,4 +37,7 @@ type Server struct {
// MCP配置
MCP MCP `mapstructure:"mcp" json:"mcp" yaml:"mcp"`
// Volcengine配置
Volcengine Volcengine `mapstructure:"volcengine" json:"volcengine" yaml:"volcengine"`
}
+9
View File
@@ -0,0 +1,9 @@
package config
type Volcengine struct {
AccessKey string `mapstructure:"access-key" json:"access-key" yaml:"access-key"` // 火山引擎访问密钥ID
SecretKey string `mapstructure:"secret-key" json:"secret-key" yaml:"secret-key"` // 火山引擎访问密钥Secret
Region string `mapstructure:"region" json:"region" yaml:"region"` // 区域,如:cn-beijing
Endpoint string `mapstructure:"endpoint" json:"endpoint" yaml:"endpoint"` // 服务端点,如:https://ark.cn-beijing.volces.com
DefaultModel string `mapstructure:"default-model" json:"default-model" yaml:"default-model"` // 默认模型ID,如:ep-xxx
}