Merge pull request #197 from atisharma/issue_196

Fix tabby_config.py _from_file
This commit is contained in:
Brian Dashore
2024-09-10 09:14:44 -04:00
committed by GitHub

View File

@@ -61,7 +61,7 @@ class TabbyConfig:
config_override = unwrap(args.get("options", {}).get("config"))
if config_override:
logger.info("Config file override detected in args.")
config = self.from_file(pathlib.Path(config_override))
config = self._from_file(pathlib.Path(config_override))
return config # Return early if loading from file
for key in ["network", "model", "logging", "developer", "embeddings"]: