File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Infrastructure/BotSharp.Core/Agents/Services Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ namespace BotSharp.Core.Agents.Services;
55
66public partial class AgentService
77{
8- public static ConcurrentDictionary < string , Dictionary < string , string > > AgentParameterTypes = new ( ) ;
8+ public static ConcurrentDictionary < string , Dictionary < string , string > > AgentParameterTypes = new ( ) ;
99
1010 [ MemoryCache ( 10 * 60 , perInstanceCache : true ) ]
1111 public async Task < Agent > LoadAgent ( string id )
@@ -106,14 +106,14 @@ private void AddOrUpdateParameters(Agent agent)
106106 {
107107 var agentId = agent . Id ?? agent . Name ;
108108 if ( AgentParameterTypes . ContainsKey ( agentId ) ) return ;
109-
109+
110110 AddOrUpdateRoutesParameters ( agentId , agent . RoutingRules ) ;
111111 AddOrUpdateFunctionsParameters ( agentId , agent . Functions ) ;
112112 }
113113
114114 private void AddOrUpdateRoutesParameters ( string agentId , List < RoutingRule > routingRules )
115115 {
116- if ( ! AgentParameterTypes . TryGetValue ( agentId , out var parameterTypes ) )
116+ if ( ! AgentParameterTypes . TryGetValue ( agentId , out var parameterTypes ) )
117117 {
118118 parameterTypes = new ( ) ;
119119 }
You can’t perform that action at this time.
0 commit comments