Skip to content

Commit 16a1da4

Browse files
authored
Merge pull request #1350 from iceljc/master
rename template configs
2 parents f401464 + 0011905 commit 16a1da4

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Infrastructure/BotSharp.Core/Agents/Services/AgentService.CreateAgent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ private List<AgentTemplate> GetTemplatesFromFile(string fileDir)
124124

125125
private IEnumerable<AgentTemplateConfig> GetAgentTemplateConfigs(string baseDir)
126126
{
127-
var configFile = Path.Combine(baseDir, "template_configs.json");
127+
var configFile = Path.Combine(baseDir, "template-configs.json");
128128
var configs = new List<AgentTemplateConfig>();
129129

130130
try

src/Infrastructure/BotSharp.Core/BotSharp.Core.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
<None Remove="data\agents\01dcc3e5-0af7-49e6-ad7a-a760bd12dc4b\functions\human_intervention_needed.json" />
6969

7070
<None Remove="data\agents\01e2fc5c-2c89-4ec7-8470-7688608b496c\agent.json" />
71-
<None Remove="data\agents\01e2fc5c-2c89-4ec7-8470-7688608b496c\template_configs.json" />
71+
<None Remove="data\agents\01e2fc5c-2c89-4ec7-8470-7688608b496c\template-configs.json" />
7272
<None Remove="data\agents\01e2fc5c-2c89-4ec7-8470-7688608b496c\instructions\instruction.liquid" />
7373
<None Remove="data\agents\01e2fc5c-2c89-4ec7-8470-7688608b496c\functions\get_weather.json" />
7474
<None Remove="data\agents\01e2fc5c-2c89-4ec7-8470-7688608b496c\functions\get_fun_events.json" />
@@ -132,7 +132,7 @@
132132
<Content Include="data\agents\01e2fc5c-2c89-4ec7-8470-7688608b496c\agent.json">
133133
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
134134
</Content>
135-
<Content Include="data\agents\01e2fc5c-2c89-4ec7-8470-7688608b496c\template_configs.json">
135+
<Content Include="data\agents\01e2fc5c-2c89-4ec7-8470-7688608b496c\template-configs.json">
136136
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
137137
</Content>
138138
<Content Include="data\agents\01e2fc5c-2c89-4ec7-8470-7688608b496c\instructions\instruction.liquid">

src/Infrastructure/BotSharp.Core/Repository/FileRepository/FileRepository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public partial class FileRepository : IBotSharpRepository
5959
private const string CRON_FILE = "cron.json";
6060
private const string INSTRUCTION_LOG_FOLDER = "instruction-logs";
6161

62-
private const string AGENT_TEMPLATE_CONFIG_FILE = "template_configs.json";
62+
private const string AGENT_TEMPLATE_CONFIG_FILE = "template-configs.json";
6363

6464
public FileRepository(
6565
IServiceProvider services,

src/Infrastructure/BotSharp.Core/data/agents/01e2fc5c-2c89-4ec7-8470-7688608b496c/template_configs.json renamed to src/Infrastructure/BotSharp.Core/data/agents/01e2fc5c-2c89-4ec7-8470-7688608b496c/template-configs.json

File renamed without changes.

0 commit comments

Comments
 (0)