fix: 火山模型

This commit is contained in:
WingGao 2025-02-12 17:46:16 +08:00 committed by Sh1n3zZ
parent 9a6c15e880
commit 1e2c949609

View File

@ -62,7 +62,7 @@ func (c *ChatInstance) GetMaxTokens(token *int) int {
func (c *ChatInstance) CreateRequest(props *adaptercommon.ChatProps) *model.ChatCompletionRequest {
return &model.ChatCompletionRequest{
Model: props.OriginalModel,
Model: props.Model,
Messages: getMessages(props.Message),
Temperature: utils.GetPtrVal(props.Temperature, 0.),
TopP: utils.GetPtrVal(props.TopP, 0.),