修改混元拼写错误
This commit is contained in:
parent
ebe9e31de9
commit
634d674bf6
|
|
@ -146,7 +146,7 @@ const (
|
|||
ModelTypeOllama = "ollama"
|
||||
ModelTypeQianfan = "qianfan"
|
||||
ModelTypeTongyi = "tongyi"
|
||||
ModelTypeHuanyun = "huanyun"
|
||||
ModelTypeHunyuan = "hunyuan"
|
||||
KnowledgeBaseServerResponseType = "kbase_query_resp"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ func WSReceiveMessageServiceV2(modelParam proto.ModelParam, ctx *proto.IMParamCo
|
|||
Qianfan(modelParam, ctx)
|
||||
case proto.ModelTypeTongyi:
|
||||
Tongyi(modelParam, ctx)
|
||||
case proto.ModelTypeHuanyun:
|
||||
case proto.ModelTypeHunyuan:
|
||||
generalModel.OpenAI(modelParam, ctx, ctx.ModelType)
|
||||
default:
|
||||
resErr, resID = errors.New("model type not exist:"+ctx.ModelType), 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue