[PR #119] [MERGED] [fix] lazily init object index to avoid embeddings init #276

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

📋 Pull Request Information

Original PR: https://github.com/run-llama/llama_deploy/pull/119
Author: @logan-markewich
Created: 7/9/2024
Status: Merged
Merged: 7/9/2024
Merged by: @logan-markewich

Base: mainHead: logan/lazily_load_object_index


📝 Commits (1)

  • beda7a0 lazily init object index to avoid embeddings init

📊 Changes

1 file changed (+32 additions, -17 deletions)

View changed files

📝 llama_agents/control_plane/server.py (+32 -17)

📄 Description

By lazily initing the object index, we avoid any issues with default openai embeddings (and also save some memory)

Fixes https://github.com/run-llama/llama-agents/issues/87


🔄 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/119 **Author:** [@logan-markewich](https://github.com/logan-markewich) **Created:** 7/9/2024 **Status:** ✅ Merged **Merged:** 7/9/2024 **Merged by:** [@logan-markewich](https://github.com/logan-markewich) **Base:** `main` ← **Head:** `logan/lazily_load_object_index` --- ### 📝 Commits (1) - [`beda7a0`](https://github.com/run-llama/llama_deploy/commit/beda7a016b86048da5c583d278cd00c0b505b534) lazily init object index to avoid embeddings init ### 📊 Changes **1 file changed** (+32 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `llama_agents/control_plane/server.py` (+32 -17) </details> ### 📄 Description By lazily initing the object index, we avoid any issues with default openai embeddings (and also save some memory) Fixes https://github.com/run-llama/llama-agents/issues/87 --- <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:16:43 -05:00
yindo closed this issue 2026-02-16 01:16:43 -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#276