完善 Antigravity 与 Gemini 跨格式兼容

This commit is contained in:
MMEXA
2026-07-08 22:34:29 +08:00
parent b1ed6b24b0
commit f9c8ec41f4
8 changed files with 961 additions and 175 deletions
@@ -1520,7 +1520,10 @@ async fn gateway_executes_openai_responses_antigravity_cross_format_upstream_str
seen_remote_execution_runtime_request.url,
"https://antigravity.googleapis.com/v1internal:streamGenerateContent?alt=sse"
);
assert_eq!(seen_remote_execution_runtime_request.accept, "*/*");
assert_eq!(
seen_remote_execution_runtime_request.accept,
"text/event-stream"
);
assert_eq!(
seen_remote_execution_runtime_request.authorization,
"Bearer refreshed-antigravity-cli-access-token"