feat(ai): export conversation as markdown or html

This commit is contained in:
Abeautifulsnow authored and GitHub committed 2026-09-08 16:46:22 +08:00
1 parent d0832f17f4
commit 2b2d1f0d95
20 files changed
+506 -5

No files matched your search

+4
View File
@@ -569,6 +569,10 @@ pub struct AiChatMessage {
pub reasoning: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub kind: Option<String>,
/// Set on the assistant message whose generation failed; persisted so the
/// export failure marker survives reloads and locale switches (#6467 PR3).
#[serde(default, skip_serializing_if = "Option::is_none")]
pub failed: Option<bool>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub covered_messages: Option<usize>,
}
+1
View File
@@ -5351,6 +5351,7 @@ mod tests {
mentions: None,
reasoning: None,
kind: None,
failed: None,
covered_messages: None,
}],
queued_input: None,