[APIServer] add_prompt_ids_test (#5283)

* add_prompt_ids_test

* Update _base_test.yml

* Update _base_test.yml

* Update _base_test.yml

* Update _base_test.yml
This commit is contained in:
Divano
2025-11-29 08:31:31 +08:00
committed by GitHub
parent 2c7683d551
commit 090a066e4a

View File

@@ -206,6 +206,13 @@ jobs:
check_service 90
python -m pytest -sv test_max_waiting_time.py || TEST_EXIT_CODE=1
export TEMPLATE=TOKEN_NORMAL
curl -X POST http://0.0.0.0:${FLASK_PORT}/switch \
-H "Content-Type: application/json" \
-d "{\"--model\": \"/MODELDATA/ERNIE-4.5-VL-28B-A3B-Thinking\", \"--reasoning-parser\": \"ernie-45-vl-thinking\", \"--tool-call-parser\": \"ernie-45-vl-thinking\", \"--tensor-parallel-size\": 1, \"--quantization\": \"wint4\", \"--max-model-len\": 131072, \"--max-num-seqs\": 32}"
check_service 90
python -m pytest -sv test_prompt_ids.py || TEST_EXIT_CODE=1
popd
echo "TEST_EXIT_CODE=${TEST_EXIT_CODE}" >> /workspace/FastDeploy/exit_code.env
'