llama-stack-mirror/tests/unit/distribution
Ashwin Bharambe f50ce11a3b
feat(tests): make inference_recorder into api_recorder (include tool_invoke) (#3403)
Renames `inference_recorder.py` to `api_recorder.py` and extends it to
support recording/replaying tool invocations in addition to inference
calls.

This allows us to record web-search, etc. tool calls and thereafter
apply recordings for `tests/integration/responses`

## Test Plan

```
export OPENAI_API_KEY=...
export TAVILY_SEARCH_API_KEY=...

./scripts/integration-tests.sh --stack-config ci-tests \
   --suite responses --inference-mode record-if-missing
```
2025-10-09 14:27:51 -07:00
..
routers fix: improve model availability checks: Allows use of unavailable models on startup (#3717) 2025-10-07 14:27:24 -04:00
routing_tables feat!: Migrate Vector DB IDs to Vector Store IDs (breaking change) (#3253) 2025-09-05 15:40:34 +02:00
test_api_recordings.py feat(tests): make inference_recorder into api_recorder (include tool_invoke) (#3403) 2025-10-09 14:27:51 -07:00
test_build_path.py chore: rename templates to distributions (#3035) 2025-08-04 11:34:17 -07:00
test_context.py chore(rename): move llama_stack.distribution to llama_stack.core (#2975) 2025-07-30 23:30:53 -07:00
test_distribution.py feat: allow for multiple external provider specs (#3341) 2025-10-06 15:26:38 +02:00
test_library_client_initialization.py chore: refactor server.main (#3462) 2025-09-18 21:11:13 -07:00