Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

test(create-3d): the picture prompt now lives in picture-prompt.ts

purple73483808f1e6
diff --git a/src-tauri/src/commands/real_run_mac.rs b/src-tauri/src/commands/real_run_mac.rs
index 485db44d..495a7d1b 100644
--- a/src-tauri/src/commands/real_run_mac.rs
+++ b/src-tauri/src/commands/real_run_mac.rs
@@ -1551,8 +1551,8 @@ fn mesh_text() {
#[test]
fn the_picture_prompt_is_the_one_create_sends() {
- let ts = include_str!("../../../src/lib/three/run-local-3d.ts");
- assert!(ts.contains(&format!("`${{p}}{THREE_D_PICTURE_SUFFIX}`")), "threeDPicturePrompt changed in run-local-3d.ts");
+ let ts = include_str!("../../../src/lib/three/picture-prompt.ts");
+ assert!(ts.contains(&format!("`${{p}}{THREE_D_PICTURE_SUFFIX}`")), "threeDPicturePrompt changed in picture-prompt.ts");
assert_eq!(
three_d_picture_prompt("a small friendly robot, toy style. "),
"a small friendly robot, toy style, a single object, whole and centered, plain light background, soft studio light, three-quarter view"