@Neuroplexus 在 简单粗暴解决 new api 不兼容 claude code 中发帖
// proxy.ts
// Single-file, no dependencies Deno proxy with optional streaming timeout logic
const TARGET = "http://127.0.0.1:5712";
const PROXY_PORT = 5713;
Deno.serve({ port: PROXY_PORT }, async (req) => {
const url = new URL(req.url);
const targetUrl = TARGET + url.pathname + url.search;
// Only inspect body for /v1/messages requests
if (url.pathname === "/v1/messages" && req.method ...