mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-24 20:30:03 +00:00
- 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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| file_utils.py | ||
| openai_vector_store_mixin.py | ||
| vector_store.py | ||