From 54dea523e66d2262f4b1e9e088d5e569668a59c6 Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 5 Aug 2024 23:23:06 +0800 Subject: [PATCH] chore: fix test --- tests/ai_test/chat_test.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ai_test/chat_test.rs b/tests/ai_test/chat_test.rs index 79b481b6..09bf7488 100644 --- a/tests/ai_test/chat_test.rs +++ b/tests/ai_test/chat_test.rs @@ -275,7 +275,7 @@ async fn create_chat_context_test() { let context = CreateTextChatContext { chat_id: chat_id.clone(), content_type: "txt".to_string(), - text: "I have lived in the US for five years".to_string(), + text: "Lacus have lived in the US for five years".to_string(), chunk_size: 1000, chunk_overlap: 20, metadata: Default::default(), @@ -287,7 +287,7 @@ async fn create_chat_context_test() { .await .unwrap(); - let params = CreateChatMessageParams::new_user("Where I live?"); + let params = CreateChatMessageParams::new_user("Where Lacus live?"); let question = test_client .api_client .create_question(&workspace_id, &chat_id, params)