Skip to content

Commit 40e8457

Browse files
author
Jicheng Lu
committed
rename
1 parent 749345d commit 40e8457

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Infrastructure/BotSharp.Abstraction/Files/Models/SelectFileOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class SelectFileOptions : LlmConfigBase
1010
/// <summary>
1111
/// Template (prompt) name
1212
/// </summary>
13-
public string? Template { get; set; }
13+
public string? TemplateName { get; set; }
1414

1515
/// <summary>
1616
/// Description that user provides to select files

src/Infrastructure/BotSharp.Core/Files/Services/Instruct/FileInstructService.SelectFile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ private async Task<IEnumerable<MessageFileModel>> SelectFiles(IEnumerable<Messag
119119
}).ToList();
120120

121121
var agentId = !string.IsNullOrWhiteSpace(options.AgentId) ? options.AgentId : BuiltInAgentId.FileAssistant;
122-
var template = !string.IsNullOrWhiteSpace(options.Template) ? options.Template : "select-chat-file_instruction";
122+
var template = !string.IsNullOrWhiteSpace(options.TemplateName) ? options.TemplateName : "select-chat-file_instruction";
123123
var prompt = db.GetAgentTemplate(agentId, template);
124124

125125
var data = new Dictionary<string, object>

0 commit comments

Comments
 (0)