mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-06 07:51:53 +00:00
Add original_name parameter to _download_and_cache, preferring the attachment metadata filename over the CDN URL path basename. Previously files were cached with meaningless QQ CDN hash names (e.g. qqdownload_...oadftnv5), causing ugly filenames when sent back to users. Aligns with qqbot-agent-sdk's AttachmentDownloader.download_document. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| adapter.py | ||
| chunked_upload.py | ||
| constants.py | ||
| crypto.py | ||
| keyboards.py | ||
| onboard.py | ||
| utils.py | ||