(text: string)
| 2760 | } |
| 2761 | |
| 2762 | export function isEmptyMessageText(text: string): boolean { |
| 2763 | return ( |
| 2764 | stripPromptXMLTags(text).trim() === '' || text.trim() === NO_CONTENT_MESSAGE |
| 2765 | ) |
| 2766 | } |
| 2767 | const STRIPPED_TAG_NAMES = |
| 2768 | 'commit_analysis|context|function_analysis|pr_analysis|system-reminder|turn_aborted' |
| 2769 | const STRIPPED_TAGS_RE = new RegExp( |
no test coverage detected