Repository navigation
.NET: feat: adds the executorId as an additional property when running the workflow as agent in dotnet - #7934
Vincent Biret (baywet) wants to merge 15 commits into
Conversation
…workflow as agent in dotnet
There was a problem hiding this comment.
Pull request overview
Adds workflow executor attribution to streamed .NET agent response updates.
Changes:
- Adds a public
executorIdmetadata key. - Attaches executor IDs to response updates.
- Adds multi-executor streaming coverage.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
WorkflowAgentAdditionalProperties.cs |
Defines the executor ID key. |
AgentResponseUpdateEvent.cs |
Adds attribution metadata to updates. |
WorkflowHostSmokeTests.cs |
Tests attribution and metadata preservation. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…cross execution methods Signed-off-by: Vincent Biret <vibiret@microsoft.com>
…revious inputs for the executorId Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com>
| /// <summary> | ||
| /// Defines additional property keys used by workflow-hosted agents. | ||
| /// </summary> | ||
| public static class WorkflowAgentAdditionalProperties |
There was a problem hiding this comment.
FYI: If we are unsure about something new that is public we often mark it as experimental, to make sure we can still make changes to it before graduating the feature. We then remove experimental once we are happy with the overall change.
Not sure if that is applicable here, but just an FYI.
There was a problem hiding this comment.
Thanks I think Tao Chen (@TaoChenOSU) and Peter Ibekwe (@peibekwe) will be able to inform the design here and whether or not we need to add those experimental aspects.
|
worth exploring this instead of magic keys in a dictionary update.RawRepresentation is ExecutorEvent exevt
exevt.ExecutorId |
Code coverage overviewLanguages: C# C# / code-coverage/dotnet
View coverage of the 4 most impacted files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. |
fixes #4445