smol-ai / developer

the first library to let you embed a developer agent in your own app!
https://twitter.com/SmolModels
MIT License
11.79k stars 1.03k forks source link

Added ability for "No Modal" mode to run without `--prompt` #55

Closed danmenzies closed 1 year ago

danmenzies commented 1 year ago

Added ability for "No Modal" mode to run without the --prompt command line argument, if needed. Very handy for those using the "run" function on a venv setup in PyCharm for Windows, where no opportunity is given to enter command line arguments.

If no command line argument is given, and the file prompt.md exists, the main function will automatically use the prompt.md file. All other command line arguments are left as default.

Also added more verbose comments to the if __name__ statement.