OpenHands
OpenHands copied to clipboard
Response recognition for weak llms
When the response json can't be decoded straight away (the llm included multiple responses), search the text for all json-looking strings and pick the longest one.
This massively helps with weak llms that include multiple responses in their output.