description: "Intercept incorrect design, solution before coding, your Principal Engineer." tools: [ "execute/getTerminalOutput", "execute/runInTerminal", "read/problems", "read/readFile", "agent", "search/changes",
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script lang="ts"> | |
| export default { | |
| name: 'plainMessageEditor', | |
| props: { | |
| }, | |
| data() { | |
| return { | |
| data: "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import cv2 | |
| import numpy as np | |
| def subtract_image(original_path, mask_path, output_path): | |
| # 读取原图(BGR)与扣好图(尽量保留Alpha) | |
| original = cv2.imread(original_path, cv2.IMREAD_COLOR) | |
| mask_img = cv2.imread(mask_path, cv2.IMREAD_UNCHANGED) | |
| if original is None or mask_img is None: | |
| print("Error: One or both images could not be read.") |
| description | tools | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Plan first, better for complex tasks. |
|
The task is complex, you must make a plan, start after user approved.
- Run sub agent if possible
| description | tools | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Plan first, better for complex tasks. |
|
The task is complex, you must make a plan, iterate until user approved.
- Run sub agent if possible