Bug: Glob tool hangs indefinitely with chutes provider #1390

Closed
opened 2026-02-16 17:30:46 -05:00 by yindo · 3 comments
Owner

Originally created by @imakesound on GitHub (Aug 20, 2025).

Originally assigned to: @thdxr on GitHub.

Environment:

  • OpenCode version: 0.5.8
  • Provider: chutes (Chutes Base subscription, all models tested, qwen3 coder, kimi k2, etc)
  • OS: Linux 6.15.7-200.nobara.fc42.x86_64

Issue:
The Glob tool call starts but never completes when using the chutes provider. The
agent becomes unresponsive and requires manual interruption. This affects all
models on the chutes provider.

Provider Comparison:

  • Anthropic: Glob tool works normally
  • OpenRouter: Glob tool works normally
  • Chutes: Glob tool hangs on all models

Evidence:
Log shows tool call initiated at 10:01:11 but no corresponding tool-result or
finish-step entries:
INFO 2025-08-20T10:01:11 +0ms service=session type=tool-call part
INFO 2025-08-20T10:03:05 +114804ms service=tui mouse [user interruption ~2min
later]

Workaround:
Disable glob tool for chutes provider agents. Alternative tools (find, ls, bash)
work normally.

Expected:
Glob tool should complete successfully or timeout with error message.

Originally created by @imakesound on GitHub (Aug 20, 2025). Originally assigned to: @thdxr on GitHub. Environment: - OpenCode version: 0.5.8 - Provider: chutes (Chutes Base subscription, all models tested, qwen3 coder, kimi k2, etc) - OS: Linux 6.15.7-200.nobara.fc42.x86_64 Issue: The Glob tool call starts but never completes when using the chutes provider. The agent becomes unresponsive and requires manual interruption. This affects all models on the chutes provider. Provider Comparison: - Anthropic: Glob tool works normally - OpenRouter: Glob tool works normally - Chutes: Glob tool hangs on all models Evidence: Log shows tool call initiated at 10:01:11 but no corresponding tool-result or finish-step entries: INFO 2025-08-20T10:01:11 +0ms service=session type=tool-call part INFO 2025-08-20T10:03:05 +114804ms service=tui mouse [user interruption ~2min later] Workaround: Disable glob tool for chutes provider agents. Alternative tools (find, ls, bash) work normally. Expected: Glob tool should complete successfully or timeout with error message.
yindo closed this issue 2026-02-16 17:30:46 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Aug 20, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #1734: Similar hanging behavior where agents become unresponsive and ESC interruption doesn't work properly
  • #234: Tool calling issues with specific providers/models, where certain models have compatibility problems with tool execution
  • #1111: Previous glob tool errors with kimi k2 (also available through chutes), suggesting provider-specific tool compatibility issues

The common pattern seems to be tool execution problems with specific providers or models that may not fully support OpenCode's tool calling format.

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Aug 20, 2025): This issue might be a duplicate of existing issues. Please check: - #1734: Similar hanging behavior where agents become unresponsive and ESC interruption doesn't work properly - #234: Tool calling issues with specific providers/models, where certain models have compatibility problems with tool execution - #1111: Previous glob tool errors with kimi k2 (also available through chutes), suggesting provider-specific tool compatibility issues The common pattern seems to be tool execution problems with specific providers or models that may not fully support OpenCode's tool calling format. Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Aug 20, 2025):

hmmm will investigate

@rekram1-node commented on GitHub (Aug 20, 2025): hmmm will investigate
Author
Owner

@rekram1-node commented on GitHub (Dec 27, 2025):

[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

@rekram1-node commented on GitHub (Dec 27, 2025): [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1390