From b2003d5183a32f95bdbaaee1ba2e77fe2fcf350b Mon Sep 17 00:00:00 2001 From: feitianbubu Date: Tue, 24 Mar 2026 11:44:06 +0800 Subject: [PATCH] feat: compatible gpt thinking to nil --- relay/channel/openai/adaptor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/relay/channel/openai/adaptor.go b/relay/channel/openai/adaptor.go index 29a8f34949..79d570d21e 100644 --- a/relay/channel/openai/adaptor.go +++ b/relay/channel/openai/adaptor.go @@ -333,6 +333,7 @@ func (a *Adaptor) ConvertOpenAIRequest(c *gin.Context, info *relaycommon.RelayIn if strings.HasPrefix(info.UpstreamModelName, "gpt-5") { request.Temperature = nil request.TopP = nil + request.THINKING = nil request.LogProbs = nil }