Commit Graph

10 Commits

  • [BREAKING] Python: Refactor orchestrations (#3023)
    * Group chat refactoring Part 1; Next: HIL and handoff
    
    * Add agent approval flow; next samples
    
    * WIP: samples
    
    * WIP: HIL samples
    
    * Group chat HIL working; next: handoff
    
    * Fix group chat tool approval sample
    
    * WIP: refactor handoff; next handoff handling
    
    * Handoff done; next handoff samples and concurrent and sequential
    
    * Handoff samples, concurrent, and sequential done; next Magentic
    
    * WIP: magentic; next test with samples + HIL
    
    * Magentic Working; next fix all samples and tests
    
    * Fix handoff samples; next tests
    
    * WIP: fixing tests; some orchestration as agent samples are failing
    
    * Group chat unit tests done
    
    * Handoff  unit tests done
    
    * Remove old orchestration_request_info and fix related tests
    
    * Magentic unit tests done
    
    * Fix samples
    
    * Fix test
    
    * Fix test 2
    
    * mypy
    
    * Address comments
    
    * Update readme
    
    * Address comments
    
    * Address comments 2
    
    * Replace display name
  • Python: extend HITL support for all orchestration patterns (#2620)
    * Support HITL for orchestration patterns
    
    * Cleanup around naming
    
    * Fix typing issues
    
    * Clean up
    
    * Naming clean up
    
    * Updates to HITL to make it cleaner
    
    * Rename human input hook to orchestration request info
    
    * Clean up per PR feedback
  • Python: WorkflowBuilder registry (#2486)
    * Add workflow builder factory pattern
    
    * Add internal edge groups to registered executors; next samples
    
    * Update samples: Part 1
    
    * register -> register_executor
    
    * update hil samples
    
    * Update other samples
    
    * Update agent  samples
    
    * Update doc string
    
    * Add new sample
    
    * Fix mypy
    
    * Address comments
    
    * Fix mypy
  • Python: Handle agent user input request in AgentExecutor (#2022)
    * Handle agent user input request in AgentExecutor
    
    * fix test
    
    * Address comments
    
    * Fix tests
    
    * Fix tests
    
    * Address comments
    
    * Address comments
  • Add simple workflow sample that mixes agents and executors (#1946)
    * Add workflow mix agent executor samples
    
    * Apply suggestion from @Copilot
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com>
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
  • Python: [BREAKING] consolidate workflow run APIs (#1723)
    * consolidate workflow run apis
    
    * improve validation, add tests
    
    * Proper code tags for docs
    
    * Update sample output
    
    * Remove cycle validation
    
    * PR feedback
    
    * Validation
    
    * Cleanup
  • [BREAKING] Python: Remove request_type param from ctx.request_info() (#1824)
    * Remove request_type param from ctx.request_info()
    
    * Address comments
  • [BREAKING] Python: Replace RequestInfoExecutor with request_info API and @response_handler (#1466)
    * Prototype: Add request_info API and @response_handler
    
    * Add original_request as a parameter to the response handler
    
    * Prototype: request interception in sub workflows
    
    * Prototype: request interception in sub workflows 2
    
    * WIP: Make checkpointing work
    
    * checkpointing with sub workflow
    
    * Fix function executor
    
    * Allow sub-workflow to output directly
    
    * Remove ReqeustInfoExecutor and related classes; Debugging checkpoint_with_human_in_the_loop
    
    * Fix Handoff and sample
    
    * fix pending requests in checkpoint
    
    * Fix unit tests
    
    * Fix formatting
    
    * Resolve comments
    
    * Address comment
    
    * Add checkpoint tests
    
    * Add tests
    
    * misc
    
    * fix mypy
    
    * fix mypy
    
    * Use request type as part of the key
    
    * Log warning if there is not response handler for a request
    
    * Update Internal edge group comments
    
    * REcord message type in executor processing span
    
    * Update sample
    
    * Improve tests
  • Python: [BREAKING] Python: Rename workflow to workflows (#1007)
    * Rename workflow to workflows
    
    * Update occurence of workflow to new name