mirror of
https://github.com/Bijit-Mondal/VoiceAgent.git
synced 2026-03-02 18:36:39 +00:00
Refactor VoiceAgent: Extract types and default configurations into separate types.ts file; remove unused StreamBuffer file
This commit is contained in:
21
src/index.ts
21
src/index.ts
@@ -1 +1,22 @@
|
||||
// Agents
|
||||
export { VoiceAgent, type VoiceAgentOptions } from "./VoiceAgent";
|
||||
export {
|
||||
VideoAgent,
|
||||
type VideoAgentOptions,
|
||||
type VideoFrame,
|
||||
type AudioData,
|
||||
type VideoAgentConfig,
|
||||
type FrameContext,
|
||||
type FrameTriggerReason,
|
||||
} from "./VideoAgent";
|
||||
|
||||
// Shared types
|
||||
export {
|
||||
type SpeechChunk,
|
||||
type StreamingSpeechConfig,
|
||||
type HistoryConfig,
|
||||
type StopWhenCondition,
|
||||
DEFAULT_STREAMING_SPEECH_CONFIG,
|
||||
DEFAULT_HISTORY_CONFIG,
|
||||
DEFAULT_MAX_AUDIO_SIZE,
|
||||
} from "./types";
|
||||
|
||||
Reference in New Issue
Block a user