What's Changed
* feat: auto-detect callback handler to improve response class usage by ajndkr in https://github.com/ajndkr/fastapi-async-langchain/pull/32
Breaking Changes
- v0.5.0 introduces a major refactor to the `callbacks` module. Callback handler classes are reworked based on parent-child chain type relations.
- The `responses` module is refactored to use a singular `StreamingResponse` class to stream LLM output instead of multiple response class per chain type. This is done via auto-detecting the callback handler based on the chain type.
- The `websockets` module is refactored to use a singular `WebsocketConnection` class to establish a websocket connection with client instead of multiple websocket connection classes per chain type. This is done via auto-detecting the callback handler based on the chain type.
**Full Changelog**: https://github.com/ajndkr/fastapi-async-langchain/compare/v0.4.5...v0.5.0