mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-16 01:40:15 +08:00
* feat: add audio input support across providers and chatui recording issue fix - Introduced audio_urls parameter in Provider class and related methods to handle audio input. - Updated ProviderAnthropic, ProviderGoogleGenAI, and ProviderOpenAIOfficial to process audio URLs. - Enhanced media_utils with functions to ensure audio format compatibility and detect audio types. - Modified dashboard components to display audio input support and handle audio attachments in messages. - Updated localization files to include audio as a supported modality. - Added new icons for audio input in the dashboard UI. * feat: enhance audio handling with temporary file cleanup and format support * feat: track temporary local files for converted audio components * fix: update image placeholder in prompt from "[图片]" to "[Image]"