[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
4809503cce
commit
7c08ade3a4
1 changed files with 2 additions and 3 deletions
|
|
@ -325,9 +325,8 @@ def _has_answer_artifact(text: str) -> bool:
|
|||
# themselves start with a strong work verb ("First, I'll:\n
|
||||
# 1. Load...\n2. Run...") is a plan stall, even when no work
|
||||
# verb appears before the list.
|
||||
if (
|
||||
_STRONG_INTENT_BEFORE_LIST.search(text)
|
||||
and _NUMBERED_ACTION_ITEM.search(text)
|
||||
if _STRONG_INTENT_BEFORE_LIST.search(text) and _NUMBERED_ACTION_ITEM.search(
|
||||
text
|
||||
):
|
||||
return False
|
||||
return _PLAN_LIST_FRAMING.search(text) is None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue