85742ab165
CPU Test / Lint - next (push) Waiting to run
Dashboard / Chromatic (push) Waiting to run
CPU Test / Lint - fast (push) Waiting to run
CPU Test / Build documentation (push) Waiting to run
CPU Test / Test (Store, legacy, Python 3.10) (push) Waiting to run
CPU Test / Test (Utilities, legacy, Python 3.10) (push) Waiting to run
CPU Test / Test (Weave, legacy, Python 3.10) (push) Waiting to run
CPU Test / Test (AgentOps, stable, Python 3.11) (push) Waiting to run
CPU Test / Test (LLM proxy, stable, Python 3.11) (push) Waiting to run
CPU Test / Test (Others, stable, Python 3.11) (push) Waiting to run
CPU Test / Test (Store, stable, Python 3.11) (push) Waiting to run
CPU Test / Test (Utilities, stable, Python 3.11) (push) Waiting to run
CPU Test / Test (Weave, stable, Python 3.11) (push) Waiting to run
CPU Test / Test (AgentOps, stable, Python 3.12) (push) Waiting to run
CPU Test / Test (LLM proxy, stable, Python 3.12) (push) Waiting to run
CPU Test / Test (Others, stable, Python 3.12) (push) Waiting to run
CPU Test / Test (Store, stable, Python 3.12) (push) Waiting to run
CPU Test / Test (Utilities, stable, Python 3.12) (push) Waiting to run
CPU Test / Test (Weave, stable, Python 3.12) (push) Waiting to run
CPU Test / Test (AgentOps, latest, Python 3.13) (push) Waiting to run
CPU Test / Test (LLM proxy, latest, Python 3.13) (push) Waiting to run
CPU Test / Test (Others, latest, Python 3.13) (push) Waiting to run
CPU Test / Test (Store, latest, Python 3.13) (push) Waiting to run
CPU Test / Lint - slow (push) Waiting to run
CPU Test / Lint - JavaScript (push) Waiting to run
CPU Test / Test (AgentOps, legacy, Python 3.10) (push) Waiting to run
CPU Test / Test (LLM proxy, legacy, Python 3.10) (push) Waiting to run
CPU Test / Test (Others, legacy, Python 3.10) (push) Waiting to run
CPU Test / Test (Utilities, latest, Python 3.13) (push) Waiting to run
CPU Test / Test (Weave, latest, Python 3.13) (push) Waiting to run
CPU Test / Test (JavaScript) (push) Waiting to run
Deploy Documentation / deploy (push) Has been cancelled
31 lines
792 B
Bash
Executable File
31 lines
792 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
export
|
|
|
|
# Configurable port (first CLI argument, or default to 12306)
|
|
PORT="${1:-12306}"
|
|
|
|
# Launch LiteLLM Proxy in background
|
|
echo "Starting LiteLLM Proxy on port ${PORT}..."
|
|
nohup uv run litellm --config scripts/litellm_ci.yaml --port "${PORT}" &
|
|
|
|
# Wait for the server to be ready
|
|
echo "Waiting for LiteLLM Proxy to start..."
|
|
for i in {1..30}; do
|
|
if curl -s "http://localhost:${PORT}/v1/models" > /dev/null; then
|
|
echo "LiteLLM Proxy is up!"
|
|
break
|
|
fi
|
|
echo "Waiting... (${i})"
|
|
# Wait for 2 seconds before checking again
|
|
sleep 2
|
|
done
|
|
|
|
# Run sanity check
|
|
echo "Running sanity check..."
|
|
export OPENAI_BASE_URL="http://localhost:${PORT}/"
|
|
export OPENAI_API_KEY="dummy"
|
|
uv run scripts/litellm_sanity_check.py
|
|
|
|
echo "Sanity check complete!"
|