AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(cli): resolve warning caused by \w in regular string (#6236)
Kiran22fb0f7bbf1f
diff --git a/cli.py b/cli.pyindex 540eecc6e1..6c45695a8a 100644--- a/cli.py+++ b/cli.py@@ -219,7 +219,7 @@ def create(agent_name):import reimport shutil- if not re.match("\w*$", agent_name):+ if not re.match(r"\w*$", agent_name):click.echo(click.style(f"😞 Agent name '{agent_name}' is not valid. It should not contain spaces or special characters other than -_",