Skip to content
Discussion options

You must be logged in to vote

This is a common issue with OpenClaude and usually comes down to the system prompt or tool configuration. Since you confirmed other clients (opencode) work fine with the same model, the problem is specific to how OpenClaude manages the agent loop.

Most likely causes and fixes

1. Check your system prompt for tool usage instructions

OpenClaude's default behavior can be too aggressive with tool calls. If the system prompt says something like "use tools to solve the task," the agent may enter a loop: call tool → get result → call tool again → repeat.

Fix: Add explicit stop conditions to your system prompt:

Complete the task in as few steps as possible. After receiving a tool result, evaluate …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by NoReplyUI5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants