Open History to see the last commit
@tanstack/ai#
Classes#
- BatchStrategy
- CompositeStrategy
- ImmediateStrategy
- PartialJSONParser
- PunctuationStrategy
- StreamProcessor
- ToolCallManager
- WordBoundaryStrategy
Interfaces#
- AgentLoopState
- ApprovalRequestedStreamChunk
- AudioPart
- BaseStreamChunk
- ChunkRecording
- ChunkStrategy
- ClientTool
- ContentPartSource
- ContentStreamChunk
- DefaultMessageMetadataByModality
- DocumentPart
- DoneStreamChunk
- ErrorStreamChunk
- GeneratedImage
- ImageAdapter
- ImageGenerationOptions
- ImageGenerationResult
- ImagePart
- InternalToolCallState
- JSONParser
- JSONSchema
- ModelMessage
- ProcessorResult
- ProcessorState
- ResponseFormat
- ServerTool
- StreamProcessorEvents
- StreamProcessorHandlers
- StreamProcessorOptions
- SummarizationOptions
- SummarizationResult
- SummarizeAdapter
- TextAdapter
- TextCompletionChunk
- TextOptions
- TextPart
- ThinkingPart
- ThinkingStreamChunk
- Tool
- ToolCall
- ToolCallPart
- ToolCallStreamChunk
- ToolConfig
- ToolDefinition
- ToolDefinitionConfig
- ToolDefinitionInstance
- ToolInputAvailableStreamChunk
- ToolResultPart
- ToolResultStreamChunk
- TranscriptionAdapter
- TranscriptionOptions
- TranscriptionResult
- TranscriptionSegment
- TranscriptionWord
- TTSAdapter
- TTSOptions
- TTSResult
- UIMessage
- VideoAdapter
- VideoGenerationOptions
- VideoJobResult
- VideoPart
- VideoStatusResult
- VideoUrlResult
Type Aliases#
- AgentLoopStrategy
- AIAdapter
- AnyClientTool
- AnyImageAdapter
- AnySummarizeAdapter
- AnyTextAdapter
- AnyTranscriptionAdapter
- AnyTTSAdapter
- AnyVideoAdapter
- ConstrainedContent
- ConstrainedModelMessage
- ContentPart
- ContentPartForInputModalitiesTypes
- InferSchemaType
- InferToolInput
- InferToolName
- InferToolOutput
- InputModalitiesTypes
- MessagePart
- ModalitiesArrayToUnion
- Modality
- SchemaInput
- StreamChunk
- StreamChunkType
- ToolCallState
- ToolResultState
Variables#
Functions#
- chat
- combineStrategies
- convertMessagesToModelMessages
- convertZodToJsonSchema
- createChatOptions
- createImageOptions
- createReplayStream
- createSpeechOptions
- createSummarizeOptions
- createTranscriptionOptions
- createVideoOptions
- generateImage
- generateMessageId
- generateSpeech
- generateTranscription
- generateVideo
- getVideoJobStatus
- maxIterations
- modelMessagesToUIMessages
- modelMessageToUIMessage
- normalizeToUIMessage
- parsePartialJSON
- streamToText
- summarize
- toHttpStream
- toolDefinition
- toServerSentEventsStream
toStreamResponse- uiMessageToModelMessages
- untilFinishReason