File tree Expand file tree Collapse file tree
docs-site/src/content/docs
zh-cn/reference/configuration Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -274,7 +274,8 @@ so passthrough stays byte-for-byte identical.
274274
275275The Cursor bridge is experimental. After ` ocx login cursor ` , add or edit ` providers.cursor ` .
276276
277- If a proxy cannot carry Cursor's default HTTP/2 stream, set ` upstreamHttpVersion ` to ` "http1.1" ` .
277+ If a proxy cannot carry Cursor's default HTTP/2 stream, set ` upstreamHttpVersion ` to ` "http1.1" `
278+ or its ` "h1" ` alias.
278279This switches inference to Cursor's ` RunSSE ` + ` BidiAppend ` compatibility transport and uses
279280HTTP/1.1 for ` GetUsableModels ` discovery as well. The value requires an HTTPS ` baseUrl ` . Leave it
280281unset or use ` "auto" ` for the existing HTTP/2 behavior. In the dashboard choose
Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ affinity。这些策略不能规避 provider enforcement。
223223Cursor 桥接是实验性的。执行 ` ocx login cursor ` 之后,添加或编辑 ` providers.cursor ` 。
224224
225225如果代理无法承载 Cursor 默认的 HTTP/2 stream,请将 ` upstreamHttpVersion ` 设置为
226- ` "http1.1" ` 。推理会切换到 Cursor 的 ` RunSSE ` + ` BidiAppend ` 兼容传输,` GetUsableModels `
226+ ` "http1.1" ` 或其别名 ` "h1" ` 。推理会切换到 Cursor 的 ` RunSSE ` + ` BidiAppend ` 兼容传输,` GetUsableModels `
227227实时发现也会使用 HTTP/1.1。该配置要求 ` baseUrl ` 使用 HTTPS。保持未设置或使用 ` "auto" ` ,
228228则继续使用现有 HTTP/2 行为。
229229在仪表板中,可通过 ** Providers → Cursor → 设置 → Cursor 传输协议** 进行选择。
You can’t perform that action at this time.
0 commit comments