Class References
Function References
- text
- textOptions
- combineStrategies
- convertMessagesToModelMessages
- convertZodToJsonSchema
- createReplayStream
- embedding
- generateMessageId
- maxIterations
- messages
- modelMessageToUIMessage
- modelMessagesToUIMessages
- normalizeToUIMessage
- parsePartialJSON
- summarize
- toServerSentEventsStream
- toServerSentEventsResponse
- toolDefinition
- uiMessageToModelMessages
- realtimeToken
- untilFinishReason
Interface References
- AIAdapter
- AIAdapterConfig
- AgentLoopState
- AudioPart
- AudioVisualization
- BaseStreamChunk
- TextCompletionChunk
- TextOptions
- ChunkRecording
- ChunkStrategy
- ClientTool
- ContentPartSource
- ContentStreamChunk
- DefaultMessageMetadataByModality
- DocumentPart
- DoneStreamChunk
- EmbeddingOptions
- EmbeddingResult
- ErrorStreamChunk
- ImagePart
- InternalToolCallState
- JSONParser
- ModelMessage
- ProcessorResult
- ProcessorState
- RealtimeAdapter
- RealtimeClientOptions
- RealtimeConnection
- RealtimeMessage
- RealtimeSessionConfig
- RealtimeToken
- RealtimeTokenAdapter
- RealtimeTokenOptions
- ResponseFormat
- ServerTool
- StreamProcessorEvents
- StreamProcessorHandlers
- StreamProcessorOptions
- SummarizationOptions
- SummarizationResult
- TextPart
- ThinkingPart
- ThinkingStreamChunk
- Tool
- ToolCall
- ToolCallPart
- ToolCallStreamChunk
- ToolConfig
- ToolDefinition
- ToolDefinitionConfig
- ToolDefinitionInstance
- ToolInputAvailableStreamChunk
- ToolResultPart
- ToolResultStreamChunk
- UIMessage
- VideoPart
Type Alias References
- AgentLoopStrategy
- AnyClientTool
- TextStreamOptionsForModel
- TextStreamOptionsUnion
- ConstrainedContent
- ConstrainedModelMessage
- ContentPart
- ContentPartForModalities
- ExtractModalitiesForModel
- ExtractModelsFromAdapter
- InferToolInput
- InferToolName
- InferToolOutput
- MessagePart
- RealtimeEvent
- RealtimeMessagePart
- RealtimeMode
- RealtimeStatus
- ModalitiesArrayToUnion
- Modality
- StreamChunk
- ToolCallState
- ToolResultState
Variable References
SkillLimitErrorInit
Defined in: packages/ai/src/utilities/errors.ts:13
Thrown when a skills request exceeds a provider limit. Lives in core (rather than @tanstack/ai-skills) so the native tool factories in ai-anthropic and openai-base can throw it without depending on the skills package; @tanstack/ai-skills re-exports it for the portable path.
path distinguishes the native provider cap (e.g. Anthropic's 8-skill limit) from a portable-path limit, so a portable user isn't sent chasing a cap that only applies to hosted skills.
Properties#
actual#
actual: number;Defined in: packages/ai/src/utilities/errors.ts:18
allowed#
allowed: number;Defined in: packages/ai/src/utilities/errors.ts:17
limit#
limit: string;Defined in: packages/ai/src/utilities/errors.ts:16
offending#
offending: string[];Defined in: packages/ai/src/utilities/errors.ts:19
path#
path: "native" | "portable";Defined in: packages/ai/src/utilities/errors.ts:15
provider#
provider: "anthropic" | "openai" | "gemini" | "other";Defined in: packages/ai/src/utilities/errors.ts:14