AI workspace prompt does not respect sub-agents in opencode #2854
Zak Siddiqui opened 2 days ago

The AI workspace prompt TASK_PROMPT does not respect sub-agents in open code, particularly when using Oh My OpenCode.

I have a custom open code agent which uses Oh My Open Code.

Most of the time it works perfectly fine; however, I would say one in five times it fails because it creates sub-agents, and when it does so, it often returns __ONEDEV_RUN_PROMPT_SUCCESS__ after initiating the subagents but before the subagents respond.

Therefore, there needs to be, as part of the prompt, some kind of instruction that tells OpenCode to wait for sub-agents to complete.

1/1
Type
Improvement
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
OD-2854
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover