fix: Correct reasoning-end detection for prompt history (#44551)

Signed-off-by: jwzheng96 <jianweizheng@pku.edu.cn>
Signed-off-by: JianweiZheng <32029023+jwzheng96@users.noreply.github.com>
Signed-off-by: Jason Ozuzu <jasonozuzu@cohere.com>
Signed-off-by: walterbm <walter.beller.morales@gmail.com>
Co-authored-by: JianweiZheng <32029023+jwzheng96@users.noreply.github.com>
Co-authored-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com>
Co-authored-by: walterbm <walter.beller.morales@gmail.com>
Co-authored-by: Walter Beller-Morales <walterbm@users.noreply.github.com>
Co-authored-by: Flora Feng <4florafeng@gmail.com>
This commit is contained in:
JasonCohere
2026-06-26 22:15:06 -07:00
committed by GitHub
co-authored by JianweiZheng Wentao Ye walterbm Walter Beller-Morales Flora Feng
parent 68ee8300a0
commit d706dec904
4 changed files with 645 additions and 1 deletions
+1
View File
@@ -73,6 +73,7 @@ gpt-oss >= 0.0.7; python_version > '3.11'
perceptron # required for isaac test
kaldi-native-fbank >= 1.18.7 # required for fireredasr2 test
cohere_melody>=0.9.0 # required for cohere command reasoning parser test
# Newer versions of datasets require torchcoded, that makes the tests fail in CI because of a missing library.
# Older versions are in conflict with teerratorch requirements.
+2
View File
@@ -101,6 +101,8 @@ click==8.1.7
# schemathesis
# typer
# uvicorn
cohere-melody==0.9.0
# via -r requirements/test/cuda.in
colorama==0.4.6
# via
# perceptron