mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-16 19:08:27 +00:00
Added choosing whom the test situation of the BeyondFacts Lab simulates
This commit is contained in:
6 files changed
+296
-3
No files matched your search
+8
@@ -23,6 +23,14 @@ public partial class BeyondFactsLabAssistant
|
||||
/// </summary>
|
||||
private int ActiveStepIndex => (int)this.activeStep;
|
||||
|
||||
/// <summary>
|
||||
/// Gets a number which changes whenever the person chooses others to simulate in the step "Test situation", whose
|
||||
/// research the prompt of its conversation carries, so that the conversation counts its tokens anew.
|
||||
/// </summary>
|
||||
private int ChatDetailsVersion => this.activeStep is BflStep.TEST_SITUATION && this.forms.GetValueOrDefault(BflStep.TEST_SITUATION)?.Simulation is { } simulation
|
||||
? HashCode.Combine(simulation.Mode, string.Join('\n', simulation.People))
|
||||
: 0;
|
||||
|
||||
/// <summary>
|
||||
/// Shows a preparation with its forms, at the step the person looked at last.
|
||||
/// </summary>
|
||||
|
||||
Reference in new issue
Block a user