mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-08-24 21:01:26 -04:00
[PR #119] [MERGED] [fix] lazily init object index to avoid embeddings init #276
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
main← Head:logan/lazily_load_object_index📝 Commits (1)
beda7a0lazily 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.