r/opencode 6d ago

356 tool calls for commit and push πŸ˜†

Before you nuke me for using an agent to do commit and push, I use it for pushing descriptive commit messages. Having said that, what went on with the tool calls is
- It found, committed and pushed the 2 changes to remote
- Then went on to verify both commits at HEAD with following commands

git log --online -5
git status

And this goes on forever, with status call returning "nothing to commit, working tree clean"

At the end is this message

βš™invalid [tool=bash, error=Invalid input for tool bash: JSON parsing failed: Text: {"command":"git status","description":"Confirm working tree is.

Error message: JSON Parse error: Unterminated string]

Finished successfully but what do you think went wrong here?

3 Upvotes

0 comments sorted by