From 40e8457dc9de57cb21cafd089ad338293763d1f2 Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Tue, 14 Oct 2025 14:14:55 -0500 Subject: [PATCH] rename --- .../BotSharp.Abstraction/Files/Models/SelectFileOptions.cs | 2 +- .../Files/Services/Instruct/FileInstructService.SelectFile.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Infrastructure/BotSharp.Abstraction/Files/Models/SelectFileOptions.cs b/src/Infrastructure/BotSharp.Abstraction/Files/Models/SelectFileOptions.cs index 6335a4e5..4fa4946e 100644 --- a/src/Infrastructure/BotSharp.Abstraction/Files/Models/SelectFileOptions.cs +++ b/src/Infrastructure/BotSharp.Abstraction/Files/Models/SelectFileOptions.cs @@ -10,7 +10,7 @@ public class SelectFileOptions : LlmConfigBase /// /// Template (prompt) name /// - public string? Template { get; set; } + public string? TemplateName { get; set; } /// /// Description that user provides to select files diff --git a/src/Infrastructure/BotSharp.Core/Files/Services/Instruct/FileInstructService.SelectFile.cs b/src/Infrastructure/BotSharp.Core/Files/Services/Instruct/FileInstructService.SelectFile.cs index a4cf2d88..581832d7 100644 --- a/src/Infrastructure/BotSharp.Core/Files/Services/Instruct/FileInstructService.SelectFile.cs +++ b/src/Infrastructure/BotSharp.Core/Files/Services/Instruct/FileInstructService.SelectFile.cs @@ -119,7 +119,7 @@ public partial class FileInstructService }).ToList(); var agentId = !string.IsNullOrWhiteSpace(options.AgentId) ? options.AgentId : BuiltInAgentId.FileAssistant; - var template = !string.IsNullOrWhiteSpace(options.Template) ? options.Template : "select-chat-file_instruction"; + var template = !string.IsNullOrWhiteSpace(options.TemplateName) ? options.TemplateName : "select-chat-file_instruction"; var prompt = db.GetAgentTemplate(agentId, template); var data = new Dictionary