3 writes to Connection
Aspire.Hosting.Foundry (3)
PromptAgent\PromptAgentBuilderExtensions.cs (3)
456
tool.Resource.
Connection
= connectionBuilder.Resource;
463
tool.Resource.
Connection
= connection.Resource;
469
tool.Resource.
Connection
= paramConnection.Resource;
9 references to Connection
Aspire.Hosting.Foundry (4)
PromptAgent\AzurePromptAgentResource.cs (1)
404
BingGroundingToolResource {
Connection
: IAzureResource bingConnection } => bingConnection.ProvisioningTaskCompletionSource?.Task,
PromptAgent\PromptAgentBuilderExtensions.cs (1)
447
if (tool.Resource.
Connection
is not null)
ToolResources\BingGroundingToolResource.cs (2)
56
if (
Connection
is null)
63
var connectionIdRef = new BicepOutputReference("id",
Connection
);
Aspire.Hosting.Foundry.Tests (5)
PromptAgentTests.cs (5)
272
Assert.Null(tool.Resource.
Connection
);
286
Assert.NotNull(tool.Resource.
Connection
);
287
Assert.Same(connection.Resource, tool.Resource.
Connection
);
315
Assert.NotNull(tool.Resource.
Connection
);
355
Assert.NotNull(tool.Resource.
Connection
);