Cursor UI fails to render Gemini-proxy (OpenAI-compatible) response containing <thought> tag

Describe the Bug

When using a custom model (Gemini proxy) via OpenAI-compatible endpoint, Cursor fails to render the assistant message if it includes a <thought>...</thought> tag, even though the response is fully valid OpenAI-compatible schema. all tools, mpc work.

Steps to Reproduce

Add a custom OpenAI-compatible model pointing to https://generativelanguage.googleapis.com/v1beta/openai

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4 (Universal)
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T16:55:16.443Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.