Can an agent offer a streaming interface and an invocation interface? If it is so, is there any way to understand the type of request on AgentExecutor?
Let me say that I'm trying to build an Agent which performs two type of operations:
- Very long and complex operation which provides status updates every time that it completes an operation
- Fast and simple operation like
print the content of the file X.
I'd like to provide the first operation as streaming and the second one as a simple invocation. How can I do it using A2A which sends request to the same interface.
Should I create a different executor for each AgentInterface?
Can an agent offer a streaming interface and an invocation interface? If it is so, is there any way to understand the type of request on AgentExecutor?
Let me say that I'm trying to build an Agent which performs two type of operations:
print the content of the file X.I'd like to provide the first operation as streaming and the second one as a simple invocation. How can I do it using A2A which sends request to the same interface.
Should I create a different executor for each AgentInterface?