We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
and project_client
1 parent 4f81d2a commit 12ca750Copy full SHA for 12ca750
src/App/backend/plugins/chat_with_data_plugin.py
@@ -107,7 +107,7 @@ async def get_SQL_Response(
107
logging.exception("Error in get_SQL_Response")
108
return f"Error retrieving SQL data: {str(e)}"
109
finally:
110
- if thread and project_client:
+ if thread:
111
try:
112
logging.info(f"Attempting to delete thread {thread.id}")
113
await project_client.agents.threads.delete(thread.id)
0 commit comments