Local API responses Issue

When I get responses from the local API (via FastAPI), I only recieve the first token. I tried your foloowing example: Run Local Agent API - Agno

But when using the print_response() method, it will print full response.