Experimental Ai Sdk Api
@RequiresOptIn(level = RequiresOptIn.Level.ERROR, message = "This is an experimental AI SDK API. It may change or be removed without notice. Opt in with @OptIn(ExperimentalAiSdkApi::class)." )
Marks a declaration as experimental: a surface whose shape may change or be removed in any release without going through the normal deprecation cycle.
Currently gates surfaces that mirror upstream experimental APIs or are still churning before the stable core contract freezes.
Consumers must opt in explicitly — either annotate the using declaration with @ExperimentalAiSdkApi, or annotate the call site with @OptIn(ExperimentalAiSdkApi::class).