mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 08:37:06 +08:00
【CI case】for echo finish_reason text_after_process and raw_prediction check (#3630)
* Add ci case for min token and max token * 【CI case】include total_tokens in the last packet of completion interface stream output * echo&finish_reason&text_after_process&raw_prediction check * echo&finish_reason&text_after_process&raw_prediction check * echo&finish_reason&text_after_process&raw_prediction check * echo&finish_reason&text_after_process&raw_prediction check * echo&finish_reason&text_after_process&raw_prediction check --------- Co-authored-by: xujing43 <xujing43@baidu.com>
This commit is contained in:
@@ -30,7 +30,7 @@ if ! [[ $(python -V 2>&1 | awk '{print $2}' | awk -F '.' '{print $1$2}') -ge 36
|
||||
fi
|
||||
|
||||
# Exclude any files under the 'test/ce/server/' directory from code style checks.
|
||||
diff_files=$(git diff --name-only --diff-filter=ACMR ${BRANCH} | grep -v '^test/ce/server/')
|
||||
diff_files=$(git diff --name-only --diff-filter=ACMR ${BRANCH} | grep -v '^tests/ce/server/')
|
||||
num_diff_files=$(echo "$diff_files" | wc -l)
|
||||
echo -e "diff files between pr and ${BRANCH}:\n${diff_files}"
|
||||
|
||||
|
Reference in New Issue
Block a user