Fix tabby_config.py _from_file

Update tabby_config.py to fix issue #196
This commit is contained in:
Ati Sharma 2024-09-09 09:19:12 +01:00 committed by GitHub
parent c11461e22f
commit a370aeb15f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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"]: