mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-04 07:12:01 +00:00
Added settings for chat compression, with a model of its own (#1241)
This commit is contained in:
1 parent
899139c88b
commit
1fbc1f4796
71 files changed
+3023
-797
No files matched your search
@@ -127,6 +127,7 @@ public static class ComponentsExtensions
|
||||
Components.AI_TASK_DATA_SOURCE_SELECTION => false,
|
||||
Components.AI_TASK_RETRIEVAL_CONTEXT_VALIDATION => false,
|
||||
Components.AI_TASK_ASSISTANT_PLUGIN_AUDIT => false,
|
||||
Components.AI_TASK_CHAT_COMPRESSION => false,
|
||||
Components.META_ASSISTANT => false,
|
||||
|
||||
_ => true,
|
||||
@@ -228,6 +229,9 @@ public static class ComponentsExtensions
|
||||
Components.AI_TASK_RETRIEVAL_CONTEXT_VALIDATION => settingsManager.ConfigurationData.RetrievalContextValidation.PreselectOptions ? settingsManager.ConfigurationData.RetrievalContextValidation.MinimumProviderConfidence : default,
|
||||
Components.AI_TASK_ASSISTANT_PLUGIN_AUDIT => settingsManager.ConfigurationData.AssistantPluginAudit.MinimumProviderConfidence,
|
||||
|
||||
// Without a switch for its preselection, and only for the provider picked for it, see DataChatCompression:
|
||||
Components.AI_TASK_CHAT_COMPRESSION => settingsManager.ConfigurationData.ChatCompression.MinimumProviderConfidence,
|
||||
|
||||
_ => default,
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user