Line data Source code
1 : /** The section of a Build brief that sends an agent to the build recipe. */
2 2355 : export const BUILD_RECIPE_SECTION = `## Before you start
3 :
4 : Read the build recipe, and follow it:
5 :
6 : \`\`\`bash
7 : comfy skills show comfy-build
8 : \`\`\`
9 :
10 : If \`comfy\` or that skill is missing, install the current CLI first with
11 : \`pip install -U comfy-cli\`. The recipe owns every command, the pins, the
12 : models, the targets, the cut, watching the release and reading a failure.`
13 :
14 : /** The end of a custom deployment brief: the cut, the retries and the report. */
15 2355 : export const CUT_AND_REPORT_SECTION = `Then go through the recipe's "Before
16 : you cut" with the user, and wait for a yes. After that, fix and re-cut on your
17 : own within the recipe's limits, and tell the user what each retry changed.
18 :
19 : Cut the target the recipe says a deployment needs.
20 :
21 : ## When you are done
22 :
23 : Report the Build name, its id and the release id, and whether the release is
24 : deployable. Ask the user before you deploy it.`
25 :
26 : /** Brief an agent follows to help create a custom deployment on Comfy Cloud. */
27 2355 : export const CUSTOM_DEPLOYMENT_BRIEF = `# Create a custom deployment on Comfy Cloud
28 :
29 : Help the user create a **custom deployment** on the Comfy developer platform. A
30 : custom deployment runs ComfyUI on Comfy Cloud with the custom node packs and
31 : models the user chooses, including ones Comfy Cloud does not have. Once it is
32 : deployed, it appears under **Run on** in the ComfyUI editor for everyone in the
33 : user's workspace.
34 :
35 : ${BUILD_RECIPE_SECTION}
36 :
37 : ## Where the user decides
38 :
39 : Ask the user which custom node packs and models the deployment needs, and which
40 : GPU it should run on. Do not guess them. ${CUT_AND_REPORT_SECTION}`
|