We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8efee81 commit c8e93c3Copy full SHA for c8e93c3
lib/httpapi/server.go
@@ -332,6 +332,11 @@ func (s *Server) StartSnapshotLoop(ctx context.Context) {
332
time.Sleep(5 * time.Second)
333
}
334
335
+ // If we still have it as stable, go ahead.
336
+ if convertStatus(currentStatus) != AgentStatusStable {
337
+ break
338
+ }
339
+
340
if err := s.conversation.SendMessage(FormatMessage(s.agentType, s.conversation.InitialPrompt)...); err != nil {
341
s.logger.Error("Failed to send initial prompt", "error", err)
342
} else {
0 commit comments