llama-stack-mirror/llama_stack/providers
Derek Higgins 87b8530e3f fix: handle encoding errors when adding files to vector store
- Add try-catch block around data.decode() to handle UnicodeDecodeError
- Implement UTF-8 fallback when detected encoding fails
- re-raise origional exception if fallback fails
- add unit tests

Fixes #2572: UnicodeDecodeError when uploading files with problematic encodings

Signed-off-by: Derek Higgins <derekh@redhat.com>
2025-07-03 17:36:33 +01:00
..
inline fix: allow default empty vars for conditionals (#2570) 2025-07-01 14:42:05 +02:00
registry chore: Enabling VectorIO Integration tests for Milvus (#2546) 2025-06-30 19:49:59 -07:00
remote fix: allow default empty vars for conditionals (#2570) 2025-07-01 14:42:05 +02:00
utils fix: handle encoding errors when adding files to vector store 2025-07-03 17:36:33 +01:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
datatypes.py docs: auto generated documentation for providers (#2543) 2025-06-30 15:13:20 +02:00