fix ci issue (#3245)

### What problem does this PR solve?


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Kevin Hu 2024-11-06 19:32:30 +08:00 committed by GitHub
parent fbcc0bb408
commit 1b3e39dd12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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]) assistant = rag.create_chat("test_create_conversation", dataset_ids=[kb.id])
session = assistant.create_session() session = assistant.create_session()
question = "What is AI" question = "What is AI"
for ans in session.ask(question, stream=True): for ans in session.ask(question):
pass pass
# assert not ans.content.startswith("**ERROR**"), "Please check this error." # assert not ans.content.startswith("**ERROR**"), "Please check this error."