-
Notifications
You must be signed in to change notification settings - Fork 21
LCORE-1452: Update llama stack to 0.5.x in rag-content #142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: lightspeed-core/rag-content
Length of output: 4480
🌐 Web query:
`What are the documented breaking changes (if any) between llama-stack 0.4.x and 0.5.0 for:
Please include official release notes or API docs links.`
💡 Result:
No documented breaking changes specific to the queried components between llama-stack 0.4.x and 0.5.0. The 0.5.0 release includes general breaking changes from a major architectural refactoring to use FastAPI routers across all APIs, which may indirectly affect client usage: - Post-Training API endpoints restructured (path params)
#4606- Embeddings API rejects explicit null for optional fields#4644- Safety API provider interface changed to request objects#4643- Meta-Reference GPU inference provider removed#4828- Scope-based endpoint authorization removed#4734For client.embeddings.create(...): The Embeddings API change (#4644) is a breaking change - explicit null values for optional fields are now rejected. For the library client (llama_stack.core.library_client.AsyncLlamaStackAsLibraryClient): Early development fixes predate 0.5.0, but the FastAPI refactor may impact internal routing used by the library client mode. No specific mentions found for: - llama_stack.core.library_client.AsyncLlamaStackAsLibraryClient breaking changes - llama_stack_api.rag_tool.RAGDocument changes (RAG tool docs reference it in pre-0.5 contexts, with migration notes to vector stores) - client.vector_stores.create(...) breaking changes (Vector stores API evolved with OpenAI compatibility enhancements pre-0.5) Official sources: - Release notes: https://github.com/llamastack/llama-stack/blob/main/RELEASE_NOTES.md - Releases page: https://github.com/llamastack/llama-stack/releases - PyPI versions confirm 0.5.0 released 2026-02-05Citations:
Verify embeddings.create() compatibility with llama-stack 0.5.0 null handling change.
Lines 50–52 upgrade llama-stack to 0.5.0. Runtime code uses four llama-stack APIs:
AsyncLlamaStackAsLibraryClient(line 357)llama_stack_api.rag_tool.RAGDocument(line 360)client.vector_stores.create()(lines 473–576)client.embeddings.create()(line 537)Tests exist for client/document instantiation, but llama-stack 0.5.0 includes a documented breaking change (
#4644): the Embeddings API now rejects explicit null values for optional fields. Line 537 callsembeddings.create()with parameters that may be affected. Additionally, the 0.5.0 FastAPI router refactor may impact the library client mode beyond what is currently documented. Pre-merge tests did not fully pass—review test coverage for these specific APIs before merging.🤖 Prompt for AI Agents