From 4fd6e8b0f4a9946ba8414a541c4cc1d332532bbc Mon Sep 17 00:00:00 2001 From: imeepos Date: Tue, 22 Jul 2025 18:57:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20system=20=E7=B3=BB=E7=BB=9F=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E8=AF=8D=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/desktop/src-tauri/src/infrastructure/gemini_service.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/src-tauri/src/infrastructure/gemini_service.rs b/apps/desktop/src-tauri/src/infrastructure/gemini_service.rs index 6992b49..9b98487 100644 --- a/apps/desktop/src-tauri/src/infrastructure/gemini_service.rs +++ b/apps/desktop/src-tauri/src/infrastructure/gemini_service.rs @@ -175,7 +175,7 @@ impl Default for RagGroundingConfig { data_store_id: "searchable-model-images_1752827560253".to_string(), // 使用存在的数据存储 model_id: "gemini-2.5-flash".to_string(), temperature: 1.0, - max_output_tokens: 1000 * 10, + max_output_tokens: 1000 * 100, system_prompt: Some("你是一个短视频情景穿搭分析专家, 根据用户预想的情景检索RAG,然后输出符合逻辑的情景和模特穿搭描述,必须依据已知的数据返回可能的方案, 并且给出参照的依据;如果没有匹配的数据支持,返回空结果;".to_string()), } }