mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-15 10:33:48 +00:00
Write the sources of an answer into every exported document
This commit is contained in:
8 files changed
+103
-3
No files matched your search
@@ -732,7 +732,7 @@ public partial class ContentBlockComponent : MSGComponentBase
|
||||
//
|
||||
if (format.UsesPandoc())
|
||||
await PandocExport.ToDocument(this.RustService, this.PandocAvailability, this.EffectiveExportTitle, format, this.Content);
|
||||
else if (this.Content.TryGetMarkdownText(out var markdown))
|
||||
else if (this.Content.TryGetExportMarkdown(out var markdown))
|
||||
await PlainFileExport.ToFile(this.RustService, this.EffectiveExportTitle, format, markdown);
|
||||
}
|
||||
catch (ArgumentOutOfRangeException e)
|
||||
|
||||
Reference in new issue
Block a user