From 3e26dfa5bbf4b4a7d1d2287a9488926b9ea3e256 Mon Sep 17 00:00:00 2001 From: li Date: Wed, 22 Jul 2026 16:49:31 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E7=BB=9F=E4=B8=80=20input=20=E5=8C=85?= =?UTF-8?q?=E8=A3=85=E7=B1=BB=E5=9E=8B=E4=B8=BA=20[]any=EF=BC=8C=E4=B8=8E?= =?UTF-8?q?=E6=AD=A3=E5=B8=B8=20OAuth=20=E8=B7=AF=E5=BE=84=E4=B8=80?= =?UTF-8?q?=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/internal/service/openai_gateway_request_body.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/internal/service/openai_gateway_request_body.go b/backend/internal/service/openai_gateway_request_body.go index d2846c59a0..14520958f2 100644 --- a/backend/internal/service/openai_gateway_request_body.go +++ b/backend/internal/service/openai_gateway_request_body.go @@ -581,7 +581,7 @@ func normalizeOpenAIPassthroughOAuthBody(body []byte, compact bool) ([]byte, boo text := inputResult.String() var inputValue any if strings.TrimSpace(text) != "" { - inputValue = []map[string]any{{ + inputValue = []any{map[string]any{ "type": "message", "role": "user", "content": text, }} } else {