修正文生绑定提示语法

改进分离要求和返工建议英文表述
This commit is contained in:
2026-09-12 02:05:18 +08:00
parent 4d9e69841e
commit d7776f2a17
@@ -16,7 +16,7 @@ pub(crate) fn gen_binding_prompt(nodes: &[&SeparationNode]) -> String {
Do not copy, infer, or reuse the source node rectangle.
The src image is only for identifying which semantic UI element belongs to to_node.
Here were the separation requirements:
Here are the separation requirements:
Preserve hard edges and the exact visible shape.
The processed image is an opaque visual-binding preview containing the requested image layers.
The solid color {marker_color} is an intentional transparency marker added by this workflow before this request.
@@ -30,10 +30,10 @@ pub(crate) fn gen_binding_prompt(nodes: &[&SeparationNode]) -> String {
* edge process
...
if not, use `NeedRework` data structure in the tool to indicate the (it should be from which) node id and advice.
your advice (less than 20 words) will be used to improve the separation in the next time.
if not, use the `NeedRework` data structure in the tool to indicate the node id and advice.
your advice (less than 20 words) will be used to improve the separation next time.
these node need handle:
these nodes need handling:
"#
);
let mut result = binding_system_prompt;