(text: string)
| 2751 | } |
| 2752 | |
| 2753 | export function isEmptyMessageText(text: string): boolean { |
| 2754 | return ( |
| 2755 | stripPromptXMLTags(text).trim() === '' || text.trim() === NO_CONTENT_MESSAGE |
| 2756 | ) |
| 2757 | } |
| 2758 | const STRIPPED_TAGS_RE = |
| 2759 | /<(commit_analysis|context|function_analysis|pr_analysis)>.*?<\/\1>\n?/gs |
| 2760 |
no test coverage detected