@@ -241,7 +241,7 @@ func (a *agent) processGeneration(ctx context.Context, sessionID, content string
241241 logging.ErrorPersist("panic while generating title")
242242 })
243243 titleErr := a.generateTitle(context.Background(), sessionID, content)
244− if titleErr != nil {
244+ if titleErr != nil && !errors.Is(titleErr, context.Canceled) && !errors.Is(titleErr, context.DeadlineExceeded) {
245245 logging.ErrorPersist(fmt.Sprintf("failed to generate title: %v", titleErr))
246246 }
247247 }()