You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, many thanks to @sarah-widder et al. for providing this sample, it helped us greatly to deploy a custom chat solution!
We merged the latest changes, especially the major refactoring that included an upgrade from Flask to Quart. While the changes seem to work, we now get an error when running the chat locally:
ERROR:asyncio:Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x7f822a653a90>
This message appears only when generating a response and not while e.g., loading/refreshing the web app:
This message seems to be generated by Quart, however without any references to where in the code this error is triggered. Not sure if this relates to the cosmos_conversation_client.cosmosdb_client.close() method not being called after e.g., an error? Or is Quart somehow not closing open ClientSessions although I could not find a reference in the code?
Any guidance is appreciated!
The text was updated successfully, but these errors were encountered:
The error is gone when cosmos db feature is deactivated. Potentitally something with my configuration. But indeed some log output may be missing on error.
First of all, many thanks to @sarah-widder et al. for providing this sample, it helped us greatly to deploy a custom chat solution!
We merged the latest changes, especially the major refactoring that included an upgrade from Flask to Quart. While the changes seem to work, we now get an error when running the chat locally:
ERROR:asyncio:Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f822a653a90>
This message appears only when generating a response and not while e.g., loading/refreshing the web app:
This message seems to be generated by Quart, however without any references to where in the code this error is triggered. Not sure if this relates to the
cosmos_conversation_client.cosmosdb_client.close()
method not being called after e.g., an error? Or is Quart somehow not closing openClientSession
s although I could not find a reference in the code?Any guidance is appreciated!
The text was updated successfully, but these errors were encountered: