Skip to content

文档:说明桌面版模型网络代理设置 - #331

Merged
ExplosiveCoderflome merged 1 commit into
mainfrom
autopilot/desktop-model-proxy
Dec 5, 2026
Merged

ExplosiveCoderflome merged 1 commit into
mainfrom
autopilot/desktop-model-proxy

Conversation

@mintlify

@mintlify mintlify Bot commented Dec 5, 2026

Copy link
Copy Markdown
Contributor

在模型配置页新增桌面版「模型网络代理」说明:没开 TUN 时如何填 HTTP/HTTPS/SOCKS5 代理,本机和局域网地址(如 Ollama)自动直连(覆盖 c251bab、14e28087)。

依据 v0.9.0 发布说明 与 #324。

@mintlify

mintlify Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
Biz Novel Studio 🟢 Ready View Preview Dec 5, 2026, 10:30 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ No blocking issues — the documented behavior matches the desktop proxy implementation; two non-blocking wording/coverage gaps below.

Approach: sound — documenting a desktop-only setting on the page where users configure models, with cross-links from the two places users actually hit proxy-related failures.

Reviewed changes

  • New 桌面版模型网络代理 section — TUN-off explanation, three-step setup, and a notes list covering direct LAN/localhost access, scope (balance, images, embedding, rerank), and clearing the address.
  • Page-block list update — 模型网络代理 added as the first block, desktop-only.
  • Entry-point links — the "确认 API 地址" step and the API-address troubleshooting bullet now point at the new section.
  • Frontmatter keywords — 代理 and SOCKS5 added.

I verified the claims against platform/llm/transport/modelProxy.ts, services/settings/modelProxy/index.ts, routes/settings/modelProxyRoutes.ts, ModelsSettingsPage.tsx, and the zh-CN settingsPages i18n strings: desktop-only gating, the HTTP/HTTPS/SOCKS5-only rule with no credentials or path, the local/LAN bypass, and the balance/image/embedding/rerank scope all match the code.

Non-blocking

  • The retained "确认 API 地址" sentence now contradicts the sentence this PR adds. Line 128 reads "只有走代理或厂商给了专属地址时才需要改" and is immediately followed by "这里的地址不用动"; a beginner who reads the first sentence can end up rewriting a working provider endpoint, so changing "走代理" to "使用中转服务" would resolve it.
  • The English mirror was not updated. mintlify-docs/en/model-configuration.mdx is maintained in near 1:1 parity with the Chinese page and still says "The page has three blocks from top to bottom" with no proxy section, so readers of the English docs get no guidance for a shipped desktop capability. No CI check enforces parity, so this can land as a follow-up.

Pullfrog  | Fix it ➔ | View workflow run | Using deepseek-v4.1-flash-1017 (free via Pullfrog for OSS) | 𝕏

@ExplosiveCoderflome
ExplosiveCoderflome merged commit af01467 into main Dec 5, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
staging - mintlify-docs — 3e2a1d8f Deployed Dec 5, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant