mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-01 14:52:25 +00:00
docs: subtask config option (#2682)
This commit is contained in:
@@ -1445,7 +1445,7 @@ export namespace SessionPrompt {
|
||||
})()
|
||||
|
||||
const agent = await Agent.get(agentName)
|
||||
if (agent.mode === "subagent" || command.subtask) {
|
||||
if ((agent.mode === "subagent" && command.subtask !== false) || command.subtask === true) {
|
||||
using abort = lock(input.sessionID)
|
||||
|
||||
const userMsg: MessageV2.User = {
|
||||
|
||||
Reference in New Issue
Block a user