osai-agent 4.2.14 → 4.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/agent/prompt.js +5 -1
package/package.json
CHANGED
package/src/agent/prompt.js
CHANGED
|
@@ -232,7 +232,11 @@ AFTER [TOOL_RESULT]: analyze the output, then emit [DONE], [INCOMPLETE], or [BLO
|
|
|
232
232
|
|
|
233
233
|
[DONE] — Task complete. 1-3 sentence summary.
|
|
234
234
|
[INCOMPLETE] — Need another step. Describe it, ask permission, STOP.
|
|
235
|
-
[BLOCKED] — Cannot proceed. Explain why
|
|
235
|
+
[BLOCKED] — Cannot proceed. Explain why.
|
|
236
|
+
|
|
237
|
+
**CRITICAL**: You MUST end EVERY response with [DONE], [INCOMPLETE], or [BLOCKED].
|
|
238
|
+
This includes greetings, simple answers, and any text-only response.
|
|
239
|
+
Never stop mid-response without a completion signal.`;
|
|
236
240
|
|
|
237
241
|
if (customInstructions) {
|
|
238
242
|
return `${basePrompt}\n\n## CUSTOM INSTRUCTIONS\n\n${customInstructions}`;
|