From 74e5f58dbe8a3cbaf1e381037fdc1cb2b03b2a27 Mon Sep 17 00:00:00 2001 From: Maya Chen <275405107+otjdiepluong@users.noreply.github.com> Date: Wed, 13 May 2026 15:45:39 +0000 Subject: [PATCH] docs: fix a11y tree comment typo --- metagpt/utils/a11y_tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metagpt/utils/a11y_tree.py b/metagpt/utils/a11y_tree.py index 133c4f63a4..3f48fa0d02 100644 --- a/metagpt/utils/a11y_tree.py +++ b/metagpt/utils/a11y_tree.py @@ -165,7 +165,7 @@ async def get_element_center(node_info): def extract_step(response: str, action_splitter: str = "```") -> str: - # find the first occurence of action + # find the first occurrence of action pattern = rf"{action_splitter}((.|\n)*?){action_splitter}" match = re.search(pattern, response) if match: