This commit is contained in:
2025-05-24 10:03:35 +08:00
parent 2369417961
commit 8d2401ea30
4 changed files with 201 additions and 199 deletions

View File

@@ -1,18 +1,19 @@
import { ChatStream } from './type.ts';
export { BaseChat, BaseChatOptions } from './chat.ts';
export {
ChatMessage,
ChatMessageOptions, //
ChatMessageComplete,
ChatMessageStream,
BaseChatInterface,
BaseChatUsageInterface,
ChatStream,
EmbeddingMessage,
EmbeddingMessageComplete,
} from './type.ts';
// export type { BaseChat, BaseChatOptions } from './chat.ts';
export * from './chat.ts'
// export {
// ChatMessage,
// ChatMessageOptions, //
// ChatMessageComplete,
// ChatMessageStream,
// BaseChatInterface,
// BaseChatUsageInterface,
// ChatStream,
// EmbeddingMessage,
// EmbeddingMessageComplete,
// } from './type.ts';
export * from './type.ts'
/**
* for await (const chunk of chatStream) {
* console.log(chunk);