fix: Docker compatibility
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { useState, KeyboardEvent } from 'react'
|
import { useState, type KeyboardEvent } from 'react'
|
||||||
import { Input } from '@/components/ui/input'
|
import { Input } from '@/components/ui/input'
|
||||||
import { Button } from '@/components/ui/button'
|
import { Button } from '@/components/ui/button'
|
||||||
import { Send } from 'lucide-react'
|
import { Send } from 'lucide-react'
|
||||||
|
|||||||
+1
-1
@@ -34,7 +34,7 @@ const MOCK_RESPONSES = {
|
|||||||
|
|
||||||
// Mock streaming function
|
// Mock streaming function
|
||||||
async function* mockChatStream(
|
async function* mockChatStream(
|
||||||
question: string,
|
_question: string,
|
||||||
mode: ChatMode
|
mode: ChatMode
|
||||||
): AsyncGenerator<StreamEvent> {
|
): AsyncGenerator<StreamEvent> {
|
||||||
const sessionId = crypto.randomUUID()
|
const sessionId = crypto.randomUUID()
|
||||||
|
|||||||
Reference in New Issue
Block a user