fix(ai): relax connection test token limit

This commit is contained in:
t8y2
2026-06-11 11:59:23 +08:00
parent 5cf736ad96
commit 293df56274
+1 -1
View File
@@ -681,7 +681,7 @@ pub async fn test_connection_core(config: &AiConfig) -> Result<String, String> {
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),
};