Skip to content

Commit 3b4936a

Browse files
committed
test(ai): golden 提示词冒烟适配 build_system 签名(dims=None=现状路径)
1 parent e4e18ac commit 3b4936a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎app/src-tauri/src/refine_golden_tests.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ fn golden_prompt_template_parses_with_v2_contract() {
152152
// ——note_refine.json 改动破坏契约时立即红(防漂移)
153153
let prompt = crate::ai_note_refine::NoteRefinePrompt::bundled();
154154
assert!(prompt.version >= 2, "提示词模板必须升级到 v2");
155-
let sys = prompt.build_system("lecture");
155+
let sys = prompt.build_system("lecture", None);
156156
assert!(sys.contains("image"), "v2 提示词必须声明 image 块类型");
157157
assert!(sys.contains("schemaVersion"), "v2 提示词必须声明 schemaVersion");
158158
assert!(sys.contains("slice"), "v2 提示词必须声明片间上下文约束");

0 commit comments

Comments
 (0)