Commit 6d000bc
committed
fix: remove unnecessary re-parsing when experiment is off
When using the old parser, parsing already happens during streaming.
The finalization step is only needed for the new AssistantMessageParser.
This ensures the code executes exactly as before when experiment is disabled.1 parent 94c316e commit 6d000bc
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1705 | 1705 | | |
1706 | 1706 | | |
1707 | 1707 | | |
1708 | | - | |
1709 | | - | |
1710 | | - | |
1711 | 1708 | | |
| 1709 | + | |
1712 | 1710 | | |
1713 | 1711 | | |
1714 | 1712 | | |
| |||
0 commit comments