Skip to content

Commit 24f9f30

Browse files
author
Jicheng Lu
committed
fix typo
1 parent 4ce52d5 commit 24f9f30

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Infrastructure/BotSharp.Abstraction/Agents/AgentHookBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public virtual void OnAgentLoaded(Agent agent)
5858
{
5959
}
6060

61-
public virtual void OnAgentUtilityloaded(Agent agent)
61+
public virtual void OnAgentUtilityLoaded(Agent agent)
6262
{
6363
if (agent.Type == AgentType.Routing) return;
6464

src/Infrastructure/BotSharp.Abstraction/Agents/IAgentHook.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public interface IAgentHook
2525

2626
bool OnSamplesLoaded(List<string> samples);
2727

28-
void OnAgentUtilityloaded(Agent agent);
28+
void OnAgentUtilityLoaded(Agent agent);
2929

3030
/// <summary>
3131
/// Triggered when agent is loaded completely.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public async Task<Agent> LoadAgent(string id)
6767
hook.OnSamplesLoaded(agent.Samples);
6868
}
6969

70-
hook.OnAgentUtilityloaded(agent);
70+
hook.OnAgentUtilityLoaded(agent);
7171
hook.OnAgentLoaded(agent);
7272
}
7373

0 commit comments

Comments
 (0)