deepseek-cursor-proxy
deepseek-cursor-proxy copied to clipboard
Fixes missing reasoning_content for DeepSeek V4
连接莫名被中断
你好,我最近两天在使用的过程中,会有以下提示: 2026-05-18 14:23:42,047 WARNING rejected request path=/v1/chat/completions status=400 reason=Invalid JSON: Unterminated string starting at: line 1 column 29739 (char 29738) 2026-05-18 14:23:42,047 INFO 127.0.0.1 - "POST /v1/chat/completions HTTP/1.1" 400 -...
When a user configures a custom OpenAI-compatible endpoint (e.g., for DeepSeek v4) using the "Override OpenAI Base URL" setting, all requests intended for built-in OpenAI models (like GPT-5.5) are also...
### 建议补充「生产稳定性接入」方案:经 TeamoRouter 网关连接 DeepSeek V4,叠加故障转移与多区域路由 这个代理解决了 Cursor 接 DeepSeek V4 时 `reasoning_content must be passed back` 的兼容问题,非常实用。不过当前 proxy 是直连 DeepSeek 官方 API,国内用户在生产/长时间使用时容易遇到超时与抖动——这和「Codex 请求超时」是同一类痛点。 建议在 README 里补一个「网关模式(生产接入)」小节: - 保持 `reasoning_content`...
新版本cursor必须开pro才能用?
I added some logs and this is what happens when cursor starts subagents using deepseek cursor proxy: 2026-05-24 04:50:05,497 WARNING reasoning store: skipped startup prune (database is locked) Traceback (most...
### 问题描述 目前 `reasoning_effort` 是一个全局配置项,所有模型共用同一个值。但 `deepseek-v4-pro` 和 `deepseek-v4-flash` 的定位不同。 如果只能设置一个全局值,就难以平衡两者的使用体验。 ### 建议 在 `config.yaml` 中增加一个可选字段 `model_reasoning_efforts`,按模型名覆盖全局值,例如: ```yaml reasoning_effort: max # 全局默认 model_reasoning_efforts: deepseek-v4-pro: max deepseek-v4-flash: high
缓存会自动消失
你好,这个deepseek-cursor-proxy很好用。谢谢你的开源。 我在使用的过程中,会偶发以下提示: [deepseek-cursor-proxy] Refreshed reasoning_content history. 然后,deepseek就像失忆了一样,上下文被重置了。但是,这是我还没用到1M上下文窗口上限的时候就会产生的现象。 这是为什么呢?如果此proxy项目能进行相应的完善,我将感激不尽。
Traceback (most recent call last): File "/usr/local/python3/lib/python3.10/socketserver.py", line 683, in process_request_thread self.finish_request(request, client_address) File "/usr/local/python3/lib/python3.10/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/python3/lib/python3.10/socketserver.py", line 747, in __init__ self.handle() File...