microsoft / microsoft/agent-framework

Investigate creating AIContent-types for Workflow Events

Open
#5,651 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
13.6k
Forks
2.3k
Avg merge
2d 45m
Merged PRs (30d)
358

Description

When hosting Workflow-as-Agent we surface `WorkflowEvent` instances that do not have corresponding `AIContent` types as empty `ChatMessage` objects with `RawRepresentation` set to the `WorkflowEvent`, but this results in odd-looking messages when debugging: `[agent: null]`.

We should consider making the set of `AIContent` types richer, supporting `WorkflowEvent` types.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how WorkflowEvent instances are represented as AIContent and empty ChatMessage objects, including the RawRepresentation path. Compare the existing AIContent types with the workflow event cases described in the issue, then define the supported event mappings and clearer debugging output. Done means WorkflowEvent types have an agreed AIContent representation without the current odd-looking messages.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.