@elizaos/core 1.6.2-alpha.1 → 1.6.2-alpha.2
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/dist/browser/index.browser.js +94 -85
- package/dist/browser/index.browser.js.map +4 -4
- package/dist/node/index.node.js +14 -5
- package/dist/node/index.node.js.map +4 -4
- package/dist/prompts.d.ts +1 -1
- package/dist/prompts.d.ts.map +1 -1
- package/dist/types/primitives.d.ts +18 -0
- package/dist/types/primitives.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/node/index.node.js
CHANGED
|
@@ -42524,12 +42524,21 @@ var shouldRespondTemplate = `<task>Decide on behalf of {{agentName}} whether the
|
|
|
42524
42524
|
</providers>
|
|
42525
42525
|
|
|
42526
42526
|
<instructions>Decide if {{agentName}} should respond to or interact with the conversation.
|
|
42527
|
-
|
|
42528
|
-
|
|
42529
|
-
If {{agentName}}
|
|
42527
|
+
|
|
42528
|
+
IMPORTANT RULES FOR RESPONDING:
|
|
42529
|
+
- If YOUR name ({{agentName}}) is directly mentioned → RESPOND
|
|
42530
|
+
- If someone uses a DIFFERENT name (not {{agentName}}) → IGNORE (they're talking to someone else)
|
|
42531
|
+
- If you're actively participating in a conversation and the message continues that thread → RESPOND
|
|
42532
|
+
- If someone tells you to stop or be quiet → STOP
|
|
42533
|
+
- Otherwise → IGNORE
|
|
42534
|
+
|
|
42535
|
+
The key distinction is:
|
|
42536
|
+
- "Talking TO {{agentName}}" (your name mentioned, replies to you, continuing your conversation) → RESPOND
|
|
42537
|
+
- "Talking ABOUT {{agentName}}" or to someone else → IGNORE
|
|
42538
|
+
</instructions>
|
|
42530
42539
|
|
|
42531
42540
|
<output>
|
|
42532
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
42541
|
+
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
42533
42542
|
Go directly to the XML response format without any preamble or explanation.
|
|
42534
42543
|
|
|
42535
42544
|
Respond using XML format like this:
|
|
@@ -46397,5 +46406,5 @@ export {
|
|
|
46397
46406
|
AgentRuntime
|
|
46398
46407
|
};
|
|
46399
46408
|
|
|
46400
|
-
//# debugId=
|
|
46409
|
+
//# debugId=35E0E0299134B2DE64756E2164756E21
|
|
46401
46410
|
//# sourceMappingURL=index.node.js.map
|