fix(honcho): align _TRIVIAL_PROMPT_RE with run_agent.py — allow trailing punctuation

This commit is contained in:
Ayush Sahay Chaudhary 2026-05-13 13:09:58 +05:30 committed by ayushere
parent 2b848a0b2a
commit 3136dc63a3
1 changed files with 2 additions and 1 deletions

View File

@ -994,7 +994,8 @@ class HonchoMemoryProvider(MemoryProvider):
_TRIVIAL_PROMPT_RE = re.compile(
r'^(yes|no|ok|okay|sure|thanks|thank you|y|n|yep|nope|yeah|nah|'
r'hi|hey|hello|yo|sup|'
r'continue|go ahead|do it|proceed|got it|cool|nice|great|done|next|lgtm|k)$',
r'continue|go ahead|do it|proceed|got it|cool|nice|great|done|next|lgtm|k)'
r'[\s!?.:;,~]*$',
re.IGNORECASE,
)