mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-07 02:47:21 +00:00
Fixed KeyError when chunks don't have document_id in metadata or chunk_metadata. Updated logging to safely extract document_id using getattr and RAG memory to handle different document_id locations. Added test for missing document_id scenarios. Fixes issue #3494 where /v1/vector-io/insert would crash with KeyError. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| datasets.py | ||
| eval_scoring.py | ||
| inference.py | ||
| safety.py | ||
| tool_runtime.py | ||
| vector_io.py | ||