File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
apps/sim/app/api/copilot/chat Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import {
1414} from '@/lib/copilot/chat-streaming'
1515import { COPILOT_REQUEST_MODES } from '@/lib/copilot/models'
1616import { orchestrateCopilotStream } from '@/lib/copilot/orchestrator'
17+ import { getStreamMeta , readStreamEvents } from '@/lib/copilot/orchestrator/stream/buffer'
1718import {
1819 authenticateCopilotRequestSessionOnly ,
1920 createBadRequestResponse ,
@@ -461,9 +462,6 @@ export async function GET(req: NextRequest) {
461462
462463 if ( chat . conversationId ) {
463464 try {
464- const { getStreamMeta, readStreamEvents } = await import (
465- '@/lib/copilot/orchestrator/stream/buffer'
466- )
467465 const [ meta , events ] = await Promise . all ( [
468466 getStreamMeta ( chat . conversationId ) ,
469467 readStreamEvents ( chat . conversationId , 0 ) ,
You can’t perform that action at this time.
0 commit comments