llama-stack/tests
Ashwin Bharambe ce33d02443
fix(tools): do not index tools, only index toolgroups (#2261)
When registering a MCP endpoint, we cannot list tools (like we used to)
since the MCP endpoint may be behind an auth wall. Registration can
happen much sooner (via run.yaml).

Instead, we do listing only when the _user_ actually calls listing.
Furthermore, we cache the list in-memory in the server. Currently, the
cache is not invalidated -- we may want to periodically re-list for MCP
servers. Note that they must call `list_tools` before calling
`invoke_tool` -- we use this critically.

This will enable us to list MCP servers in run.yaml

## Test Plan

Existing tests, updated tests accordingly.
2025-05-25 13:27:52 -07:00
..
client-sdk/post_training feat: Add nemo customizer (#1448) 2025-03-25 11:01:10 -07:00
common feat: enable MCP execution in Responses impl (#2240) 2025-05-24 14:20:42 -07:00
external-provider/llama-stack-provider-ollama feat: refactor external providers dir (#2049) 2025-05-15 20:17:03 +02:00
integration fix(tools): do not index tools, only index toolgroups (#2261) 2025-05-25 13:27:52 -07:00
unit fix(tools): do not index tools, only index toolgroups (#2261) 2025-05-25 13:27:52 -07:00
verifications feat: enable MCP execution in Responses impl (#2240) 2025-05-24 14:20:42 -07:00
__init__.py refactor(test): introduce --stack-config and simplify options (#1404) 2025-03-05 17:02:02 -08:00
README.md docs: revamp testing documentation (#2155) 2025-05-13 11:28:29 -07:00

Llama Stack Tests

Llama Stack has multiple layers of testing done to ensure continuous functionality and prevent regressions to the codebase.

Testing Type Details
Unit unit/README.md
Integration integration/README.md
Verification verifications/README.md