feat: rewrite Engineer & WriteCode & WriteCodeReview

This commit is contained in:
莘权 马 2023-11-23 17:49:38 +08:00
parent 438fbe28c0
commit 2032a38542
7 changed files with 152 additions and 180 deletions

View file

@ -94,6 +94,7 @@ class Config(metaclass=Singleton):
self.prompt_format = self._get("PROMPT_FORMAT", "markdown")
self.git_repo = None
self.src_workspace = None
def _init_with_config_files_and_env(self, configs: dict, yaml_file):
"""Load from config/key.yaml, config/config.yaml, and env in decreasing order of priority"""