Skip to content

Commit 0bd90ff

Browse files
committed
add title to DATA_PREVIEW
1 parent b3ef012 commit 0bd90ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wren-ai-service/src/web/v2/services/conversation.py

+2
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,7 @@ async def start_conversation(
792792
"data": {
793793
"type": "CHART",
794794
"payload": {
795+
"title": user_query,
795796
"chart_schema": chart_schema,
796797
"sql": chart_generation_result.get("sql"),
797798
},
@@ -1000,6 +1001,7 @@ async def start_conversation(
10001001
"data": {
10011002
"type": "TABLE",
10021003
"payload": {
1004+
"title": user_query,
10031005
"sql": sql,
10041006
},
10051007
},

0 commit comments

Comments
 (0)