Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

CapabilityProvider.md

32 lines408 Bytes

type CapabilityProvider<TValue> = (ctx, value) => void;

Defined in: packages/ai/src/activities/chat/middleware/capabilities.ts:23

Writes a capability value onto a context.

Type Parameters

TValue

TValue

Parameters

ctx

CapabilityContext

value

TValue

Returns

void