Add optional name and description fields to workflows in both Python and .NET implementations, matching the existing agent API pattern.
Python changes:
- Add name/description parameters to WorkflowBuilder.__init__
- Add name/description attributes to Workflow class
- Include name/description in to_dict() serialization
- Add WORKFLOW_NAME and WORKFLOW_DESCRIPTION OTEL attributes
- Add tests in test_serialization.py and test_workflow_observability.py
.NET changes:
- Add Name and Description properties to Workflow and Workflow<T>
- Add WithName() and WithDescription() fluent methods to WorkflowBuilder
- Add WorkflowName and WorkflowDescription OTEL tags
- Add test in WorkflowBuilderSmokeTests.cs
This enables applications like DevUI to display human-readable workflow names (e.g., 'Data Processing Pipeline') instead of auto-generated UUIDs (e.g., 'Workflow 50fdd917').
Fixes: #1181
* support for local function approval
* small fix
* fix mypy
* added bigger test scenario's for function calling and approvals
* updated lock
* updated return message for rejection
* fix test
* updated function result content handling
Eduard van Valkenburg
·
2025-10-04 15:19:16 +00:00
Should be `Agent2Agent Protocol` not `Agent-to-Agent` unless talking about general agent to agent communication
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* updated docstrings of all _files
* fix mypy
* fixed codeblocks in workflows and some other files
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Eduard van Valkenburg
·
2025-10-02 16:18:58 +00:00
* consolidate lab packages into a single one; update contribution guidelines
* update dep list
* add poe tasks; fix tests and lint erros
* add lab tests for CI
* fix test
* update root pyproject.toml
* Added example with stateful middleware
* Added chat middleware
* Updated middleware example with override scenario
* Small revert
* Small fixes
* Added kwargs to context objects
* Added README
* Added function middleware to chat client
* Small refactoring
* Reverted example files
* Made MiddlewareWrapper generic
* Added Middleware exception
* Small refactoring
* Small fix
* Magentic checkpoint wip
* Magentic checkpoint updates
* Support checkpointing for magentic orchestration.
* Checkpointing for sub-workflows
* Use _execute_contexts instead of _pending_requests
* Remove unnecessary type ignores
* Support checkpoints for other orchestrations, refactor some code.
* Regenerate uv.lock
* Further observability cleanup and update telemetry samples
* Add VS Code Extension config
* Fix unit tests
* Fix unit tests
* Add more comments
* Remove live metric
* removed intercepts_request and simplified how interception is handled
* parameterize SubWorkflowRequestInfo
* revert back the field rename of RequestResponse
* remove duplicate tests
* ignore type error
* remove SubWorkflowResponse
* Remove SubWorkflowRequestInfo and update RequestInfoMessage with source_executor_id for correlation