Skip to content

Commit

Permalink
mypy fix for new aliases code, refs #151
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Aug 12, 2023
1 parent 945ed24 commit 6a578c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_models_with_aliases() -> List["ModelWithAliases"]:

# Include aliases from aliases.json
aliases_path = user_dir() / "aliases.json"
extra_model_aliases = {}
extra_model_aliases: Dict[str, list] = {}
if aliases_path.exists():
configured_aliases = json.loads(aliases_path.read_text())
for alias, model_id in configured_aliases.items():
Expand Down

0 comments on commit 6a578c3

Please sign in to comment.