makecindy / makecindy/cindy

Google/Vertex 原生请求走不了系统代理

Open
#4,416 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

从供应商导入 PR 跟进拆出。

Pi 的 Google / Vertex 适配器在传入自定义 fetch 时会直接抛错(Custom fetch is not supported),所以 Desktop 只能让它们用 Node 自带 fetch。那条路径不读系统代理 / PAC,公司代理环境下其它供应商能通、Google 原生请求会失败。

要修需要 Pi 或 @google/genai 能接 Cindy 已有的 outboundFetch(或等价代理通道),不能在本 PR 里绕过 SDK 禁令去改全局 fetch。

关联:makecindy/cindy#4402

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Google/Vertex adapter's custom-fetch handling and the Desktop request path, then compare how other providers use Cindy's existing outboundFetch. Done means native Google requests can use the proxy/PAC-aware channel without bypassing the @google/genai SDK restriction or changing global fetch; verify the behavior in a company proxy environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend-api-design, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.