We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d97e1f commit 47c1dd7Copy full SHA for 47c1dd7
src/core/assistant-message/parseAssistantMessage.ts
@@ -1,11 +1,12 @@
1
import { StreamingParser } from "./directives/StreamingParser"
2
+import type { Directive } from "./directives"
3
4
// Re-export types for backward compatibility
5
export type { TextDirective, ToolDirective, Directive } from "./directives"
6
7
// Backward compatibility alias
-export type AssistantMessageContent = import("./directives").Directive
8
+export type AssistantMessageContent = Directive
9
-export function parseAssistantMessage(assistantMessage: string): import("./directives").Directive[] {
10
+export function parseAssistantMessage(assistantMessage: string): Directive[] {
11
return StreamingParser.parse(assistantMessage)
12
}
0 commit comments