Commit Graph

9 Commits

  • Python: Clean up and formatting (#487)
    * Clean up and formatting
    
    * Fix mypy
    
    * Bug fix
  • Python: Removed DefaultAzureCredential (#490)
    * Removed DefaultAzureCredential
    
    * Renamed ad_credential to credential
  • Python: Adding support for nested workflows (#460)
    * Adding design documents and data flow descriptions for sub-workflows
    
    * Updating docs.
    
    * Sub-workflow implementation #1. Stuck because of singleton RequestInfoExecutor, going to make a change to remove that restrivtion.
    
    * Removed the singleton restriction on RequestInfoExecutor so enable sub-workflows.
    
    * Scenarios seem to be working.
    
    * Sample improved.
    
    * going to have intern add generic response wrappers.
    
    * Wrapped responses working.
    
    * Non-hardcoded routing is working.
    
    * Sample showing external approved and not approved.
    
    * Cleaning up.
    
    * Updating some samples and user guide.
    
    * Removing old design doc.
    
    * Cleaning up.
    
    * Adding python-package-setup.md back.
    
    * Update python/packages/workflow/agent_framework_workflow/_executor.py
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    * Update python/packages/workflow/agent_framework_workflow/_validation.py
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    * Removing prints.
    
    * Fixing lint and type issues.
    
    * Fixing lint and type issues.
    
    * Update python/packages/workflow/agent_framework_workflow/_executor.py
    
    Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
    
    * Adding type hints to intercepts decorator.
    
    * Removing unused files.
    
    * Fixing issue with sample 5 groupchat with hil.
    
    * Removing redundent samples.
    
    * Updates to ensure no conflicting request interceptors and to support a subflow with multiple requests in a single super step.
    
    * Fixing pypi errors.
    
    * clean up samples
    
    * update samples to make it more clear
    
    * warning for unhandled request info from sub workflow
    
    * add logger info
    
    ---------
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
  • Python: Use generic for WorkflowContext and use its type parameters to indicate executor's output types (#444)
    * Use generic for WorkflowContext and use its type parameters to indicate executor's output types
    
    * Update
    
    * Fix type errors and add in-line comments
    
    * fix test
    
    * type
    
    * Fix executor type issues
  • Python: Workflow visualization. (#372)
    * Workflow visualization.
    
    * fix typing
    
    * address comments
    
    * update all samples
    
    * Update fan in edge group visual
    
    * fix quality check
    
    * Update python/samples/getting_started/workflow/step_06_map_reduce.py
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    * address comment
    
    * Catch up with changes in workflow; add to_mermaid method
    
    * Update examples
    
    * fix test
    
    * add installation guide to error messages
    
    * Remove visualization for samples except for one.
    
    ---------
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com>
  • Python: Workflow Edge Groups (#393)
    * Introducing edge groups
    
    * Add conditional and partitioning edge groups; next add samples and tests
    
    * Add unit tests
    
    * Add samples
    
    * Address comments 1
    
    * Address comments 2
    
    * Update conditional edge group to take in cases and default
    
    * Minor updates to sample
    
    * Collapsing Paritioning Edge group and Conditional Edge group to source edge group
    
    * Improve sample clarity
    
    * Name consolidation
    
    ---------
    
    Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
  • Python: openai updates (#388)
    * openai updates
    
    * rebuild of openai structure
    
    * updated responses structure
    
    * renamed sample
    
    * added file id support to code interpreter
    
    * added hosted file ids to code interpretor
    
    * mypy fixes
    
    * removed default az cred from codebase
    
    * updated agent name setup
    
    * added kwargs to entra methods
    
    * and further kwargs
    
    * extra comment
    
    * updated all samples
    
    * readded custom get methods for responses
    
    * updated int tests with ad credential
    
    * missed one
  • Python: introduce workflow checkpointing (#366)
    * Add workflow checkpointing functionality.
    
    * Reintroduce protocol that went missing during merge
    
    * Checkpoint updates
    
    * Fix ordering of checkpointing
    
    * Cleanup
    
    * Cleanup - thanks Copilot
    
    * Cleanup - thanks Copilot
    
    * State reset updates
    
    * State reset updates 2
    
    * Workflow fixes and updates. Addressed PR feedback
    
    * A few updates
  • Python: Define Workflow and Executor APIs (#272)
    * Workflow init commit
    
    * Add samples and clean up
    
    * ExecutionContext -> WorkflowContext
    
    * Address comments 1
    
    * Fix mypy
    
    * flatting folder structure, and rename contexts
    
    * Remove add_loop
    
    * Add map reduce sample, remove Activation conditions
    
    * Add AgentExecutor and allow multiple handlers per executor
    
    * Minor improvement
    
    * Add RequestInfoExecutor
    
    * Add unit tests part 1
    
    * Address comments 2
    
    * Pre-commit update
    
    * Add run method and more unit tests
    
    * Add xml docs
    
    * run_stream -> run_streaming
    
    * message_handler -> handler
    
    ---------
    
    Co-authored-by: Chris <66376200+crickman@users.noreply.github.com>
    Co-authored-by: Evan Mattson <evan.mattson@microsoft.com>