mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-05-20 18:23:43 +00:00
deca7726f4
This merge includes several important updates: 1. Error Handling: Added try-except blocks for file operations and network requests. 2. Logging Enhancements: Improved logging to capture more detailed information. 3. Code Refactoring: Created download_file and upload_index functions to avoid code repetition. 4. Configuration: Used constants for MIN_TOKENS, MAX_TOKENS, and RECURSION_DEPTH.