修改千帆大模型系统参数,修改大模型系统提问消息输出
This commit is contained in:
parent
6918b8215c
commit
0c48fc83a9
|
|
@ -137,7 +137,7 @@ func WSReceiveMessageServiceV2(modelParam proto.ModelParam, ctx *proto.IMParamCo
|
||||||
case proto.ModelTypeQianfan:
|
case proto.ModelTypeQianfan:
|
||||||
Qianfan(modelParam, ctx)
|
Qianfan(modelParam, ctx)
|
||||||
default:
|
default:
|
||||||
resErr, resID = errors.New("model not exist"), 0
|
resErr, resID = errors.New("model type not exist:"+ctx.ModelType), 0
|
||||||
}
|
}
|
||||||
return resErr, resID
|
return resErr, resID
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue