Fixed sources of your own documents not reacting to a click

This commit is contained in:
Thorsten Sommer committed 2026-09-15 15:52:19 +02:00
1 parent 9e9efb80e4
commit 0c7fffa2cf
9 files changed
+485 -54

No files matched your search

@@ -0,0 +1,13 @@
namespace AIStudio.Tools;
/// <summary>
/// A source together with the number it is listed under.
/// </summary>
/// <remarks>
/// The number runs through the whole list rather than starting over per group, because that is how
/// an answer refers to a source. It is assigned once, where the groups are formed, so the chat and
/// an exported document cannot end up numbering the same list differently.
/// </remarks>
/// <param name="Number">The number this source is listed under, counted from one.</param>
/// <param name="Source">The source itself.</param>
public readonly record struct NumberedSource(int Number, Source Source);