llama-stack-mirror/tests
Matthew Farrellee c78ea22ff1 fix(library_client): improve initialization error handling and prevent AttributeError
- Initialize route_impls to None in constructor to prevent AttributeError
- Consolidate initialization checks to single point in request() method
- Improve error message to be more helpful ("Please call initialize() first")
- Add comprehensive test suite to prevent regressions

The library client now has better error handling when users forget to call
initialize(), showing a clear ValueError instead of confusing AttributeError.
All initialization validation is now centralized in the request() method,
with internal methods (_call_non_streaming, _call_streaming, _convert_body)
relying on this single check for cleaner, more maintainable code.
2025-07-29 07:35:39 -04:00
..
client-sdk/post_training feat: Add nemo customizer (#1448) 2025-03-25 11:01:10 -07:00
common feat(responses): implement full multi-turn support (#2295) 2025-06-02 15:35:49 -07:00
external fix: adjust provider type used in external provider test (#2921) 2025-07-28 10:14:16 -07:00
integration feat: implement chunk deletion for vector stores (#2701) 2025-07-25 10:30:30 -04:00
unit fix(library_client): improve initialization error handling and prevent AttributeError 2025-07-29 07:35:39 -04:00
verifications fix(ollama): Download remote image URLs for Ollama (#2551) 2025-06-30 20:36:11 +05:30
__init__.py refactor(test): introduce --stack-config and simplify options (#1404) 2025-03-05 17:02:02 -08:00
Containerfile ci: test safety with starter (#2628) 2025-07-09 16:53:50 +02: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