fluxflow-cli 1.10.2 → 1.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fluxflow.js +3 -3
- package/package.json +1 -1
package/dist/fluxflow.js
CHANGED
|
@@ -2938,7 +2938,7 @@ var init_generate_image = __esm({
|
|
|
2938
2938
|
await fs15.ensureDir(path14.dirname(absolutePath));
|
|
2939
2939
|
await fs15.writeFile(absolutePath, finalBuffer);
|
|
2940
2940
|
await recordImageGeneration(settings);
|
|
2941
|
-
return `SUCCESS: Image successfully generated from prompt [${prompt}] and saved to [${outputPath}]
|
|
2941
|
+
return `SUCCESS: Image successfully generated from prompt [${prompt}] and saved to [${outputPath}].`;
|
|
2942
2942
|
} catch (err) {
|
|
2943
2943
|
return `ERROR: Failed during image generation: ${err.message}`;
|
|
2944
2944
|
}
|
|
@@ -3807,8 +3807,8 @@ ${thinkingLevel != "Fast" ? "[SYSTEM] **STRICTLY FOLLOW THINKING POLICY AS STRIC
|
|
|
3807
3807
|
const { keyword } = parseArgs(toolCall.args);
|
|
3808
3808
|
label = `\u{1F50E} KEYWORD SEARCHED: "${keyword}"`.toUpperCase();
|
|
3809
3809
|
} else if (normToolName === "generate_image") {
|
|
3810
|
-
const { title, prompt, outputPath, output } = parseArgs(toolCall.args);
|
|
3811
|
-
label = `\u{1F3A8} IMAGE GENERATED: "${title || prompt}" -> ${outputPath || output || "generated_image.png"}`.toUpperCase();
|
|
3810
|
+
const { title, prompt, path: argPath, outputPath, output } = parseArgs(toolCall.args);
|
|
3811
|
+
label = `\u{1F3A8} IMAGE GENERATED: "${title || prompt}" -> ${argPath || outputPath || output || "generated_image.png"}`.toUpperCase();
|
|
3812
3812
|
} else if (normToolName === "exec_command" || normToolName === "ask") {
|
|
3813
3813
|
label = "";
|
|
3814
3814
|
} else {
|