We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28a3479 commit c0391f4Copy full SHA for c0391f4
1 file changed
src/Infrastructure/BotSharp.Core/Instructs/Services/InstructService.Execute.cs
@@ -251,13 +251,7 @@ private async Task<InstructResult> RunLlm(
251
var templateLlmConfig = agent.Templates?.FirstOrDefault(x => x.Name.IsEqualTo(templateName))?.LlmConfig;
252
if (templateLlmConfig?.IsValid == true)
253
{
254
- llmConfig = new AgentLlmConfig
255
- {
256
- Provider = templateLlmConfig.Provider,
257
- Model = templateLlmConfig.Model,
258
- MaxOutputTokens = templateLlmConfig.MaxOutputTokens,
259
- ReasoningEffortLevel = templateLlmConfig.ReasoningEffortLevel
260
- };
+ llmConfig = new AgentLlmConfig(templateLlmConfig);
261
}
262
263
else
0 commit comments