Class ModelSettings
java.lang.Object
ai.redouble.nucleo.Settings
ai.redouble.nucleo.harness.models.ModelSettings
The model-resolution knobs: which catalog backend serves specs, which picker resolves
seats, how far the shipped picker may stray from a request's grade, and the deployment's
Bedrock Mantle projects that model eligibility and request routing consult.
- Since:
- 0.1 (2026-09-18)
- Author:
- Andrey Santrosyan
-
Field Summary
FieldsModifier and TypeFieldDescriptionClass<? extends ModelsBackend> Model catalog backend.booleanWhetherDefaultModelPickerserves a request from a grade above its own when nothing of its grade can serve it.booleanWhetherDefaultModelPickerserves a request from a grade below its own when nothing of its grade or above can serve it.Bedrock Mantle project (workspace) id whose data retention mode isprovider_data_share, or null in a deployment that has not provisioned one.Bedrock Mantle project (workspace) id whose data retention mode isnone, or null in a deployment that has not provisioned one.Class<? extends ModelPicker> The deployment'sModelPickeras a no-arg class: policy over the catalog's entries, such as which endpoints may stand in for each other. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
backendClass
Model catalog backend. The shippedJsonModelsBackendreads the classpath catalog. -
pickerClass
The deployment'sModelPickeras a no-arg class: policy over the catalog's entries, such as which endpoints may stand in for each other. Which entry serves a grade is the catalog'spins, and the shippedDefaultModelPickerreads them, so most deployments name no class. A picker that needs constructor arguments is declared withModelPickers.use(ModelPicker)at startup instead. -
fallbackToStronger
public volatile boolean fallbackToStrongerWhetherDefaultModelPickerserves a request from a grade above its own when nothing of its grade can serve it. Off, a request whose grade has nothing callable is refused with aModelResolutionErrorrather than run on a stronger, dearer model. -
fallbackToWeaker
public volatile boolean fallbackToWeakerWhetherDefaultModelPickerserves a request from a grade below its own when nothing of its grade or above can serve it. Off, such a request is refused with aModelResolutionErrorrather than run on a model weaker than the work declared. -
mantleLaxProject
Bedrock Mantle project (workspace) id whose data retention mode isprovider_data_share, or null in a deployment that has not provisioned one. Models whose spec declaresrequiresLaxcan only be served under this project, so a null makes them ineligible to every picker and refused at the request gate. -
mantleStrictProject
Bedrock Mantle project (workspace) id whose data retention mode isnone, or null in a deployment that has not provisioned one. When set, every Mantle request for a model that does not require data sharing is pinned to this project, making the zero-retention guarantee independent of the account-level setting. When null, no header is sent and requests resolve through the account default.
-
-
Constructor Details
-
ModelSettings
public ModelSettings()
-