| Files | Last commit | Last update |
|---|---|---|
fix: keep MP3 payloads when encoding outbound records (avoid WAV inflation) (#10927) * fix: keep mp3 payloads when encoding outbound records to base64 Record.convert_to_base64() forced every outbound audio payload through ffmpeg into PCM WAV before base64 encoding. Since v4.26.0 (#8764) that grew MP3 payloads by roughly 4.4x: a 43 MB / 1083 s 320 kbps MP3 became a 191 MB WAV and a ~243 MiB base64 frame, which is above the 100 MiB OneBot frame limit, so the WebSocket was closed (1009) and the send timed out. Detect the payload format from magic bytes in the audio resolver so that preserve_mp3=True keeps MP3 in its original container. Reading the bytes instead of the file name means base64 payloads and suffix-less CDN URLs are handled correctly, and references with a misleading suffix are no longer passed through as MP3. Other formats keep the v4.26.0 WAV path (their inflation is tracked separately) and an explicit target_format still wins. convert_to_file_path() keeps forcing WAV. The Satori and WebChat adapters now derive the audio MIME type / file extension from the bytes they actually send instead of assuming WAV, and WebChat serves the matching Content-Type. Outbound records are still base64; this does not switch to URL passthrough (#6717, #6850). * chore: remove standalone test file per review feedback --------- Co-authored-by: JosephTian876 <204833675+JosephTian876@users.noreply.github.com> | 3 days ago | |
refactor: decouple interactive message views from WebChat (#11380) * refactor(chatui): store interactive views in the main database * refactor(chatui): initialize tables directly in the main database * refactor(chatui): use platform-neutral table names for interactive views * refactor(interactive-ui): decouple view messages from WebChat * fix(interactive-ui): preserve card sources and include them in backups * refactor(interactive-ui)!: remove the old ChatUI import path | 4 days ago | |
fix: keep quoted voice transcripts in replies (#11341) | 7 days ago | |
feat: add message-level markdown control for QQ Official platform (#6980) * feat: add message-level markdown control for QQ Official platform * feat: propagate MessageChain metadata through RespondStage chain splitting | 7 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 3 days ago | ||
| 4 days ago | ||
| 7 days ago | ||
| 7 months ago |