fix: set missing ali parameters (close #1028)

This commit is contained in:
JustSong
2024-03-03 22:51:01 +08:00
parent 10a926b8f3
commit c6ace985c2
2 changed files with 8 additions and 0 deletions

View File

@@ -16,6 +16,8 @@ type Parameters struct {
Seed uint64 `json:"seed,omitempty"`
EnableSearch bool `json:"enable_search,omitempty"`
IncrementalOutput bool `json:"incremental_output,omitempty"`
MaxTokens int `json:"max_tokens,omitempty"`
Temperature float64 `json:"temperature,omitempty"`
}
type ChatRequest struct {