🛠 refactor: Ensure File Deletions, File Naming, and Agent Resource Updates (#5928)

* refactor: Improve error logging for file upload and processing functions to prevent verbosity

* refactor: Add uploads directory to Docker Compose to persist file uploads

* refactor: `addAgentResourceFile` to handle edge case of non-existing `tool_resource` array

* refactor: Remove version specification from deploy-compose.yml

* refactor: Prefix filenames with file_id to ensure uniqueness in file uploads

* refactor: Enhance error handling in deleteVectors to log warnings for non-404 errors

* refactor: Limit file search results to top 5 based on relevance score

* 🌍 i18n: Update translation.json with latest translations

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Danny Avila 2025-02-17 19:37:03 -05:00 committed by GitHub
parent f0f09138bd
commit 964a74c73b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 262 additions and 102 deletions

View file

@ -205,7 +205,6 @@
"com_ui_enter": "Nhập",
"com_ui_examples": "Ví dụ",
"com_ui_happy_birthday": "Đây là sinh nhật đầu tiên của tôi!",
"com_ui_import": "Nhập khẩu",
"com_ui_import_conversation_error": "Đã xảy ra lỗi khi nhập khẩu cuộc trò chuyện của bạn",
"com_ui_import_conversation_info": "Nhập khẩu cuộc trò chuyện từ một tệp JSON",
"com_ui_import_conversation_success": "Đã nhập khẩu cuộc trò chuyện thành công",
@ -235,4 +234,4 @@
"com_ui_unarchive_error": "Không thể bỏ lưu trữ cuộc trò chuyện",
"com_ui_upload_success": "Tải tệp thành công",
"com_ui_use_prompt": "Sử dụng gợi ý"
}
}