From 0c88bce00b0c3c6a603ea9421111485811f01b21 Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Fri, 28 Jun 2024 11:58:19 -0500 Subject: [PATCH] rename file --- src/Infrastructure/BotSharp.Core/Files/FilePlugin.cs | 2 +- .../{AttachmentProcessingHook.cs => FileAnalyzerHook.cs} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/Infrastructure/BotSharp.Core/Files/Hooks/{AttachmentProcessingHook.cs => FileAnalyzerHook.cs} (91%) diff --git a/src/Infrastructure/BotSharp.Core/Files/FilePlugin.cs b/src/Infrastructure/BotSharp.Core/Files/FilePlugin.cs index e549011b..3110c8d5 100644 --- a/src/Infrastructure/BotSharp.Core/Files/FilePlugin.cs +++ b/src/Infrastructure/BotSharp.Core/Files/FilePlugin.cs @@ -16,7 +16,7 @@ public class FilePlugin : IBotSharpPlugin { services.AddScoped(); - services.AddScoped(); + services.AddScoped(); services.AddScoped(); } } diff --git a/src/Infrastructure/BotSharp.Core/Files/Hooks/AttachmentProcessingHook.cs b/src/Infrastructure/BotSharp.Core/Files/Hooks/FileAnalyzerHook.cs similarity index 91% rename from src/Infrastructure/BotSharp.Core/Files/Hooks/AttachmentProcessingHook.cs rename to src/Infrastructure/BotSharp.Core/Files/Hooks/FileAnalyzerHook.cs index 8fc1c11d..24c9b4f5 100644 --- a/src/Infrastructure/BotSharp.Core/Files/Hooks/AttachmentProcessingHook.cs +++ b/src/Infrastructure/BotSharp.Core/Files/Hooks/FileAnalyzerHook.cs @@ -1,12 +1,12 @@ namespace BotSharp.Core.Files.Hooks; -public class AttachmentProcessingHook : AgentHookBase +public class FileAnalyzerHook : AgentHookBase { private static string TOOL_ASSISTANT = Guid.Empty.ToString(); public override string SelfId => string.Empty; - public AttachmentProcessingHook(IServiceProvider services, AgentSettings settings) + public FileAnalyzerHook(IServiceProvider services, AgentSettings settings) : base(services, settings) { }