fix(antigravity): omit agent requestType from v1internal envelope

This commit is contained in:
wanzhao-ysy
2026-09-13 18:35:57 +08:00
parent 60b89cc840
commit ea24d61910
7 changed files with 22 additions and 15 deletions
@@ -2763,7 +2763,7 @@ mod tests {
payload.provider_request_body["userAgent"],
"vscode/1.X.X (Antigravity/4.3.0)"
);
assert_eq!(payload.provider_request_body["requestType"], "agent");
assert!(payload.provider_request_body.get("requestType").is_none());
assert!(payload.provider_request_body.get("contents").is_none());
assert!(payload.provider_request_body["request"]
.get("contents")