diff --git a/apps/ai-game-creator-shell/src/features/project-workspace/directThreadEvents.ts b/apps/ai-game-creator-shell/src/features/project-workspace/directThreadEvents.ts index fc7b8f5b4..0570f605f 100644 --- a/apps/ai-game-creator-shell/src/features/project-workspace/directThreadEvents.ts +++ b/apps/ai-game-creator-shell/src/features/project-workspace/directThreadEvents.ts @@ -1,3 +1,5 @@ +import type { LocalConversationMessageRecord } from '../../app/types'; + export type DirectThreadRawEvent = { seq: number; type: string; @@ -21,8 +23,6 @@ export type DirectThreadHistorySlice = { hasMore: boolean; }; -import type { LocalConversationMessageRecord } from '../../app/types'; - export function directThreadHistoryItemsToMessages( items: unknown[], ): LocalConversationMessageRecord[] {