rename
This commit is contained in:
parent
749345d282
commit
40e8457dc9
|
|
@ -10,7 +10,7 @@ public class SelectFileOptions : LlmConfigBase
|
|||
/// <summary>
|
||||
/// Template (prompt) name
|
||||
/// </summary>
|
||||
public string? Template { get; set; }
|
||||
public string? TemplateName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Description that user provides to select files
|
||||
|
|
|
|||
|
|
@ -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<string, object>
|
||||
|
|
|
|||
Loading…
Reference in a new issue