fix(honcho): align _TRIVIAL_PROMPT_RE with run_agent.py — allow trailing punctuation
This commit is contained in:
parent
2b848a0b2a
commit
3136dc63a3
|
|
@ -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,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue