[model-gateway] Add e2e tests of streaming events and tool choice for response api (#13880)

Co-authored-by: Simo Lin <linsimo.mark@gmail.com>
This commit is contained in:
Xinyue Zhang
2025-12-01 15:27:12 -08:00
committed by GitHub
parent 02af51e4fc
commit 1d66a14c2e
5 changed files with 919 additions and 502 deletions

View File

@@ -295,10 +295,11 @@ jobs:
- name: Run Python E2E response API tests
run: |
python3 -m pip install pytest-rerunfailures
bash scripts/killall_sglang.sh "nuk_gpus"
cd sgl-router
source "$HOME/.cargo/env"
SHOW_ROUTER_LOGS=1 pytest py_test/e2e_response_api -s -vv -o log_cli=true --log-cli-level=INFO
SHOW_ROUTER_LOGS=1 pytest --reruns 3 --reruns-delay 2 py_test/e2e_response_api -s -vv -o log_cli=true --log-cli-level=INFO
- name: Run Python E2E gRPC tests
run: |