Commit Graph

6 Commits

  • .NET: Fix race condition issue in FanInEdge while processing messages. (#4662)
    * Fix race condition issue in FanInEdge while processing messages.
    
    * refactored to limit the code segment under lock.
    
    * Remove extra materialization of the result.
    
    * Added comment to clarify future changes if process message is made async.
  • .NET: [BREAKING] Implement Polymorphic Routing (#3792)
    * feat: Implement Polymorphic Routing
    
    * feat: Add support for Send/Yield annotations with basic Executor
    
    * Adds annotations to Declarative workflow executors
    
    * fix: Address PR Comments
    
    * Implicit filter in collection loops
    * Remove debug / usused / superfluous code
    * Fix ProtocolBuilder implicit output registrations
    * Fix logic error in ExecuteRouteGeneratorTests.ClassWithManualConfigureProtocol_DoesNotGenerate
    
    * fix: Solidify type checks and send/yield type registrations
    
    * fix: Suppress generation of TurnTokens out of AggregateTurnMessagesExecutor
    
    * Fixes an issue where ConcurrentEndExecutor is not expecting TurnTokens.
    
    * fix: Add ProtocolBuilder support for chained-delegation
    
    * Updates Declarative pacakge to rely on chained-delegation Send/Yield registration
    * Renames DeclarativeActionExectuor's new ExecuteAsync to ExecuteActionAsync to avoid colliding with Executor.ExecutoeAsync
    
    * fix: Address PR Comments
    
    * Fixes type mapping in FanInEdgeRunner
    * Fixes and expalins send/yield type registration in FunctionExecutor
    
    * fixup: build-break
    
    * fix: Add missing SendsMesage declaration to InvokeAzureAgentExecutor
  • .NET: [BREAKING] feat: Improve Agent hosting inside Workflows (#3142)
    * refactor: Rename AggregateTurnMessagesExecutor
    
    * feat: Rework Agent Hosting for Configurability and HIL support
    
    * Adds support for selecting whether updates and/or full responses are
      emitted to events
    * Adds support for HIL/FunctionCalls (including interception)
    * Implements internal support for ExternalRequests from any executor
      (not just RequestPort)
    
    * test: Add tests for new AIAgentHostExecutor functionality
    
    * feat: Unify non-Handoff Agent Hosting
    
    * doc: More explicit documentation for `overwrite` in RouteBuilder
  • .NET: adds support for labels in edges, fixes rendering of labels in dot a… (#1507)
    * adds support for labels in edges,  fixes rendering of labels in dot and mermaid, adds rendering of labels in edges
    
    * Update dotnet/src/Microsoft.Agents.AI.Workflows/Visualization/WorkflowVisualizer.cs
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    * escaping edge labels, adding tests for labels containing strange characters that would break the diagram and enabling the previous signature so the API has backwards compatibility.
    
    * Unify label in EdgeData
    
    * Edge API adjustments, removed useless "sanitizer"
    
    * fixed test
    
    ---------
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    Co-authored-by: Jacob Alber <jaalber@microsoft.com>
    Co-authored-by: Chris <66376200+crickman@users.noreply.github.com>
  • .NET: Fix some more static analysis diagnostics (#1025)
    * S1006
    
    * S2219
    
    * S3236
    
    * S3260
    
    * S1125
    
    * IDE0063
    
    * IDE0062
    
    * IDE0028
  • .NET: Rename workflows projects (#975)
    * Renaming Microsoft.Agent.Workflows to Microsoft.Agents.AI.Workflows
    
    * Removing local settings.
    
    * Removing remining old files from merge.