Skip to main content

Import

Examples

Resolve a model

API

registerModelProvider(name, factory)

Register a custom model provider factory for the active project scope or application bootstrap. Returns: ModelProviderRegistrationDisposer

resolveModel(modelString)

Resolve a “provider/model” string to a framework-compatible model runtime. Returns: ModelRuntime

hasModelProvider(name)

Check whether a model provider is available in the current scope. Returns: boolean

getRegisteredModelProviders()

Get provider names available in the current scope. Returns: string[]

clearModelProviders()

Clear all registered model providers and reset lazy built-ins (for testing). Returns: void

Exports

Components

Functions

Types

Constants

Deep imports

These import paths group focused functionality under this module. Each is a separate barrel; import only what you need.

veryfront/provider/shared

Shared plumbing consumed by the @veryfront/ext-* provider extensions. This barrel is the stable extension-facing surface. Implementations remain internal to runtime-loader.ts and runtime-loader/; their physical location may change without changing extension imports.

Components

Functions

Classes

Types

veryfront/provider/types

Types