Skip to content

Commit 996b128

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents eaa1403 + ebb9d4c commit 996b128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/apps/chat/api/chat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ async def start_chat(session: SessionDep, current_user: CurrentUser):
106106
async def recommend_questions(session: SessionDep, current_user: CurrentUser, chat_record_id: int,
107107
current_assistant: CurrentAssistant):
108108
def _return_empty():
109-
yield 'data:' + orjson.dumps( {'content': [], 'type': 'recommended_question'}).decode() + '\n\n'
109+
yield 'data:' + orjson.dumps( {'content': '[]', 'type': 'recommended_question'}).decode() + '\n\n'
110110

111111
try:
112112
record = get_chat_record_by_id(session, chat_record_id)

0 commit comments

Comments
 (0)