@mirego/forra-api / Chat API
Chat API
Functions for chat completions and model management. This module provides real-time streaming chat capabilities, model discovery, and function calling support for both stateful conversations and stateless chat interactions.
Functions
- cancelStream
- chatCompletion
- fetchAvailableFunctions
- fetchChatModels
- fetchCodingAgentConfigExport
- fetchDefaultModel
- fetchImageModels
- fetchSpeechModels
- fetchTranscriptionModels
- fetchVideoJobStatus
- fetchVideoModels
- getActiveStream
- reconnectToStream
- streamConversationCompletion
- streamStatelessChatCompletion