From 23364e876b0a7f9d8efc561c32f8f0bcdd9cbdfe Mon Sep 17 00:00:00 2001 From: moondie <528893699@qq.com> Date: Sun, 24 Dec 2023 14:21:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4"stream=E5=8F=82=E6=95=B0"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 刚发现原来阿里api没有这个参数,上次误加了。 --- controller/relay-ali.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/controller/relay-ali.go b/controller/relay-ali.go index e1b4708c..accb28e9 100644 --- a/controller/relay-ali.go +++ b/controller/relay-ali.go @@ -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, }, } }