Skip to content

Commit 175da33

Browse files
authored
Merge pull request #393 from devchat-ai/disable_workflow_test
chore: Update UI block pattern in ui_parser.py
2 parents 5b41027 + 5a740d9 commit 175da33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/workflows/ui_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
def extract_ui_blocks(text):
3838
# 定义用于提取各种UI块的正则表达式
39-
ui_block_pattern = re.compile(r'```chatmark type=form\n(.*?)\n```', re.DOTALL)
39+
ui_block_pattern = re.compile(r'```chatmark.*?\n(.*?)\n```', re.DOTALL)
4040
return ui_block_pattern.findall(text)
4141

4242
def parse_ui_block(block):

0 commit comments

Comments
 (0)