修改混元拼写错误

This commit is contained in:
junleea 2025-05-12 13:35:20 +08:00
parent ebe9e31de9
commit 634d674bf6
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ const (
ModelTypeOllama = "ollama" ModelTypeOllama = "ollama"
ModelTypeQianfan = "qianfan" ModelTypeQianfan = "qianfan"
ModelTypeTongyi = "tongyi" ModelTypeTongyi = "tongyi"
ModelTypeHuanyun = "huanyun" ModelTypeHunyuan = "hunyuan"
KnowledgeBaseServerResponseType = "kbase_query_resp" KnowledgeBaseServerResponseType = "kbase_query_resp"
) )

View File

@ -139,7 +139,7 @@ func WSReceiveMessageServiceV2(modelParam proto.ModelParam, ctx *proto.IMParamCo
Qianfan(modelParam, ctx) Qianfan(modelParam, ctx)
case proto.ModelTypeTongyi: case proto.ModelTypeTongyi:
Tongyi(modelParam, ctx) Tongyi(modelParam, ctx)
case proto.ModelTypeHuanyun: case proto.ModelTypeHunyuan:
generalModel.OpenAI(modelParam, ctx, ctx.ModelType) generalModel.OpenAI(modelParam, ctx, ctx.ModelType)
default: default:
resErr, resID = errors.New("model type not exist:"+ctx.ModelType), 0 resErr, resID = errors.New("model type not exist:"+ctx.ModelType), 0