mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-03 12:52:37 +02:00
use config for PYPPETEER_EXECUTABLE_PATH
This commit is contained in:
parent
69ea116d1a
commit
e947ce5fea
3 changed files with 10 additions and 5 deletions
|
|
@ -84,6 +84,7 @@ class Config(metaclass=Singleton):
|
|||
self.model_for_researcher_summary = self._get("MODEL_FOR_RESEARCHER_SUMMARY")
|
||||
self.model_for_researcher_report = self._get("MODEL_FOR_RESEARCHER_REPORT")
|
||||
self.mermaid_engine = self._get("MERMAID_ENGINE", 'nodejs')
|
||||
self.pyppeteer_executable_path = self._get("PYPPETEER_EXECUTABLE_PATH", '')
|
||||
|
||||
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"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue