Skip to content

Python: [Feature]: workflow.as_agent() should default name and description to workflow's properties #4652

@cecheta

Description

@cecheta

Description

When calling workflow.as_agent(), name has to be passed in manually, despite the fact that the workflow has a name (and a description). It would be good if they defaulted to the workflow's name and description

Code Sample

agent = workflow.as_agent()
assert agent.name === workflow.name # This should be true

Language/SDK

Python

Metadata

Metadata

Assignees

Labels

pythonworkflowsRelated to Workflows in agent-framework

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions