mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-16 12:47:19 +08:00
Fix: align go provider apis with python apis (#16867)
### Summary As title. --------- Co-authored-by: Jin Hai <haijin.chn@gmail.com> Co-authored-by: Wang Qi <wangq8@outlook.com>
This commit is contained in:
@@ -28,7 +28,7 @@ _LEGACY_MODEL_TYPE_ALIASES = {
|
||||
}
|
||||
|
||||
|
||||
def calculate_model_type(model_type_name_list: List[str]|str) -> int:
|
||||
def calculate_model_type(model_type_name_list: List[str] | str) -> int:
|
||||
model_type = 0
|
||||
if isinstance(model_type_name_list, str):
|
||||
model_type_name_list = [model_type_name_list]
|
||||
|
||||
Reference in New Issue
Block a user