Repository navigation
Commit ccf012d
committed
tests: cover ignored EOS at the output limit
A request with ignore_eos keeps generating past end-of-sequence tokens, so its
last sampled token can be an EOS id even though it finished on the output
limit. Assert that the terminal event reports the length reason and the
output-limit termination.
Validation: the new case fails on the unfixed runtime at the terminal-event
assertion (reason "stop", termination Eos) in the release library test build.
Design-Signed-Off-By: Hermes Agent (DeepSeek V4.1 Flash); design-review=2d931 parent 0ce6de8 commit ccf012d
1 file changed
Lines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
715 | 715 | | |
716 | 716 | | |
717 | 717 | | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
718 | 751 | | |
719 | 752 | | |
720 | 753 | | |
| |||
0 commit comments