Code
cookbook/models/ibm/watsonx/async_basic_stream.py
Usage
This example combines asynchronous execution with streaming. It creates an agent with
debug_mode=True for additional logging and uses the asynchronous API with streaming to get and display responses as they’re generated.