llama-stack-mirror/llama_stack/providers
Vishwanath Martur 45c6453a8b Add Redis KVStore integration test
Related to #506

Add integration tests for Redis KVStore to ensure functional parity with other KVStores.

* **`llama_stack/distribution/store/tests/test_registry.py`**:
  - Add fixture for `RedisKVStoreConfig`.
  - Add tests for `RedisKVStoreConfig` covering initialization, connection, CRUD operations, namespaced keys, expiration handling, error handling, and concurrency.
  - Add tests for `redis_registry` and `cached_redis_registry` to verify registration, retrieval, and updates of memory banks and models.

* **`llama_stack/providers/tests/memory/test_memory.py`**:
  - Add fixture for `RedisKVStoreConfig`.
  - Add tests for `redis_kvstore` covering initialization, CRUD operations, namespaced keys, expiration handling, error handling, and concurrency.
2024-12-14 15:15:38 +05:30
..
inline [3/n][torchtune integration] add validation logic (#600) 2024-12-13 16:35:06 -08:00
registry [1/n] torchtune <> llama-stack integration skeleton (#540) 2024-12-13 11:05:35 -08:00
remote add embedding model by default to distribution templates (#617) 2024-12-13 12:48:00 -08:00
tests Add Redis KVStore integration test 2024-12-14 15:15:38 +05:30
utils add embedding model by default to distribution templates (#617) 2024-12-13 12:48:00 -08:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
datatypes.py [1/n] torchtune <> llama-stack integration skeleton (#540) 2024-12-13 11:05:35 -08:00