[PR #391] [MERGED] feat: make the KV store configurable via env vars #434

Closed
opened 2026-02-16 01:17:20 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/llama_deploy/pull/391
Author: @masci
Created: 11/27/2024
Status: Merged
Merged: 11/28/2024
Merged by: @masci

Base: mainHead: massi/370


📝 Commits (8)

📊 Changes

19 files changed (+428 additions, -50 deletions)

View changed files

📝 docs/docs/api_reference/llama_deploy/control_plane.md (+2 -0)
📝 docs/docs/module_guides/llama_deploy/20_core_components.md (+15 -0)
examples/redis_state_store/README.md (+79 -0)
examples/redis_state_store/docker-compose.yml (+12 -0)
examples/redis_state_store/redis_store.yml (+15 -0)
examples/redis_state_store/requirements.txt (+1 -0)
examples/redis_state_store/src/workflow.py (+26 -0)
📝 llama_deploy/cli/__init__.py (+2 -0)
📝 llama_deploy/cli/run.py (+4 -0)
llama_deploy/cli/sessions.py (+34 -0)
📝 llama_deploy/client/models/apiserver.py (+2 -0)
📝 llama_deploy/control_plane/base.py (+0 -17)
📝 llama_deploy/control_plane/config.py (+51 -7)
📝 llama_deploy/control_plane/server.py (+36 -24)
📝 tests/cli/test_run.py (+2 -2)
tests/cli/test_sessions.py (+45 -0)
tests/control_plane/test_config.py (+61 -0)
tests/control_plane/test_control_plane.py (+0 -0)
tests/control_plane/test_server.py (+41 -0)

📄 Description

Fixes #370

Allow passing a URI string to the control plane constructor to build a KV store. For now only Redis and MongoDB are supported, to be considered reference implementation. Ideally we could support all the available store in llama_index.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/llama_deploy/pull/391 **Author:** [@masci](https://github.com/masci) **Created:** 11/27/2024 **Status:** ✅ Merged **Merged:** 11/28/2024 **Merged by:** [@masci](https://github.com/masci) **Base:** `main` ← **Head:** `massi/370` --- ### 📝 Commits (8) - [`c9f9918`](https://github.com/run-llama/llama_deploy/commit/c9f991885fa07906bb4c81c041c63e49670c24f6) feat: make the KV store configurable via env vars - [`f6fdb14`](https://github.com/run-llama/llama_deploy/commit/f6fdb1401f0e5a88bda6f6b158463523df91e815) more unit tests - [`15052c3`](https://github.com/run-llama/llama_deploy/commit/15052c3c2c44336bbdc00179bd0d78aa34954da7) move kvstore uri in the config - [`cb88a62`](https://github.com/run-llama/llama_deploy/commit/cb88a62387964bde18a467ccf8804088f5dd1926) add redis example - [`7b3b6f4`](https://github.com/run-llama/llama_deploy/commit/7b3b6f4616e54b5b70b758279e30214628810983) fix Redis creation - [`6ec8ba8`](https://github.com/run-llama/llama_deploy/commit/6ec8ba8654ec1a5d1081677066c9b637f28fdbdf) add more docs - [`906c0c5`](https://github.com/run-llama/llama_deploy/commit/906c0c5217cf6b7356451e1336e861eddc9907aa) use state in the example - [`08b73e3`](https://github.com/run-llama/llama_deploy/commit/08b73e32315038ed71ab23512eb829b4be04de61) add sessions create command to the CLI ### 📊 Changes **19 files changed** (+428 additions, -50 deletions) <details> <summary>View changed files</summary> 📝 `docs/docs/api_reference/llama_deploy/control_plane.md` (+2 -0) 📝 `docs/docs/module_guides/llama_deploy/20_core_components.md` (+15 -0) ➕ `examples/redis_state_store/README.md` (+79 -0) ➕ `examples/redis_state_store/docker-compose.yml` (+12 -0) ➕ `examples/redis_state_store/redis_store.yml` (+15 -0) ➕ `examples/redis_state_store/requirements.txt` (+1 -0) ➕ `examples/redis_state_store/src/workflow.py` (+26 -0) 📝 `llama_deploy/cli/__init__.py` (+2 -0) 📝 `llama_deploy/cli/run.py` (+4 -0) ➕ `llama_deploy/cli/sessions.py` (+34 -0) 📝 `llama_deploy/client/models/apiserver.py` (+2 -0) 📝 `llama_deploy/control_plane/base.py` (+0 -17) 📝 `llama_deploy/control_plane/config.py` (+51 -7) 📝 `llama_deploy/control_plane/server.py` (+36 -24) 📝 `tests/cli/test_run.py` (+2 -2) ➕ `tests/cli/test_sessions.py` (+45 -0) ➕ `tests/control_plane/test_config.py` (+61 -0) ➖ `tests/control_plane/test_control_plane.py` (+0 -0) ➕ `tests/control_plane/test_server.py` (+41 -0) </details> ### 📄 Description Fixes #370 Allow passing a URI string to the control plane constructor to build a KV store. For now only Redis and MongoDB are supported, to be considered reference implementation. Ideally we could support all the available store in llama_index. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 01:17:20 -05:00
yindo closed this issue 2026-02-16 01:17:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_deploy#434