We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f8c1220 + 7f47464 commit dd20883Copy full SHA for dd20883
1 file changed
agentstack/main.py
@@ -187,11 +187,11 @@ def main():
187
pass # Update check already done
188
189
# inside project dir commands only
190
- conf.assert_project()
191
-
192
- if args.command in ["run", "r"]:
+ elif args.command in ["run", "r"]:
+ conf.assert_project()
193
run_project(command=args.function, debug=args.debug, cli_args=extra_args)
194
elif args.command in ['generate', 'g']:
195
if args.generate_command in ['agent', 'a']:
196
if not args.llm:
197
configure_default_model()
@@ -201,6 +201,7 @@ def main():
201
else:
202
generate_parser.print_help()
203
elif args.command in ['export', 'e']:
204
205
export_template(args.filename)
206
207
parser.print_help()
0 commit comments