mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
remove Prompt Execution Settings
This commit is contained in:
@@ -215,7 +215,6 @@ public sealed class AdvancedAIKernelService : KernelServiceBase
|
|||||||
return new OpenAIPromptExecutionSettings
|
return new OpenAIPromptExecutionSettings
|
||||||
{
|
{
|
||||||
FunctionChoiceBehavior = FunctionChoiceBehavior.Auto(),
|
FunctionChoiceBehavior = FunctionChoiceBehavior.Auto(),
|
||||||
Temperature = 0.01,
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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(),
|
||||||
|
|||||||
Reference in New Issue
Block a user