mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 03:27:41 +00:00
Fixed assistants undoing your changes while a run you left continues (#1111)
This commit is contained in:
1 parent
31c271eb7b
commit
7f72da628e
8 files changed
+322
-6
No files matched your search
@@ -17,4 +17,17 @@ public interface IAssistantSessionSnapshotField
|
||||
/// <param name="value">The typed value when reading succeeds.</param>
|
||||
/// <returns><c>true</c> when the captured value matches <typeparamref name="T"/>; otherwise, <c>false</c>.</returns>
|
||||
bool TryRead<T>(out T? value);
|
||||
|
||||
/// <summary>
|
||||
/// Tells whether another field provably holds the same value as this one.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The same means: the same captured type, and the same reference, an equal string or value of a
|
||||
/// value type, or a collection whose items are the same by this rule in turn. Everything else counts
|
||||
/// as changed. A field wrongly taken for changed is only restored once more, while a field wrongly
|
||||
/// taken for the same would lose an update.
|
||||
/// </remarks>
|
||||
/// <param name="other">The field to compare with.</param>
|
||||
/// <returns><c>true</c> when both fields provably hold the same value; otherwise, <c>false</c>.</returns>
|
||||
bool HasSameValueAs(IAssistantSessionSnapshotField other);
|
||||
}
|
||||
Reference in new issue
Block a user