Commit dde4fcb
committed
Fix: tool call streaming when both reasoning and tool parsers are enabled
- Add early detection of tool call tokens in streaming mode
- Skip reasoning phase when tool calls are present
- Fixes issue #28297 where hermes tool parser fails in streaming mode
when used together with qwen3 reasoning parser1 parent 67a2da8 commit dde4fcb
1 file changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
946 | 946 | | |
947 | 947 | | |
948 | 948 | | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
949 | 967 | | |
950 | 968 | | |
951 | 969 | | |
| |||
0 commit comments