mirror of
https://github.com/alibaba/higress.git
synced 2026-06-07 03:37:28 +08:00
fix: Add "protocol" field into the readme of ai-proxy (#942)
This commit is contained in:
@@ -19,7 +19,7 @@ type ContextConfig struct {
|
||||
serviceName string `required:"true" yaml:"serviceName" json:"serviceName"`
|
||||
// @Title zh-CN 上游服务端口
|
||||
// @Description zh-CN 文件服务所对应的网关内上游服务名称
|
||||
servicePort int64 `required:"true" yaml:"serviceName" json:"serviceName"`
|
||||
servicePort int64 `required:"true" yaml:"servicePort" json:"servicePort"`
|
||||
|
||||
fileUrlObj *url.URL `yaml:"-"`
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ type ResponseBodyHandler interface {
|
||||
|
||||
type ProviderConfig struct {
|
||||
// @Title zh-CN AI服务提供商
|
||||
// @Description zh-CN AI服务提供商类型,目前支持的取值为:"moonshot"
|
||||
// @Description zh-CN AI服务提供商类型,目前支持的取值为:"moonshot"、"qwen"、"openai"、"azure"
|
||||
typ string `required:"true" yaml:"type" json:"type"`
|
||||
// @Title zh-CN API Tokens
|
||||
// @Description zh-CN 在请求AI服务时用于认证的API Token列表。不同的AI服务提供商可能有不同的名称。部分供应商只支持配置一个API Token(如Azure OpenAI)。
|
||||
|
||||
Reference in New Issue
Block a user