yxlao

Fixes reasoning_content issue of DeepSeek V4, supprting deepseek-v4-pro and deepseek-v4-flash

19
4
100% credibility
Found Apr 25, 2026 at 19 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

A compatibility tool that lets users connect advanced thinking AI models from DeepSeek to the Cursor coding app by fixing communication glitches and showing AI reasoning.

How It Works

1
💡 Discover the AI chat fixer

You learn about a handy tool that solves frustrating errors when chatting with advanced thinking AI in your coding companion app.

2
🔗 Create a safe public link

You sign up for a free service and set up a secure web address so your app can connect to a helper on your own computer.

3
⚙️ Connect the smart AI in your app

Open your coding app settings, pick the thinking AI model, enter your account info, and use the new web link.

4
📥 Get and launch the helper

Download the easy-to-use program and start it up with a simple command—it creates files to remember AI thoughts.

5
🔄 Paste the web address

The helper shows a ready web link; update it in your app settings if needed, then everything connects.

🎉 Enjoy thinking AI chats

Chat away in your coding app with the AI showing its step-by-step thoughts, no more errors, super smooth!

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 19 to 19 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is deepseek-cursor-proxy?

This Python proxy fixes the reasoning_content issue in DeepSeek V4 models (deepseek-v4-pro and deepseek-v4-flash) when used with Cursor, preventing 400 errors during tool calls by caching exact reasoning from responses and restoring it on later turns. It mirrors streamed thinking into Cursor-visible `` blocks for UI display, auto-starts an ngrok tunnel for public HTTPS access, and handles compatibility tweaks like tool schema normalization. Install via pip, run `deepseek-cursor-proxy`, grab the ngrok URL, and set it as Cursor's base URL with your DeepSeek API key.

Why is it gaining traction?

It stands out by safely failing closed on cache misses instead of fabricating data, supports streaming chats with isolated multi-conversation caching, and preserves DeepSeek prefix caching for efficiency—features Cursor users notice in smoother agent flows. The CLI simplicity and verbose logging make debugging tool-call failures straightforward, closing a GitHub fixes issue that blocks DeepSeek thinking mode in Cursor without needing custom hacks.

Who should use this?

Cursor users building agentic coding workflows with deepseek-v4-pro or deepseek-v4-flash, especially those hitting "reasoning_content must be passed back" errors in multi-turn tool calls. Python devs proxying OpenAI-compatible APIs for local testing or BYOK setups.

Verdict

Grab it if DeepSeek + Cursor tool calls are broken for you—solid docs, tests, and config.yaml make setup reliable despite 19 stars and 1.0% credibility score. Alpha maturity means watch for cache edge cases, but it delivers on the core proxy fixes promise.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.