Skip to content

Commit 25be973

Browse files
committed
fix: change import of DefaultChatTransport to static import
1 parent 9230998 commit 25be973

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

custom/composables/agentStore/useAgentChat.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// import { DefaultChatTransport } from 'ai';
1+
import { DefaultChatTransport } from 'ai';
22
import { shallowRef, type Ref } from 'vue';
33
import { Chat } from '../../chat';
44
import { getCurrentPageContext } from './pageContext';
5-
const { DefaultChatTransport } = await import('ai');
5+
// const { DefaultChatTransport } = await import('ai');
66

77
type AgentImportMeta = ImportMeta & {
88
env: {

0 commit comments

Comments
 (0)