File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ 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- fmt .Printf ("AgentType: %s" , mf .AgentTypeOpencode )
330+ fmt .Printf ("AgentType: %s\n " , mf .AgentTypeOpencode )
331331
332332 // If agent type is opencode
333333 if s .agentType == mf .AgentTypeOpencode {
@@ -336,7 +336,7 @@ func (s *Server) StartSnapshotLoop(ctx context.Context) {
336336
337337 // If we still have it as stable, go ahead.
338338 if convertStatus (s .conversation .Status ()) != AgentStatusStable {
339- break
339+ continue
340340 }
341341
342342 if err := s .conversation .SendMessage (FormatMessage (s .agentType , s .conversation .InitialPrompt )... ); err != nil {
You can’t perform that action at this time.
0 commit comments