From b460238cb70df793c2f8fb490604c392899082ce Mon Sep 17 00:00:00 2001 From: luoshengheng Date: Thu, 30 Nov 2023 22:54:30 +0800 Subject: [PATCH] update --- chat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat.go b/chat.go index 8e538a874..27c8d5522 100644 --- a/chat.go +++ b/chat.go @@ -91,7 +91,7 @@ type ChatCompletionRequest struct { AllowFallback bool `json:"allow_fallback,omitempty"` CaptchaToken string `json:"captchaToken,omitempty"` //easychat的额外参数 Token string `json:"token,omitempty"` //ylokh的额外参数 - PlainText bool `json:"plainText,omitempty"` //用于标识响应的内容是否纯文本 + PlainText bool `json:"-"` //用于标识响应的内容是否纯文本 } type FunctionDefinition struct {