emrgnt-cmplxty / automata

Automata: A self-coding agent
Apache License 2.0
615 stars 100 forks source link

Introduce logging and CLI bug fix #383

Closed NolanTrem closed 1 year ago

NolanTrem commented 1 year ago

Fixes two bugs:

  1. A log level kwarg was being passed into initialize_py_module_loader from the logger definition, causing an error. This handles that kwarg by removing it in the initialize_py_module_loader, since the log level is set in the CLI command that is calling it, anyways.
  2. The way that graph type was being handled changed, resulting in the CLI not printing The graph type has been updated to <class 'type'>. rather than The graph type has been updated to dynamic.