Skip to content

Commit

Permalink
fix: model_config is now a dict no longer a class
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonyjin committed Nov 19, 2024
1 parent 7911a64 commit 950d1cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/aleph/vm/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,9 +467,8 @@ def display(self) -> str:
attributes[attr] = "<REDACTED>"
else:
attributes[attr] = getattr(self, attr)

return "\n".join(
f"{self.model_config.env_prefix}{attribute} = {value}" for attribute, value in attributes.items()
f"{self.model_config.get('env_prefix', '')}{attribute} = {value}" for attribute, value in attributes.items()
)

def __init__(
Expand Down

0 comments on commit 950d1cd

Please sign in to comment.