From bc500a4dfa2be97742d6af62f7215c850345cce6 Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Tue, 30 Sep 2025 17:46:58 -0500 Subject: [PATCH] minor change --- .../BotSharp.Core/Instructs/Functions/ExecuteTemplateFn.cs | 2 -- .../Repository/MongoRepository.AgentCode.cs | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Infrastructure/BotSharp.Core/Instructs/Functions/ExecuteTemplateFn.cs b/src/Infrastructure/BotSharp.Core/Instructs/Functions/ExecuteTemplateFn.cs index b81c5691..2684ae02 100644 --- a/src/Infrastructure/BotSharp.Core/Instructs/Functions/ExecuteTemplateFn.cs +++ b/src/Infrastructure/BotSharp.Core/Instructs/Functions/ExecuteTemplateFn.cs @@ -1,6 +1,4 @@ using BotSharp.Abstraction.Functions; -using BotSharp.Abstraction.Infrastructures; -using BotSharp.Abstraction.Instructs; using BotSharp.Abstraction.Instructs.Models; namespace BotSharp.Core.Instructs.Functions; diff --git a/src/Plugins/BotSharp.Plugin.MongoStorage/Repository/MongoRepository.AgentCode.cs b/src/Plugins/BotSharp.Plugin.MongoStorage/Repository/MongoRepository.AgentCode.cs index c0fd21b7..e07f3c8c 100644 --- a/src/Plugins/BotSharp.Plugin.MongoStorage/Repository/MongoRepository.AgentCode.cs +++ b/src/Plugins/BotSharp.Plugin.MongoStorage/Repository/MongoRepository.AgentCode.cs @@ -72,7 +72,7 @@ public partial class MongoRepository return true; } - public bool InsertAgentCodeScripts(string agentId, List scripts) + public bool BulkInsertAgentCodeScripts(string agentId, List scripts) { if (string.IsNullOrWhiteSpace(agentId) || scripts.IsNullOrEmpty()) { @@ -91,7 +91,7 @@ public partial class MongoRepository return true; } - public bool BulkInsertAgentCodeScripts(string agentId, List? scriptNames) + public bool DeleteAgentCodeScripts(string agentId, List? scriptNames) { if (string.IsNullOrWhiteSpace(agentId)) {