fromString

fun fromString(modelString: String): ModelInfo(source)

Creates a ModelInfo instance from a string in the format "provider:model" This provides backwards compatibility with existing string-based model representations

Return

A ModelInfo instance parsed from the string, or UNDEFINED if parsing fails

Parameters

modelString

The model string in "provider:model" format