mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-05 04:04:35 +00:00
Kept the inputs of assistants when you leave them (#1209)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
1fbc1f4796
commit
7e2f83b19b
83 files changed
+1924
-347
No files matched your search
@@ -20,7 +20,7 @@ public sealed class AssistantSessionStateWriter
|
||||
/// <param name="value">The captured value.</param>
|
||||
public void Set<T>(AssistantSessionStateKey<T> key, T value)
|
||||
{
|
||||
this.fields[key.Name] = new AssistantSessionSnapshotField<T>(value);
|
||||
this.fields[key.Name] = new AssistantSessionSnapshotField<T>(value, countsAsChange: !key.IsDerived && !key.IsKeptOutOfDrafts);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in new issue
Block a user