minor change
This commit is contained in:
parent
a8c2b49d6f
commit
1ca4979545
|
|
@ -330,9 +330,10 @@ namespace BotSharp.Core.Repository
|
|||
var responses = FetchResponses(dir);
|
||||
return record.SetInstruction(instruction)
|
||||
.SetFunctions(functions)
|
||||
.SetSamples(samples)
|
||||
.SetTemplates(templates)
|
||||
.SetResponses(responses);
|
||||
.SetSamples(samples)
|
||||
.SetResponses(responses)
|
||||
.SetTasks(tasks);
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
|
|||
|
|
@ -116,11 +116,11 @@ public partial class FileRepository : IBotSharpRepository
|
|||
if (agent != null)
|
||||
{
|
||||
agent = agent.SetInstruction(FetchInstruction(d))
|
||||
.SetTemplates(FetchTemplates(d))
|
||||
.SetTasks(FetchTasks(d))
|
||||
.SetFunctions(FetchFunctions(d))
|
||||
.SetTemplates(FetchTemplates(d))
|
||||
.SetResponses(FetchResponses(d))
|
||||
.SetSamples(FetchSamples(d));
|
||||
.SetSamples(FetchSamples(d))
|
||||
.SetTasks(FetchTasks(d));
|
||||
_agents.Add(agent);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue