@compilr-dev/sdk 0.10.28 → 0.10.29
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/team/team-agent.js +4 -1
- package/package.json +1 -1
package/dist/team/team-agent.js
CHANGED
|
@@ -202,7 +202,10 @@ export class TeamAgent {
|
|
|
202
202
|
`- Your agent ID: \`${this.id}\`\n` +
|
|
203
203
|
`- When tools have an \`agentId\` (or \`owner\`, \`toAgentId\`) parameter referring to YOU, use \`"${this.id}"\`.\n` +
|
|
204
204
|
`- When users mention \`$${this.id}\`, they mean you.\n` +
|
|
205
|
-
`- When asked "who are you?" or "what is your role?", state both your role and your agent ID
|
|
205
|
+
`- When asked "who are you?" or "what is your role?", state both your role and your agent ID.\n` +
|
|
206
|
+
`- **Always provide at least a brief text reply to the user — never end a turn with only tool calls.** ` +
|
|
207
|
+
`Even after running tools, summarise the result in plain text so the user sees a response. ` +
|
|
208
|
+
`A silent turn (tool call with no follow-up text) looks like a failure on the user's terminal.`;
|
|
206
209
|
finalSystemPromptAddition = finalSystemPromptAddition
|
|
207
210
|
? `${identityBlock}\n\n${finalSystemPromptAddition}`
|
|
208
211
|
: identityBlock;
|