mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
- Create tests/proxy_e2e_search_api_tests/ with test_config.yaml and test_e2e_search_api.py
- Test config configures perplexity-search tool with PERPLEXITYAI_API_KEY env var
- E2E tests cover:
- Proxy health check
- Search tools listing and validation
- Basic search via /v1/search/{tool_name} (URL path param)
- Search with max_results parameter
- Search via /v1/search with tool name in request body
- Async search variant
- Error case: missing query field
- Error case: unauthenticated request
- Add proxy_e2e_search_api_tests job to .circleci/config.yml
- Machine executor with Docker, PostgreSQL, and litellm-docker-database image
- Passes PERPLEXITYAI_API_KEY to the proxy container
- Requires build_docker_database_image
- Runs on main and litellm_* branches
- Added to publish_to_pypi requires gate
Co-authored-by: Ishaan Jaff <ishaan-jaff@users.noreply.github.com>
|
||
|---|---|---|
| .. | ||
| test_config.yaml | ||
| test_e2e_search_api.py | ||