Skip to content

Commit 7a531cb

Browse files
authored
Merge pull request #401 from omertuc/convi
fix: streaming_query: empty conversation ID
2 parents d09b328 + e2c910f commit 7a531cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/endpoints/streaming_query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ async def streaming_query_endpoint_handler( # pylint: disable=too-many-locals
399399
user_id, _user_name, token = auth
400400

401401
user_conversation: UserConversation | None = None
402-
if query_request.conversation_id is not None:
402+
if query_request.conversation_id:
403403
user_conversation = validate_conversation_ownership(
404404
user_id=user_id, conversation_id=query_request.conversation_id
405405
)

0 commit comments

Comments
 (0)