mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-04-15 22:46:35 +00:00
fix
This commit is contained in:
parent
1203d98820
commit
cb2fc6095d
@ -310,7 +310,7 @@ class BaseConfig:
|
||||
"""
|
||||
if key == "exceptional_keys":
|
||||
return super().__setattr__(key, value)
|
||||
if key in self.exceptional_keys + ["config","file_path"] or key.startswith("__"):
|
||||
if key in self.exceptional_keys + ["config","file_path","copy"] or key.startswith("__"):
|
||||
super().__setattr__(key, value)
|
||||
else:
|
||||
if self.config is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user