fix: ignore type for specific case
This commit is contained in:
parent
58652f7c2b
commit
5a2fca7eb5
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ def import_by_type(_type: str, name: str) -> Any:
|
|||
}
|
||||
if _type == "llms":
|
||||
key = "chat" if "chat" in name.lower() else "llm"
|
||||
loaded_func = func_dict[_type][key]
|
||||
loaded_func = func_dict[_type][key] # type: ignore
|
||||
else:
|
||||
loaded_func = func_dict[_type]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue