File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -327,15 +327,6 @@ func (s *Server) StartSnapshotLoop(ctx context.Context) {
327327 // Send initial prompt when agent becomes stable for the first time
328328 if ! s .conversation .InitialPromptSent && convertStatus (currentStatus ) == AgentStatusStable {
329329
330- // If agent type is opencode
331- if s .agentType == mf .AgentTypeOpencode {
332- time .Sleep (5 * time .Second )
333- // If we still have it as stable, go ahead.
334- if convertStatus (s .conversation .Status ()) != AgentStatusStable {
335- continue
336- }
337- }
338-
339330 if err := s .conversation .SendMessage (FormatMessage (s .agentType , s .conversation .InitialPrompt )... ); err != nil {
340331 s .logger .Error ("Failed to send initial prompt" , "error" , err )
341332 } else {
You can’t perform that action at this time.
0 commit comments