Skip to content

.NET: [Bug]: not working declarative workflow InvokeFunctionTool as expected #7978

Description

@dsslight

Description

Declarative workflow and this repository samples suggest to use functions in that way.

However, what about running workflow and functions using StreamingRun = InProcessExecution.ResumeStreamingAsync()?
As of now usage of this option result in emitting events RequestInfoEvent w/o actual tool call. It require implementation of ResponseAgentProvider and actual tool call and sending response back to workflow instantiated based on declarative yaml to set response to defined env variable (in Topic namespace btw, separate issue mentioned here).

Code Sample

Error Messages / Stack Traces

Package Versions

Microsoft.Agents.AI.Workflows.Declarative

.NET Version

.NET 10.0.300

Additional Context

declarative framework

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETUsage: [Issues, PRs], Target: .NettriageUsage: [Issues], Target: All issues that still need to be triaged

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions