-
-
Notifications
You must be signed in to change notification settings - Fork 18
refactor: disable isEmptyContent method for debug in AI insights #1430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -410,11 +410,12 @@ export class RequestInfoFromTableWithAIUseCaseV4 | |||||||||||||||||||||||
| return true; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| private isEmptyContent(content: string): boolean { | ||||||||||||||||||||||||
| if (content === ' ') { | ||||||||||||||||||||||||
| return false; | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
| return !content || content.trim() === ''; | ||||||||||||||||||||||||
| private isEmptyContent(_content: string): boolean { | ||||||||||||||||||||||||
| return false; | ||||||||||||||||||||||||
| // if (content === ' ') { | ||||||||||||||||||||||||
| // return false; | ||||||||||||||||||||||||
| // } | ||||||||||||||||||||||||
| // return !content || content.trim() === ''; | ||||||||||||||||||||||||
|
Comment on lines
+413
to
+418
|
||||||||||||||||||||||||
| private isEmptyContent(_content: string): boolean { | |
| return false; | |
| // if (content === ' ') { | |
| // return false; | |
| // } | |
| // return !content || content.trim() === ''; | |
| private isEmptyContent(content: string): boolean { | |
| if (content === ' ') { | |
| return false; | |
| } | |
| return !content || content.trim() === ''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commented code after the return statement is unreachable and serves no purpose. If this is intended as temporary debug code, consider using a feature flag or configuration parameter instead of commenting out the implementation. For production code, remove the commented lines entirely.