删除"stream参数"
刚发现原来阿里api没有这个参数,上次误加了。
This commit is contained in:
parent
7dd1cf1e24
commit
23364e876b
@ -28,8 +28,6 @@ type AliParameters struct {
|
||||
Seed uint64 `json:"seed,omitempty"`
|
||||
EnableSearch bool `json:"enable_search,omitempty"`
|
||||
IncrementalOutput bool `json:"incremental_output,omitempty"`
|
||||
Stream bool `json:"stream,omitempty"`
|
||||
|
||||
}
|
||||
|
||||
type AliChatRequest struct {
|
||||
@ -104,7 +102,6 @@ func requestOpenAI2Ali(request GeneralOpenAIRequest) *AliChatRequest {
|
||||
// //Seed: 0,
|
||||
EnableSearch: true,
|
||||
IncrementalOutput=true,
|
||||
Stream=request.Stream,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user