Files
Folo/apps
Innei 2fe07f9489 fix(ai-chat): improve file attachment display logic in message components
- Updated the `getFileDisplayContent` function to default to "completed" status for file attachments, enhancing clarity in the display of upload statuses.
- Added a condition in `AIDataBlockItem` to return the attachment name directly when no upload status is present, improving user feedback for file attachments.
- Refactored the handling of reasoning parts in `AIMessageParts` to use a more descriptive variable name, enhancing code readability.

These changes aim to provide a clearer and more informative user experience when interacting with file attachments in the AI chat interface.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-24 16:41:43 +08:00
..
2025-09-23 00:27:51 +08:00
2025-09-20 15:15:58 +08:00