Skip to content

Commit 62dbe5c

Browse files
author
Jicheng Lu
committed
relocate email handler settings
1 parent 418a713 commit 62dbe5c

File tree

5 files changed

+7
-12
lines changed

5 files changed

+7
-12
lines changed

src/Plugins/BotSharp.Plugin.EmailHandler/BotSharp.Plugin.EmailHandler.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<TargetFramework>$(TargetFramework)</TargetFramework>

src/Plugins/BotSharp.Plugin.EmailHandler/EmailHandlerPlugin.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
using BotSharp.Abstraction.Agents;
2-
using BotSharp.Abstraction.Email.Settings;
32
using BotSharp.Abstraction.Settings;
4-
using BotSharp.Plugin.EmailHandler.Hooks;
53
using Microsoft.Extensions.Configuration;
6-
using System;
7-
using System.Collections.Generic;
8-
using System.Linq;
9-
using System.Text;
10-
using System.Threading.Tasks;
114

125
namespace BotSharp.Plugin.EmailHandler
136
{

src/Infrastructure/BotSharp.Abstraction/Email/Settings/EmailHandlerSettings.cs renamed to src/Plugins/BotSharp.Plugin.EmailHandler/Settings/EmailHandlerSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace BotSharp.Abstraction.Email.Settings;
1+
namespace BotSharp.Plugin.EmailHandler.Settings;
22

33
public class EmailHandlerSettings
44
{

src/Plugins/BotSharp.Plugin.EmailHandler/Using.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@
2121
global using BotSharp.Abstraction.Options;
2222
global using BotSharp.Abstraction.Messaging.Enums;
2323
global using BotSharp.Abstraction.Agents.Enums;
24-
global using BotSharp.Abstraction.Email.Settings;
2524
global using BotSharp.Abstraction.Files;
2625
global using BotSharp.Abstraction.Files.Enums;
2726
global using BotSharp.Abstraction.Files.Models;
2827
global using BotSharp.Abstraction.MLTasks;
2928
global using BotSharp.Abstraction.Repositories;
3029
global using BotSharp.Core.Infrastructures;
31-
global using BotSharp.Plugin.EmailHandler.LlmContexts;
30+
global using BotSharp.Plugin.EmailHandler.LlmContexts;
31+
global using BotSharp.Plugin.EmailHandler.Hooks;
32+
global using BotSharp.Plugin.EmailHandler.Settings;
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Please call handle_email_request if user wants to send out an email.
1+
Please call handle_email_request if user wants to send out an email.
2+
** Please take a look at the conversation, and decide whether user wants to send email with attachments or not.

0 commit comments

Comments
 (0)