Skip to content

Commit

Permalink
adds comment on agent autoreference
Browse files Browse the repository at this point in the history
  • Loading branch information
tommasodotNET committed Nov 22, 2024
1 parent 7550962 commit 173be67
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
var dotnetAgent3 = builder.AddProject<Projects.dotnet_03_simple_chatbot>("agent3")
.WithReference(workbenchServiceEndpoint)
.WaitFor(workbenchService);
// the agent needs to reference its own endpoint in order to send it to the workbench service when it registers
dotnetAgent3.WithEnvironment("Workbench__ConnectorEndpoint", $"{dotnetAgent3.GetEndpoint("http")}/myagents")
.WithEnvironment("Workbench__WorkbenchEndpoint", workbenchServiceEndpoint);

Expand Down

0 comments on commit 173be67

Please sign in to comment.