WrenAI
WrenAI copied to clipboard
Refactor async handling and improve logging in dummy ask task
This PR enhances the async handling by ensuring all blocking calls are run in separate threads using asyncio.to_thread. It also improves logging for better traceability and cleans up the code for better readability.
Hey @qdrddr I have added a PR, Please check and review
Thanks, this is not used anymore.