mirror of
https://github.com/katanemo/plano.git
synced 2026-04-27 17:56:28 +02:00
* fixed for claude code routing. first commit * removing redundant enum tags for cache_control * making sure that claude code can run via the archgw cli * fixing broken config * adding a README.md and updated the cli to use more of our defined patterns for params * fixed config.yaml * minor fixes to make sure PR is clean. Ready to ship * adding claude-sonnet-4-5 to the config * fixes based on PR * fixed alias for README * fixed 400 error handling tests, now that we write temperature to 1.0 for GPT-5 --------- Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-257.local> Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-288.local> |
||
|---|---|---|
| .. | ||
| .vscode | ||
| common.py | ||
| common_scripts.sh | ||
| docker-compose.yaml | ||
| poetry.lock | ||
| pyproject.toml | ||
| README.md | ||
| run_e2e_tests.sh | ||
| test_model_alias_routing.py | ||
| test_prompt_gateway.py | ||
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 poetry)
- build and start arch gateway (using docker compose)
- wait for model server to be ready
- wait for arch gateway to be ready
- start e2e tests (using poetry)
- runs llm gateway tests for llm routing
- runs prompt gateway tests to test function calling, parameter gathering and summarization
- cleanup
- stops arch 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
- Poetry
- Docker
Running tests locally
sh run_e2e_test.sh