1 instantiation of WebSearchToolResource
Aspire.Hosting.Foundry (1)
PromptAgent\PromptAgentBuilderExtensions.cs (1)
228
var resource = new
WebSearchToolResource
(name, project.Resource);
6 references to WebSearchToolResource
Aspire.Hosting.Foundry (3)
PromptAgent\PromptAgentBuilderExtensions.cs (2)
221
public static IResourceBuilder<
WebSearchToolResource
> AddWebSearchTool(
228
var
resource = new WebSearchToolResource(name, project.Resource);
ToolResources\BuiltInToolDefinitions.cs (1)
83
/// Creates a new instance of the <see cref="
WebSearchToolResource
"/> class.
Aspire.Hosting.Foundry.Tests (3)
PromptAgentTests.cs (3)
172
Assert.IsType<
WebSearchToolResource
>(agent.Resource.Tools[1]);
214
Assert.IsType<
WebSearchToolResource
>(tool.Resource);
464
Assert.IsType<
WebSearchToolResource
>(agent.Resource.Tools[1]);