Fix for agent_name regex (#6108)
The improved regex was introduced with https://github.com/Significant-Gravitas/AutoGPT/pull/6096 However, there seems to be an issue with the updated regex; The uppercase meta-character `\W` only matches non-word characters, i.e. everything that is NOT [A-Za-z0-9_]. What you actually want is to use the lowercase `\w` character. Co-authored-by: Simon Rummert <09.milieu.motes@icloud.com>pull/6128/head
parent
17fa807279
commit
25c6d019fe
Loading…
Reference in New Issue