From 1b3e39dd129ac5887fe8c5b0d0546cdb2858f9fa Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Wed, 6 Nov 2024 19:32:30 +0800 Subject: [PATCH] fix ci issue (#3245) ### What problem does this PR solve? ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- sdk/python/test/t_session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/python/test/t_session.py b/sdk/python/test/t_session.py index f2e9e353f..45984f5aa 100644 --- a/sdk/python/test/t_session.py +++ b/sdk/python/test/t_session.py @@ -36,7 +36,7 @@ def test_create_conversation_with_success(get_api_key_fixture): assistant = rag.create_chat("test_create_conversation", dataset_ids=[kb.id]) session = assistant.create_session() question = "What is AI" - for ans in session.ask(question, stream=True): + for ans in session.ask(question): pass # assert not ans.content.startswith("**ERROR**"), "Please check this error."