get Extension
Get a provider-specific extension value by key. Returns null if the extension is not present or cannot be cast to type T.
Internal API: For provider modules only. Application code should use provider-specific extension functions (e.g., getAnthropicCaching()).
Return
The extension value or null
Parameters
key
The extension key