llm,doc
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user