From 293df56274a25cfd0759f867412033ede79d9f6a Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Thu, 11 Jun 2026 11:59:14 +0800 Subject: [PATCH] fix(ai): relax connection test token limit --- crates/dbx-core/src/ai.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/dbx-core/src/ai.rs b/crates/dbx-core/src/ai.rs index 7af5038ef..848b77e4d 100644 --- a/crates/dbx-core/src/ai.rs +++ b/crates/dbx-core/src/ai.rs @@ -681,7 +681,7 @@ pub async fn test_connection_core(config: &AiConfig) -> Result { config: config.clone(), system_prompt: String::new(), messages: vec![AiMessage { role: "user".into(), content: "hi".into() }], - max_tokens: Some(1), + max_tokens: Some(16), temperature: Some(0.0), };