UNPKG

hataraku

Version:

An autonomous coding agent for building AI-powered development tools. The name "Hataraku" (働く) means "to work" in Japanese.

14 lines (13 loc) 555 B
export function getCustomInstructionsSection(config) { if (!config?.instructions) { return ''; } const allInstructions = []; if (config.language) { allInstructions.push(`Language: ${config.language}`); } allInstructions.push(config.instructions.trim()); return `The following additional instructions are provided by the user, and should be followed to the best of your ability without interfering with the TOOL USE guidelines. ${allInstructions.join('\n\n')}`; } //# sourceMappingURL=custom-instructions.js.map