1 instantiation of AzurePromptAgentResource
Aspire.Hosting.Foundry (1)
PromptAgent\PromptAgentBuilderExtensions.cs (1)
69
var agent = new
AzurePromptAgentResource
(name, model.Resource.DeploymentName, project.Resource, instructions);
8 references to AzurePromptAgentResource
Aspire.Hosting.Foundry (7)
PromptAgent\AzurePromptAgentResource.cs (1)
41
/// Creates a new instance of the <see cref="
AzurePromptAgentResource
"/> class.
PromptAgent\PromptAgentBuilderExtensions.cs (6)
59
public static IResourceBuilder<
AzurePromptAgentResource
> AddPromptAgent(
69
var
agent = new AzurePromptAgentResource(name, model.Resource.DeploymentName, project.Resource, instructions);
145
public static IResourceBuilder<
AzurePromptAgentResource
> WithTool(
146
this IResourceBuilder<
AzurePromptAgentResource
> agent,
678
public static IResourceBuilder<
AzurePromptAgentResource
> WithCustomTool(
679
this IResourceBuilder<
AzurePromptAgentResource
> builder,
Aspire.Hosting.Foundry.Tests (1)
PromptAgentTests.cs (1)
34
Assert.IsType<
AzurePromptAgentResource
>(agent.Resource);