@@ -51,6 +51,8 @@ static void RegisterExamples(IServiceCollection services)
5151 services . AddTransient < ChatWithImageGenExample > ( ) ;
5252 services . AddTransient < ChatFromExistingExample > ( ) ;
5353 services . AddTransient < ChatWithReasoningExample > ( ) ;
54+ services . AddTransient < ChatExampleToolsSimple > ( ) ;
55+ services . AddTransient < AgentExampleTools > ( ) ;
5456 services . AddTransient < AgentExample > ( ) ;
5557 services . AddTransient < AgentConversationExample > ( ) ;
5658 services . AddTransient < AgentWithRedirectExample > ( ) ;
@@ -142,6 +144,7 @@ public class ExampleRegistry(IServiceProvider serviceProvider)
142144 ( "\u25a0 Chat with custom grammar" , serviceProvider . GetRequiredService < ChatCustomGrammarExample > ( ) ) ,
143145 ( "\u25a0 Chat with Files from stream" , serviceProvider . GetRequiredService < ChatWithFilesFromStreamExample > ( ) ) ,
144146 ( "\u25a0 Chat with Vision" , serviceProvider . GetRequiredService < ChatWithVisionExample > ( ) ) ,
147+ ( "\u25a0 Chat with Tools (simple)" , serviceProvider . GetRequiredService < ChatExampleToolsSimple > ( ) ) ,
145148 ( "\u25a0 Chat with Image Generation" , serviceProvider . GetRequiredService < ChatWithImageGenExample > ( ) ) ,
146149 ( "\u25a0 Chat from Existing" , serviceProvider . GetRequiredService < ChatFromExistingExample > ( ) ) ,
147150 ( "\u25a0 Chat with reasoning" , serviceProvider . GetRequiredService < ChatWithReasoningExample > ( ) ) ,
@@ -151,6 +154,7 @@ public class ExampleRegistry(IServiceProvider serviceProvider)
151154 ( "\u25a0 Agent with Redirect (Multi backends)" , serviceProvider . GetRequiredService < MultiBackendAgentWithRedirectExample > ( ) ) ,
152155 ( "\u25a0 Agent with Redirect Image" , serviceProvider . GetRequiredService < AgentWithRedirectImageExample > ( ) ) ,
153156 ( "\u25a0 Agent with Become" , serviceProvider . GetRequiredService < AgentWithBecomeExample > ( ) ) ,
157+ ( "\u25a0 Agent with Tools (advanced)" , serviceProvider . GetRequiredService < AgentExampleTools > ( ) ) ,
154158 ( "\u25a0 Agent with Knowledge" , serviceProvider . GetRequiredService < AgentWithKnowledgeFileExample > ( ) ) ,
155159 ( "\u25a0 Agent with Web Knowledge" , serviceProvider . GetRequiredService < AgentWithKnowledgeWebExample > ( ) ) ,
156160 ( "\u25a0 Agent with Mcp Knowledge" , serviceProvider . GetRequiredService < AgentWithKnowledgeMcpExample > ( ) ) ,
0 commit comments