Package 

Class ModelConfig


  • @Serializable() 
    public final class ModelConfig
    
                        

    The server-sent recipe for one assigned model. Mirrors device-registry SlmConfig.

    Behaviour is data, not code: inferenceKind selects the on-device pipeline, sample and the task input are opaque JsonObjects the SDK never inspects (the adapter interprets them), and task/framework/model-type are free-form strings (no closed enum to edit).