fix: correct syntax error in subagent.go - close announcedOnce.Do callback properly
This commit is contained in:
parent
bd9c8702d2
commit
fee334d920
1 changed files with 2 additions and 1 deletions
|
|
@ -228,8 +228,9 @@ After completing the task, provide a clear summary of what was done.`
|
|||
// Format: "original_channel:original_chat_id" for routing back
|
||||
ChatID: fmt.Sprintf("%s:%s", task.OriginChannel, task.OriginChatID),
|
||||
Content: announceContent,
|
||||
})
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
func (sm *SubagentManager) GetTask(taskID string) (*SubagentTask, bool) {
|
||||
sm.mu.RLock()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue