update

suspend fun update(model: String, config: UpdateModelConfig? = null): Model

Updates a tuned model by its name using the optional config.

Returns the updated Model instance.

Example

val model = client.models.update(
"tunedModels/12345",
UpdateModelConfig(
displayName = "New display name",
description = "New description"
)
)