mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-04 02:52:01 +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
@@ -45,6 +45,12 @@ public static class ConfigurationSelectDataFactory
|
||||
yield return new(TB("""Treat the assistants as if they did not exist, e.g., not in the "Send to ..." menu"""), AssistantOfferBehavior.TREAT_AS_ABSENT);
|
||||
}
|
||||
|
||||
public static IEnumerable<ConfigurationSelectData<AssistantInputsWhenLeaving>> GetAssistantInputsWhenLeavingData()
|
||||
{
|
||||
yield return new(TB("Keep my inputs and the last result until I reset the assistant or quit AI Studio"), AssistantInputsWhenLeaving.KEEP_INPUTS);
|
||||
yield return new(TB("Reset the assistant, so that it starts anew next time"), AssistantInputsWhenLeaving.DISCARD_INPUTS);
|
||||
}
|
||||
|
||||
public static IEnumerable<ConfigurationSelectData<LoadingChatProviderBehavior>> GetLoadingChatProviderBehavior()
|
||||
{
|
||||
yield return new(TB("When possible, use the LLM provider which was used for each chat in the first place"), LoadingChatProviderBehavior.USE_CHAT_PROVIDER_IF_AVAILABLE);
|
||||
|
||||
Reference in new issue
Block a user