Skip to content

Commit 4da7e0b

Browse files
committed
FEAT: add engine ability display
1 parent 91baa96 commit 4da7e0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xinference/model/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ def __exit__(self, exc_type, exc_val, exc_tb):
431431
def get_engine_params_by_name(
432432
model_type: Optional[str], model_name: str
433433
) -> Optional[Dict[str, Union[List[Dict[str, Any]], str]]]:
434-
engine_params: Dict[str, Union[List[Dict[str, Any]], str]] = {}
434+
engine_params: Dict[str, Any] = {}
435435

436436
if model_type == "LLM":
437437
from .llm.llm_family import LLM_ENGINES, SUPPORTED_ENGINES

0 commit comments

Comments
 (0)