InferAgentContext
@daydreamsai/core / InferAgentContext
Type Alias: InferAgentContext<TAgent>
InferAgentContext<
TAgent> =TAgentextendsAgent<infer Content> ?Content:never
Defined in: packages/core/src/types.ts:48
Extracts the context type from an Agent type
Type Parameters
TAgent
TAgent extends AnyAgent
The agent type to extract context from