minor change

This commit is contained in:
Jicheng Lu 2025-09-30 17:46:58 -05:00
parent ed8a1d8890
commit bc500a4dfa
2 changed files with 2 additions and 4 deletions

View file

@ -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;

View file

@ -72,7 +72,7 @@ public partial class MongoRepository
return true;
}
public bool InsertAgentCodeScripts(string agentId, List<AgentCodeScript> scripts)
public bool BulkInsertAgentCodeScripts(string agentId, List<AgentCodeScript> scripts)
{
if (string.IsNullOrWhiteSpace(agentId) || scripts.IsNullOrEmpty())
{
@ -91,7 +91,7 @@ public partial class MongoRepository
return true;
}
public bool BulkInsertAgentCodeScripts(string agentId, List<string>? scriptNames)
public bool DeleteAgentCodeScripts(string agentId, List<string>? scriptNames)
{
if (string.IsNullOrWhiteSpace(agentId))
{