Merge branch 'main' into fix/chore-fix

This commit is contained in:
Yeuoly
2024-11-08 13:47:24 +08:00
53 changed files with 1132 additions and 157 deletions

View File

@ -98,7 +98,7 @@ class ToolFileManager:
response.raise_for_status()
blob = response.content
except Exception as e:
logger.error(f"Failed to download file from {file_url}: {e}")
logger.exception(f"Failed to download file from {file_url}: {e}")
raise
mimetype = guess_type(file_url)[0] or "octet/stream"