|
use crate::appflowy_ai_client;
|
|
|
|
#[tokio::test]
|
|
async fn qa_test() {
|
|
let client = appflowy_ai_client();
|
|
client.health_check().await.unwrap();
|
|
let resp = client
|
|
.send_question("fake_chat_id", "I feel hungry")
|
|
.await
|
|
.unwrap();
|
|
assert!(!resp.content.is_empty());
|
|
}
|