Skip to content

Commit

Permalink
bug with localexpertlibrary
Browse files Browse the repository at this point in the history
Signed-off-by: fverac <[email protected]>
  • Loading branch information
fverac committed Jan 23, 2025
1 parent dc2af97 commit 7211c41
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mttl/models/library/expert_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,11 @@ class LocalExpertLibrary(ExpertLibrary, LocalFSEngine):
"""A local library stored on disk."""

def add_expert(
self, expert_dump: Expert, expert_name: str = None, force: bool = False
self,
expert_dump: Expert,
expert_name: str = None,
force: bool = False,
update_readme: bool = True,
):
expert_name = expert_name or expert_dump.expert_info.expert_name
if "/" in expert_name:
Expand Down

0 comments on commit 7211c41

Please sign in to comment.