Overhaul demos directory: cleanup, restructure, and standardize configs (#760)

This commit is contained in:
Adil Hafeez 2026-02-17 03:09:28 -08:00 committed by GitHub
parent c3591bcbf3
commit 473996d35d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
205 changed files with 304 additions and 5223 deletions

View file

@ -8,7 +8,7 @@ services:
- "12000:12000"
- "19901:9901"
volumes:
- ../../demos/samples_python/weather_forecast/plano_config.yaml:/app/plano_config.yaml
- ../../demos/getting_started/weather_forecast/plano_config.yaml:/app/plano_config.yaml
- /etc/ssl/cert.pem:/etc/ssl/cert.pem
extra_hosts:
- "host.docker.internal:host-gateway"

View file

@ -23,7 +23,7 @@ log starting > ../build.log
log building and running function_calling demo
log ===========================================
cd ../../demos/samples_python/weather_forecast/
cd ../../demos/getting_started/weather_forecast/
docker compose up weather_forecast_service --build -d
cd -
@ -46,7 +46,7 @@ uv sync
log startup plano gateway with function calling demo
cd ../../
planoai down
planoai up demos/samples_python/weather_forecast/config.yaml
planoai up demos/getting_started/weather_forecast/config.yaml
cd -
log running e2e tests for prompt gateway
@ -59,7 +59,7 @@ planoai down
log startup plano gateway with model alias routing demo
cd ../../
planoai up demos/use_cases/model_alias_routing/config_with_aliases.yaml
planoai up demos/llm_routing/model_alias_routing/config_with_aliases.yaml
cd -
log running e2e tests for model alias routing
@ -80,6 +80,6 @@ uv run pytest test_openai_responses_api_client_with_state.py
log shutting down the weather_forecast demo
log =======================================
cd ../../demos/samples_python/weather_forecast
cd ../../demos/getting_started/weather_forecast
docker compose down
cd -

View file

@ -37,7 +37,7 @@ uv sync
log "startup plano gateway with model alias routing demo"
cd ../../
planoai down || true
planoai up demos/use_cases/model_alias_routing/config_with_aliases.yaml
planoai up demos/llm_routing/model_alias_routing/config_with_aliases.yaml
cd -
# Run both test suites that share this config in a single pytest invocation

View file

@ -34,7 +34,7 @@ uv sync
# Start weather_forecast service (needed for prompt_gateway tests)
log "building and running weather_forecast service"
cd ../../demos/samples_python/weather_forecast/
cd ../../demos/getting_started/weather_forecast/
docker compose up weather_forecast_service --build -d
cd -
@ -42,7 +42,7 @@ cd -
log "startup plano gateway with function calling demo"
cd ../../
planoai down || true
planoai up demos/samples_python/weather_forecast/config.yaml
planoai up demos/getting_started/weather_forecast/config.yaml
cd -
# Run tests
@ -52,6 +52,6 @@ uv run pytest test_prompt_gateway.py
# Cleanup
log "shutting down"
planoai down || true
cd ../../demos/samples_python/weather_forecast
cd ../../demos/getting_started/weather_forecast
docker compose down
cd -