[BUG] Every bash command with Google Vertex seems to get stuck before executing

Resolved 💬 15 comments Opened May 28, 2025 by gboston Closed Jun 5, 2025

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [ ] AWS Bedrock
  • [x] Google Vertex AI
  • [x] Other: LiteLLM (pass through vertex AI)
  • Claude CLI version: 1.0.3
  • Operating System: MacOS 15.5
  • Terminal: Iterm2

Bug Description

Bash tool seems to be hanging for 1-2min for simple commands. This doesn't seem to be the case when using Anthropic directly.

Steps to Reproduce

  1. Ask to validate script eg. scripts.sh
  2. Bash (bash -n ./scripts.sh)

Expected Behavior

Immediate request to proceed with 1. yes 2. Yes, and don't ask again 3. No and tell something differently

Actual Behavior

Hangs for 160s before requesting if we can proceed

Additional Context

<img width="853" alt="Image" src="https://github.com/user-attachments/assets/7a51efe8-63f4-409f-9cad-5342417678cf" />

View original on GitHub ↗

This issue has 15 comments on GitHub. Read the full discussion on GitHub ↗