diff --git a/src-tauri/src/ai.rs b/src-tauri/src/ai.rs index ca01157..c4d2ec4 100644 --- a/src-tauri/src/ai.rs +++ b/src-tauri/src/ai.rs @@ -405,7 +405,7 @@ async fn test_anthropic(api_key: &str, model: &str) -> Result { let body = json!({ "model": model, - "max_tokens": 10, + "max_tokens": 20, "messages": [ { "role": "user", @@ -440,7 +440,7 @@ async fn test_openai(url: &str, api_key: Option<&str>, model: &str) -> Result