ensure_model_usage


Description:

public async void ensure_model_usage () throws Error

Ensures that the default_model_usage is valid and the model exists on the server.

Verifies that the model specified in default_model_usage is available on the connection. This should be called after Manager is created to ensure the model can be used.

Note:

Empty servers (servers without models) should be handled in bootstrap flow (see 1.4.1-bootstrap empty server).

Exceptions:

Error

if the model cannot be verified or does not exist