()
| 119 | } |
| 120 | |
| 121 | func (s *UserService) GetDefaultSettings() models.Settings { |
| 122 | return models.Settings{ |
| 123 | ShowShortcutsAfterSelection: true, |
| 124 | FullWidthPaperDebuggerButton: true, |
| 125 | EnableCitationSuggestion: false, |
| 126 | FullDocumentRag: false, |
| 127 | ShowedOnboarding: false, |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | func (s *UserService) ResetUserSettings(ctx context.Context, userID bson.ObjectID) (*models.Settings, error) { |
| 132 | defaultSettings := s.GetDefaultSettings() |
no outgoing calls
no test coverage detected