1 write to Connection
Aspire.Hosting.Foundry (1)
PromptAgent\PromptAgentBuilderExtensions.cs (1)
348
tool.Resource.
Connection
= connection.Resource;
6 references to Connection
Aspire.Hosting.Foundry (4)
PromptAgent\AzurePromptAgentResource.cs (1)
405
AzureAISearchToolResource {
Connection
: IAzureResource searchConnection } => searchConnection.ProvisioningTaskCompletionSource?.Task,
PromptAgent\PromptAgentBuilderExtensions.cs (1)
336
if (tool.Resource.
Connection
is not null)
ToolResources\AzureAISearchToolResource.cs (2)
57
if (
Connection
is null)
65
var connectionIdRef = new BicepOutputReference("id",
Connection
);
Aspire.Hosting.Foundry.Tests (2)
PromptAgentTests.cs (2)
34
searchTool.Resource.
Connection
!.Outputs["id"] = "/connections/search";
332
Assert.NotNull(tool.Resource.
Connection
);