20 lines
459 B
Bash
Executable File
20 lines
459 B
Bash
Executable File
#!/bin/bash
|
|
# Run the streaming tool call tests
|
|
|
|
set -e
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
# Default values
|
|
export VLLM_API_BASE="${VLLM_API_BASE:-http://localhost:8000/v1}"
|
|
export VLLM_API_KEY="${VLLM_API_KEY:-none}"
|
|
export VLLM_MODEL="${VLLM_MODEL:-zai-org/GLM-5.1-FP8}"
|
|
|
|
echo "Configuration:"
|
|
echo " API_BASE: $VLLM_API_BASE"
|
|
echo " MODEL: $VLLM_MODEL"
|
|
echo ""
|
|
|
|
# Run the test
|
|
python3 "$SCRIPT_DIR/test_streaming_tool_calls.py"
|