Skip to main content

Import

Examples

Resolve a model

API

registerModelProvider(name, factory)

Register a custom model provider factory for the current project. Returns: void

resolveModel(modelString)

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

hasModelProvider(name)

Check if a model provider is registered (project-scoped or shared). Returns: boolean

getRegisteredModelProviders()

Get list of registered model provider names (project-scoped + shared). Returns: string[]

clearModelProviders()

Clear all registered model providers (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 public surface: implementations currently live in runtime-loader.ts and runtime-loader/ subdirectory. Future PRs (post ext-llm-anthropic / ext-llm-google extraction) may move the implementations into this directory; extensions keep importing from here unchanged.

Components

Functions

Classes

Types