llama-stack-mirror/llama_stack/core/routers
skamenan7 a14f79a362 fix(vector-io): handle missing document_id in insert_chunks
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.
2025-09-25 13:59:10 -04:00
..
__init__.py chore: introduce write queue for inference_store (#3383) 2025-09-10 11:57:42 -07:00
datasets.py refactor(logging): rename llama_stack logger categories (#3065) 2025-08-21 17:31:04 -07:00
eval_scoring.py refactor(logging): rename llama_stack logger categories (#3065) 2025-08-21 17:31:04 -07:00
inference.py chore: introduce write queue for inference_store (#3383) 2025-09-10 11:57:42 -07:00
safety.py refactor(logging): rename llama_stack logger categories (#3065) 2025-08-21 17:31:04 -07:00
tool_runtime.py refactor(logging): rename llama_stack logger categories (#3065) 2025-08-21 17:31:04 -07:00
vector_io.py fix(vector-io): handle missing document_id in insert_chunks 2025-09-25 13:59:10 -04:00