mirror of
https://github.com/coaidev/coai.git
synced 2025-05-19 13:00:14 +09:00
fix: 火山模型
This commit is contained in:
parent
951e46c1b3
commit
cf3fa15f49
@ -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.),
|
||||
|
Loading…
Reference in New Issue
Block a user