fix(endpoint_compat): update GetModelInfo to include missing parameter for improved registry compatibility

This commit is contained in:
Luis Pater
2026-01-20 13:56:57 +08:00
parent fef4fdb0eb
commit 5364a2471d

View File

@@ -11,7 +11,7 @@ func resolveEndpointOverride(modelName, requestedEndpoint string) (string, bool)
if modelName == "" {
return "", false
}
info := registry.GetGlobalRegistry().GetModelInfo(modelName)
info := registry.GetGlobalRegistry().GetModelInfo(modelName, "")
if info == nil || len(info.SupportedEndpoints) == 0 {
return "", false
}
@@ -34,4 +34,4 @@ func endpointListContains(items []string, value string) bool {
}
}
return false
}
}