概览
dsh-provider-proxy
README / ZH
插件文档
目录摘要
dsh.pub 核对固定版本的组合包契约、运行时事实与分发语义;完整 README 请查看源仓库。
在 GitHub 阅读完整 READMELIMITATIONS
已知限制
- Supports HTTP and HTTPS forward proxies using Undici `ProxyAgent`. - Does not support SOCKS or PAC proxy URLs. - Covers provider implementations that use `globalThis.fetch`, including the native DSH DeepSeek adapter and the common fetch-based pi-ai providers. - Also wraps DSH's `llm.discoverModels()` path, so Models → “Fetch available models” uses the selected Provider's proxy when that request names a provider route. - If that Provider already has a non-empty static `models` list, DSH returns the catalog without network I/O by design; clear that list when you want to probe the provider endpoint and observe the proxy connection. - It does not rewrite `baseURL`. API relays/reverse proxies should be configured directly on the provider instead. - Provider SDKs that bypass Fetch and open sockets directly need a dedicated transport integration; this middleware deliberately does not enable a process-wide proxy fallback.
