File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
BotSharp.Abstraction/Files/Models
BotSharp.Core/Files/Services/Instruct Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments