mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
The greedy `.*` captures with `re.DOTALL` cause `findall()` to merge multiple tool calls into a single match — silently dropping all but the last tool call. Switching to `.*?` (non-greedy) fixes extraction when models return multiple tool calls in one response. Adds test coverage for the DeepSeek V3 parser including a multi-tool call regression test. Co-authored-by: Himess <semihcvlk53@gmail.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| deepseek_v3_1_parser.py | ||
| deepseek_v3_parser.py | ||
| glm45_parser.py | ||
| glm47_parser.py | ||
| hermes_parser.py | ||
| kimi_k2_parser.py | ||
| llama_parser.py | ||
| longcat_parser.py | ||
| mistral_parser.py | ||
| qwen3_coder_parser.py | ||
| qwen_parser.py | ||