@mathew-macharia/black-mamba 1.0.5 → 1.0.6
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/pi/prompt.js +2 -2
package/package.json
CHANGED
package/src/pi/prompt.js
CHANGED
|
@@ -87,7 +87,7 @@ Pi is connected to chat.deepseek and sends and listens to https://chat.deepseek.
|
|
|
87
87
|
export function formatToolTurnDirective(_tools = []) {
|
|
88
88
|
return `[Tool output received from user's machine. To take another action, output a DSML block and end turn. If complete, respond directly to the user.]
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
REQUIRED — Your next tool call MUST use this exact block. Copy the tag names verbatim. If any tag is wrong or missing, Pi will not run the tool.
|
|
91
91
|
|
|
92
92
|
<|DSML|tool_calls>
|
|
93
93
|
<|DSML|invoke name="TOOL">
|
|
@@ -97,7 +97,7 @@ REMINDER: When calling a tool, four tags must be there, in this order:
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
export const USER_TOOL_REMINDER =
|
|
100
|
-
"[
|
|
100
|
+
"[REQUIRED: To run a tool, output one DSML block exactly as specified in the tool rules and end your turn. Wrong tags are ignored. If no tool is needed, reply in plain text only.]";
|
|
101
101
|
|
|
102
102
|
function renderDsmlToolBlock(tc) {
|
|
103
103
|
const name = toolCallName(tc);
|