You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// NOTE: The nil checking for the modelObject means that we DO allow passthrough currently.
95
-
// This might be a security risk in the future where adapters not registered in the InferenceModel
96
-
// are able to be requested by using their distinct name.
97
94
modelObj:=d.datastore.ModelGet(reqCtx.Model)
98
95
ifmodelObj==nil {
99
-
returnreqCtx, errutil.Error{Code: errutil.BadConfiguration, Msg: fmt.Sprintf("error finding a model object in InferenceModel for input %v", reqCtx.Model)}
96
+
logger.Info("No associated inferenceModel found, using default", "model", reqCtx.Model)
0 commit comments