fix: Docker compatibility
This commit is contained in:
parent
3b650b4423
commit
3cfdde809a
|
|
@ -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'
|
||||||
|
|
|
||||||
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue