Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
af6ef94f11
commit
100da45f4a
1 changed files with 7 additions and 5 deletions
|
|
@ -25,10 +25,11 @@ func (t *SpawnStatusTool) Name() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *SpawnStatusTool) Description() string {
|
func (t *SpawnStatusTool) Description() string {
|
||||||
return "Get the status of spawned subagents. " +
|
return "Get the status of spawned subagents associated with the current tool context " +
|
||||||
"Returns a list of all subagents and their current state " +
|
"(for example, the current channel or chat). Returns a list of all such subagents " +
|
||||||
"(running, completed, failed, or canceled), or retrieves details " +
|
"and their current state (running, completed, failed, or canceled), or retrieves " +
|
||||||
"for a specific subagent task when task_id is provided."
|
"details for a specific subagent task when task_id is provided. If the tool is " +
|
||||||
|
"invoked without any associated context, the result will be empty."
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *SpawnStatusTool) Parameters() map[string]any {
|
func (t *SpawnStatusTool) Parameters() map[string]any {
|
||||||
|
|
@ -38,7 +39,8 @@ func (t *SpawnStatusTool) Parameters() map[string]any {
|
||||||
"task_id": map[string]any{
|
"task_id": map[string]any{
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Optional task ID (e.g. \"subagent-1\") to inspect a specific " +
|
"description": "Optional task ID (e.g. \"subagent-1\") to inspect a specific " +
|
||||||
"subagent. When omitted, all known subagents are listed.",
|
"subagent. When omitted, all known subagents in the current tool context " +
|
||||||
|
"are listed; if the tool has no associated context, the result will be empty.",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"required": []string{},
|
"required": []string{},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue