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