Skip to content

Commit 56e98e1

Browse files
committed
Fix context stream
1 parent 45a4d15 commit 56e98e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-apps/chat/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def inference(latest_message, history):
8181
else:
8282
if role != "assistant":
8383
log.warn(f"Message role {role} converted to 'assistant'")
84-
context.append(AIMessage(content=(content or "")))
84+
context.append(AIMessage(content=(content or "")))
8585
context.append(HumanMessage(content=latest_message))
8686

8787
log.debug("Chat context: %s", context)

0 commit comments

Comments
 (0)