mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-03 18:02:02 +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
@@ -52,6 +52,14 @@ public static class ConfigurationSelectDataFactory
|
||||
yield return new(TB("Always use the default chat provider when loading chats"), LoadingChatProviderBehavior.ALWAYS_USE_DEFAULT_CHAT_PROVIDER);
|
||||
}
|
||||
|
||||
public static IEnumerable<ConfigurationSelectData<ContextWindowFullBehavior>> GetContextWindowFullBehaviorData()
|
||||
{
|
||||
yield return new(TB("Ask me what to do"), ContextWindowFullBehavior.ASK);
|
||||
yield return new(TB("Compress automatically and continue in a new chat"), ContextWindowFullBehavior.COMPRESS_INTO_NEW_CHAT);
|
||||
yield return new(TB("Compress automatically and replace the earlier messages"), ContextWindowFullBehavior.COMPRESS_AND_REPLACE);
|
||||
yield return new(TB("Send the message without asking"), ContextWindowFullBehavior.SEND_WITHOUT_ASKING);
|
||||
}
|
||||
|
||||
public static IEnumerable<ConfigurationSelectData<AddChatProviderBehavior>> GetAddChatProviderBehavior()
|
||||
{
|
||||
yield return new(TB("Use the latest LLM provider, which was used before; use the default chat provider initially"), AddChatProviderBehavior.ADDED_CHATS_USE_LATEST_PROVIDER);
|
||||
|
||||
Reference in new issue
Block a user