GCWing / GCWing/OpenBitFun

[Bug]: Antigravity 订阅握手 loadCodeAssist 返回 400 Bad Request

Aperta
#2,704 0 commenti 0 reazioni 1 assegnatario Rivendicata da @bobleer Vedi su GitHub
Lingua principale
Rust
Stelle
2.2k
Fork
229
Merge medio
2h 46m
PR unite (30g)
577

Descrizione

### Summary

loadCodeAssist 中 metadata.platform 传入 "WINDOWS" 被 Google 拒收,需调整为 "PLATFORM_UNSPECIFIED"(可参考 openclaw PR #32382)。

### Area

Desktop app

### Reproduction or evidence

与 Google cloudcode-pa.googleapis.com 的 loadCodeAssist 握手过程中,客户端硬编码了 metadata.platform = "WINDOWS"。Google 内部端点近期收紧了枚举校验规则,只认 PLATFORM_UNSPECIFIED,导致所有向 Google 发送操作系统名称("WINDOWS", "LINUX", "MACOS")的第三方工具全部报错。

### Environment, if relevant

_No response_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.