mirror of
https://github.com/katanemo/plano.git
synced 2026-04-29 10:56:35 +02:00
* Fix code scanning and dependabot security alerts Code scanning fixes (14 alerts): - Fix XSS in OG image route by validating request origin against allowlist - Fix incomplete URL sanitization in blog layout using exact hostname matching - Bind port-check socket to 127.0.0.1 instead of 0.0.0.0 - Add explicit permissions to 7 GitHub Actions workflows Dependabot fixes: - Update @isaacs/brace-expansion 5.0.0 -> 5.0.1 (CVE-2026-25547) - Update bytes 1.10.1 -> 1.11.1 (CVE-2026-25541) - Update time 0.3.41 -> 0.3.47 (CVE-2026-25727) - Update cryptography 45.0.7 -> 46.0.5 (CVE-2026-26007) - Update python-multipart 0.0.20 -> 0.0.22 (CVE-2026-24486) - Update urllib3 2.6.2 -> 2.6.3 in test lockfiles (CVE-2026-21441) - Update Werkzeug 3.1.4 -> 3.1.5 (CVE-2026-21860) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Address PR review feedback - Replace plano.katanemo.com with planoai.dev in allowed hosts - Add planoai.dev to OG route and blog layout allowlists - Revert socket bind to 0.0.0.0 (intentional for port-in-use check) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .vscode | ||
| common.py | ||
| common_scripts.sh | ||
| config_memory_state_v1_responses.yaml | ||
| docker-compose.yaml | ||
| pyproject.toml | ||
| README.md | ||
| response.hex | ||
| response_with_tools.hex | ||
| run_e2e_tests.sh | ||
| run_model_alias_tests.sh | ||
| run_prompt_gateway_tests.sh | ||
| run_responses_state_tests.sh | ||
| test_model_alias_routing.py | ||
| test_openai_responses_api_client.py | ||
| test_openai_responses_api_client_with_state.py | ||
| test_prompt_gateway.py | ||
| uv.lock | ||
e2e tests
e2e tests for arch llm gateway and prompt gateway
To be able to run e2e tests successfully run_e2e_script prepares environment in following way,
- build and start weather_forecast demo (using docker compose)
- build, install and start model server async (using uv)
- build and start Plano gateway (using docker compose)
- wait for model server to be ready
- wait for Plano gateway to be ready
- start e2e tests (using uv)
- runs llm gateway tests for llm routing
- runs prompt gateway tests to test function calling, parameter gathering and summarization
- cleanup
- stops Plano gateway
- stops model server
- stops weather_forecast demo
How to run
To run locally make sure that following requirements are met.
Requirements
- Python 3.10
- uv
- Docker
Running tests locally
sh run_e2e_test.sh