validate_profile_key(
key: str,
) -> None| Name | Type | Description |
|---|---|---|
key* | str | The registry key to check. |
Validate a profile registry key.
Enforces the provider or provider:model shape used by the lookup
functions. Rejects empty strings, whitespace-only or whitespace-padded
halves, multiple colons, and empty halves.