remove Prompt Execution Settings

This commit is contained in:
Leilei Zhang
2025-11-21 15:12:15 +08:00
parent 28dba2633e
commit 971a280c48
2 changed files with 0 additions and 3 deletions

View File

@@ -215,7 +215,6 @@ public sealed class AdvancedAIKernelService : KernelServiceBase
return new OpenAIPromptExecutionSettings return new OpenAIPromptExecutionSettings
{ {
FunctionChoiceBehavior = FunctionChoiceBehavior.Auto(), FunctionChoiceBehavior = FunctionChoiceBehavior.Auto(),
Temperature = 0.01,
}; };
} }
} }

View File

@@ -157,8 +157,6 @@ namespace AdvancedPaste.Services.CustomActions
{ {
AIServiceType.OpenAI or AIServiceType.AzureOpenAI => new OpenAIPromptExecutionSettings AIServiceType.OpenAI or AIServiceType.AzureOpenAI => new OpenAIPromptExecutionSettings
{ {
Temperature = 0.01,
MaxTokens = 2000,
FunctionChoiceBehavior = null, FunctionChoiceBehavior = null,
}, },
_ => new PromptExecutionSettings(), _ => new PromptExecutionSettings(),