2133043f11
Python: [Breaking] Remove WorkflowCompletedEvent, introduce workflow output and migrate to ctx.yield_output() + a huge refactoring ( #845 )
...
* Introduce input and output types for executor and workflow
* WorkflowOutputContext handles two types
* Remove can_handle_types from Executor
* Update validation
* Move workflow executor
* Move workflow executor
* Fix issues in WorkflowExecutor
* refactor executor
* update execute signature to create workflow context within Executor
* fix simple sub workflow test; fix validation
* fix output types in WorkflowExecutor
* fix issue in Executor handling of SubWorkflowRequestInfo
* update tests to use proper workflow output
* update orchestration patterns to use output
* Update sample -- not finished
* Update python/packages/main/tests/workflow/test_workflow_states.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/packages/main/tests/workflow/test_concurrent.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* address comments
* WorkflowOutputContext --> WorkflowContext
* remove WorkflowCompletedEvent
* update samples
* Update doc string for important classes; update WorkflowExecutor to support concurrent execution
* use Never instead of None for default type
* Update usage of WorkflowContext[None to WorkflowContext[Never
* address comments
* remove filter for None
* address comments, minor fixes
* quality of life improvement on interceptor types
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-23 20:52:53 +00:00
Eduard van Valkenburg and GitHub
2576e7a091
Python: Telemetry and observability follow-up ( #833 )
...
* updated telemetry work
* updated telemetry
* slight improvement
* updated tests
* fixes for telemetry
* fixes for mypy
* added settings setup to runner to avoid error
* streamline usage
* updated tests
* updated tests
* further refinement
* fix dumped item for otel
* removed enable_workflow_otel
* final fixes
* final fixes
* updated samples
* removed exporters
* fix tests
* fixed last import'
* fixed devui
2025-09-23 06:21:56 +00:00
Evan Mattson and GitHub
732d9f6cd7
Python: [BREAKING] Move workflow to main package ( #767 )
...
* Move workflow to main package
* Remove workflow specific unit test config
* Remove workflow-specific version info
* Revert unintended telemetry changes
* Removed the obsolete packages/workflow/tests target
* Rename dir workflow to _workflow
* Fix test imports
2025-09-16 12:04:07 +00:00
Evan Mattson and GitHub
2699b85285
Python: Update getting started with workflows sample structure and README ( #653 )
...
* Update getting started with workflows sample structure and README
* Small updates
* Adjust getting started samples. Fix agent executor bug. Add workflow tests to unit test file.
* Fix resource links
2025-09-09 06:06:22 +00:00