Skip to content

Commit 49a7c5d

Browse files
updated the files
1 parent 08d586d commit 49a7c5d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/api/api/api_routes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ async def conversation(request: Request):
117117
# Get the request JSON and last RAG response from the client
118118
request_json = await request.json()
119119
conversation_id = request_json.get("conversation_id")
120-
121120
query = request_json.get("messages")[-1].get("content")
122121
chat_service = ChatService(request=request)
123122
result = await chat_service.stream_chat_request(request_json, conversation_id, query)

src/api/plugins/chat_with_data_plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ async def generate_chart_data(
194194
)
195195

196196
if run.status == "failed":
197+
print(f"Run failed: {run.last_error}")
197198
return "Details could not be retrieved. Please try again later."
198199

199200
chartdata = ""

0 commit comments

Comments
 (0)