If you want to see how this is done in production, check out the [parse_action implementation in default.py](https://github.com/swe-agent/mini-swe-agent/blob/main/src/minisweagent/agents/default.py) in mini-swe-agent.
If you want to see how this is done in production, check out the parse_action implementation in default.py in mini-swe-agent.