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

refactor(main_no_modal.py): add check for file_path ending with "/" before writing to file #59

Closed jonnyhoff closed 1 year ago

jonnyhoff commented 1 year ago

style(main_no_modal.py): change openai_model from gpt-4 to gpt-3.5-turbo refactor(main_no_modal.py): add check for file_path ending with "/" before writing to file

swyxio commented 1 year ago
  1. lets make it respect a model flag, rather than just changing this constant
  2. why this check, what are the consequences of ignoring directory filepaths?
jonnyhoff commented 1 year ago
  1. Changed the default model to rather be GPT3.5 because most people do not have access to GPT4.
  2. The check was added to address issue https://github.com/smol-ai/developer/issues/26