auto-labeling

This commit is contained in:
David Blass
2025-12-09 17:02:57 -05:00
parent 7ffd7297c3
commit 305fc9b0dd
7 changed files with 137 additions and 87 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import { encode as toonEncode } from "@toon-format/toon";
import type { Payload } from "../external.ts";
import { ghPullfrogMcpName } from "../external.ts";
import { modes } from "../modes.ts";
import { getModes } from "../modes.ts";
export const addInstructions = (payload: Payload) => {
let encodedEvent = "";
@@ -92,7 +92,7 @@ Before starting any work, you must first determine which mode to use by examinin
Available modes:
${[...modes, ...payload.modes].map((w) => ` - "${w.name}": ${w.description}`).join("\n")}
${[...getModes({ disableProgressComment: payload.disableProgressComment }), ...payload.modes].map((w) => ` - "${w.name}": ${w.description}`).join("\n")}
**Required first step**:
1. Examine the user's request/prompt carefully