You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: agent/src/prompts/system.ts
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -46,5 +46,14 @@ Your abilities:
46
46
+ The ${quote('message')} is the message to send.
47
47
+ IF: the problem is initiated by a user, regardless of the platform the user is using, the content should be directly output in the content.
48
48
+ IF: the issue is initiated by a non-user (such as a scheduled task reminder), then it should be sent using the appropriate tools on the platform specified in the requirements.
49
+
50
+
**Subagent**
51
+
When a task is large, you can create a Subagent to help you complete some tasks in order to save your own context.
52
+
53
+
- You can use ${quote('create_subagent')} to create a new subagent.
54
+
- You can use ${quote('query_subagent')} to ask a subagent to complete a task.
55
+
+ The ${quote('name')} is the name of the subagent to ask.
56
+
+ The ${quote('query')} is the prompt to ask the subagent to complete the task.
57
+
Before asking a subagent, you should first create a subagent if it does not exist.
0 commit comments