Docs
CodeRabbit
Cloudflare
Railway
SerpAPI
WorkOS
Clerk
OpenRouter
AG Grid
Netlify
Unkey
Electric
Sentry
Prisma
CodeRabbit
Cloudflare
Railway
SerpAPI
WorkOS
Clerk
OpenRouter
AG Grid
Netlify
Unkey
Electric
Sentry
Prisma
Class References
Function References
Interface References
Type Alias References
Variable References

ModelCapabilities

Interface: ModelCapabilities<TInput, TFeatures, TTools, TOptions>

Defined in: packages/ai/src/extend-adapter.ts:41

Capability bag accepted by the object form of createModel.

Type Parameters

TInput

TInput extends ReadonlyArray<Modality> = ReadonlyArray<Modality>

TFeatures

TFeatures extends ReadonlyArray<string> = ReadonlyArray<string>

TTools

TTools extends ReadonlyArray<string> = ReadonlyArray<string>

TOptions

TOptions = unknown

Properties

features?

ts
optional features: TFeatures;
optional features: TFeatures;

Defined in: packages/ai/src/extend-adapter.ts:48


input?

ts
optional input: TInput;
optional input: TInput;

Defined in: packages/ai/src/extend-adapter.ts:47


modelOptions?

ts
optional modelOptions: TOptions;
optional modelOptions: TOptions;

Defined in: packages/ai/src/extend-adapter.ts:50


tools?

ts
optional tools: TTools;
optional tools: TTools;

Defined in: packages/ai/src/extend-adapter.ts:49