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 {