mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-26 03:31:24 +08:00
* feat: enhance citation handling in message export functionality - Refactored message export functions to include citation content in markdown output. - Introduced a new utility function to extract and format citations from messages. - Updated related imports and adjusted existing markdown generation logic for improved clarity and maintainability. * feat: enhance message export tests to include citation and reasoning content - Added tests to verify inclusion of citation content in markdown output when citation blocks exist. - Ensured proper formatting with double newlines between sections in exported markdown. - Updated existing tests to handle cases with reasoning content and no main text block gracefully. * fix: update citation mapping in export tests for consistency - Modified the citation mapping in export tests to use the index parameter directly, improving clarity and consistency in the generated markdown output. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| src | ||
| index.html | ||
| miniWindow.html | ||