Added whole documents to the Translation, Grammar & Spelling, and Rewrite & Improve assistants (#1179)

Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
Sabrina-devopsandThorsten Sommer authored and GitHub committed 2026-11-28 20:27:23 +01:00
1 parent f7666861f1
commit 918572c158
150 files changed
+12850 -302

No files matched your search

@@ -13,10 +13,10 @@ namespace AIStudio.Tools.AssistantSessions;
public sealed class AssistantSessionService(MessageBus messageBus)
{
/// <summary>
/// Mutable runtime state owned exclusively by <see cref="AssistantSessionService"/>.
/// Mutable runtime state owned exclusively by AssistantSessionService.
/// </summary>
/// <remarks>
/// This type intentionally exists in addition to <see cref="AssistantSessionSnapshot"/>.
/// This type intentionally exists in addition to AssistantSessionSnapshot.
/// It holds runtime-only data such as the cancellation token source and lock, while
/// snapshots are copied DTOs for UI components and message bus payloads.
/// </remarks>
@@ -89,7 +89,7 @@ public sealed class AssistantSessionService(MessageBus messageBus)
private readonly ConcurrentDictionary<AssistantSessionKey, AssistantSessionState> sessions = new();
/// <summary>
/// Stores one draft per session key, see <see cref="SaveDraft"/>.
/// Stores one draft per session key, see SaveDraft.
/// </summary>
private readonly ConcurrentDictionary<AssistantSessionKey, AssistantSessionSnapshot> drafts = new();
@@ -151,7 +151,7 @@ public sealed class AssistantSessionService(MessageBus messageBus)
/// Stores what an assistant holds when the user leaves it, so that it is there again when the user comes back.
/// </summary>
/// <remarks>
/// A draft is not a run: neither <see cref="GetSnapshots"/> nor <see cref="HasActiveSessions"/> sees it, so
/// A draft is not a run: neither GetSnapshots nor HasActiveSessions sees it, so
/// the assistant overview shows no status for it, and AI Studio may close without asking. It lives in
/// memory only, until AI Studio closes, the user resets the assistant, or a text is sent to it. A newer
/// draft replaces the older one. A draft holds everything its assistant captures, such as the chat