mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-21 15:01:26 +00:00
Fix NodeJS compat
This commit is contained in:
parent
e2d23a5abb
commit
197259c88a
19 changed files with 110 additions and 99 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import type { AssistantMessage, AssistantMessageEvent } from "./types";
|
||||
import type { AssistantMessage, AssistantMessageEvent } from "./types.js";
|
||||
|
||||
// Generic event stream class for async iteration
|
||||
export class EventStream<T, R = T> implements AsyncIterable<T> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue