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: src/middleware/subagents.ts
+33-16Lines changed: 33 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -170,6 +170,18 @@ When NOT to use the task tool:
170
170
- Remember to use the \`task\` tool to silo independent tasks within a multi-part objective.
171
171
- You should use the \`task\` tool whenever you have a complex task that will take multiple steps, and is independent from other tasks that the agent needs to complete. These agents are highly competent and efficient.`;
172
172
173
+
/**
174
+
* Type definitions for pre-compiled agents.
175
+
*/
176
+
exportinterfaceCompiledSubAgent{
177
+
/** The name of the agent */
178
+
name: string;
179
+
/** The description of the agent */
180
+
description: string;
181
+
/** The agent instance */
182
+
runnable: ReactAgent<any,any,any,any>|Runnable;
183
+
}
184
+
173
185
/**
174
186
* Type definitions for subagents
175
187
*/
@@ -238,7 +250,7 @@ function getSubagents(options: {
0 commit comments