You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: gemini-3.8-flash 사용 시 /gsd-progress에서 502 MALFORMED_FUNCTION_CALL 지속 발생 #6876
OpenCodex를 통해 Claude Code에서 gemini-3.8-flash를 사용할 때 /gsd-progress 실행 중 HTTP 502 MALFORMED_FUNCTION_CALL 오류가 지속적으로 발생합니다.
일시적인 서버 문제라고 안내되지만 반복 발생하여 진행 상태 확인 작업을 완료하지 못합니다. 필요한 파일 읽기 및 도구 호출을 완료하고 GSD 진행 상태를 정상적으로 출력하기를 기대합니다.
Reproduction
OpenCodex를 통해 Claude Code를 실행합니다.
gemini-3.8-flash 모델을 사용합니다.
/gsd-progress를 실행합니다.
Read ../.claude/gsd-core/references/ui-brand.md (unchanged) 출력 이후 아래 502 오류가 발생합니다.
실제 사용 중 반복 관찰한 현상이며, 독립적인 최소 재현 테스트는 아직 수행하지 않았습니다.
Version
2.81.1
Operating system
Ubuntu 24.04.5 LTS
Provider and model
gemini-3.8-flash; 오류 메시지에 표시된 upstream: Vertex AI
Logs or error output
/gsd-progress
Read ../.claude/gsd-core/references/ui-brand.md (unchanged)
● API Error: 502 Vertex AI response truncated upstream before the turn completed (MALFORMED_FUNCTION_CALL). This is a server-side issue, usually temporary — try again in a moment. If it persists, check your inference gateway
Screenshots and supporting files
No response
Redacted configuration
Checks
I searched existing issues and documentation.
I removed secrets, tokens, account details, request credentials, and personal data.
Fixed on dev by #6881 (squash 77512080d8). A Gemini MALFORMED_FUNCTION_CALL that ends a turn before any output or tool call is now marked replay-safe. With the opt-in emptyCompletionRetry, the proxy retries it once and merges the usage, instead of returning a 502. Default behavior is unchanged when the option is off. If you still see it with the option on, please reopen with the route and the timing.
Activity
fix(google): let the empty-completion retry replay a pre-output Verte…
lidge-jun commentedon Oct 10, 2026
Fixed on
devby #6881 (squash77512080d8). A GeminiMALFORMED_FUNCTION_CALLthat ends a turn before any output or tool call is now marked replay-safe. With the opt-inemptyCompletionRetry, the proxy retries it once and merges the usage, instead of returning a 502. Default behavior is unchanged when the option is off. If you still see it with the option on, please reopen with the route and the timing.