mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-05 05:24: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
@@ -0,0 +1,20 @@
|
||||
namespace AIStudio.Tools.AssistantSessions;
|
||||
|
||||
/// <summary>
|
||||
/// A value of an assistant session which tells by itself whether another value holds the same.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// A snapshot compares most values by their reference, since an object may change without getting a new
|
||||
/// one, see IAssistantSessionSnapshotField.HasSameValueAs. A value which the assistant captures as a copy
|
||||
/// of its own, such as the state of an assistant plugin, gets a new reference with every snapshot, though,
|
||||
/// and would always count as changed. Such a value compares its content instead.
|
||||
/// </remarks>
|
||||
public interface IAssistantSessionValue
|
||||
{
|
||||
/// <summary>
|
||||
/// Tells whether another value holds the same content as this one.
|
||||
/// </summary>
|
||||
/// <param name="other">The value to compare with.</param>
|
||||
/// <returns><c>true</c> when both values hold the same content; otherwise, <c>false</c>.</returns>
|
||||
bool HasSameValueAs(object other);
|
||||
}
|
||||
Reference in new issue
Block a user