From 8bcaf182bcd2259f8536f7acd33a9d52b852c112 Mon Sep 17 00:00:00 2001 From: MartialBE Date: Sun, 3 Dec 2023 13:05:32 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20fix=20xunfei=20api=20erro?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- providers/xunfei/base.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/xunfei/base.go b/providers/xunfei/base.go index 76d52f5b..7d85a524 100644 --- a/providers/xunfei/base.go +++ b/providers/xunfei/base.go @@ -21,7 +21,7 @@ func (f XunfeiProviderFactory) Create(c *gin.Context) base.ProviderInterface { return &XunfeiProvider{ BaseProvider: base.BaseProvider{ BaseURL: "wss://spark-api.xf-yun.com", - ChatCompletions: "", + ChatCompletions: "true", Context: c, }, }