Commit 8f7ae96
陈家名
fix: make reasoning.exclude option actually suppress reasoning tokens
The previous implementation used a `continue` inside an inner for-loop,
which only skipped to the next provider iteration instead of preventing
the `yield` of reasoning-delta chunks. Replaced with `.some()` so the
exclude check correctly controls whether to yield the reasoning chunk.1 parent b6cc513 commit 8f7ae96
1 file changed
+9
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
711 | 711 | | |
712 | 712 | | |
713 | 713 | | |
714 | | - | |
715 | | - | |
| 714 | + | |
| 715 | + | |
716 | 716 | | |
717 | | - | |
| 717 | + | |
718 | 718 | | |
719 | 719 | | |
720 | | - | |
721 | | - | |
722 | | - | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
723 | 726 | | |
724 | 727 | | |
725 | | - | |
726 | | - | |
727 | | - | |
728 | | - | |
729 | 728 | | |
730 | 729 | | |
731 | 730 | | |
| |||
0 commit comments