Response from custom executor doesn't trigger LLM interaction in the following Agent edge #4627
Unanswered
essimplyioa
asked this question in
Q&A
Replies: 2 comments
-
|
Adding @lokitoth to help. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
To provide more details, here are other variations of the custom executors that I've tried: public override async ValueTask<ChatMessage> HandleAsync(List<ChatMessage> messages, IWorkflowContext context, CancellationToken cancellationToken = default)
{
// ...
await context.SendMessageAsync(outMessage, cancellationToken);
return outMessage;
}
public override async ValueTask<ChatMessage> HandleAsync(List<ChatMessage> messages, IWorkflowContext context, CancellationToken cancellationToken = default)
{
// ...
return outMessage;
}
public override async ValueTask<List<ChatMessage>> HandleAsync(List<ChatMessage> messages, IWorkflowContext context, CancellationToken cancellationToken = default)
{
// ...
return [outMessage];
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to execute the following logical workflow:
However, even though the aggregated message contains expected data, and the final
decision-agentis invoked, it doesn't involve LLM, and no output is produced from it.What am I doing wrong here?
I tried various variations of the above. Some resulted in errors; others didn't trigger the
decision-agentat all. For example, the code below throws an exception:Beta Was this translation helpful? Give feedback.
All reactions