Basic Usage
Stream Intermediate Steps
For agent-based application, you can stream intermediate steps back to the client. This can be useful for debugging, or for providing more context to the user. Here’s an example of an agent streaming intermediate step when a new tool is called:IntermediateStep object contains the following fields:
string
required
A name or description of the intermediate step.
json
Data associated with the intermediate step.
