Fix TypeScript errors in frontend build

Co-authored-by: phact <1313220+phact@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-08-30 13:52:50 +00:00
parent 434b2779e8
commit 40840fc0b5

View file

@ -20,6 +20,7 @@ interface ConversationData {
messages: ConversationMessage[]
endpoint: EndpointType
response_id: string
title: string
[key: string]: unknown
}
@ -32,7 +33,7 @@ interface ChatContextType {
chat: string | null
langflow: string | null
}
setPreviousResponseIds: (ids: { chat: string | null; langflow: string | null }) => void
setPreviousResponseIds: (ids: { chat: string | null; langflow: string | null } | ((prev: { chat: string | null; langflow: string | null }) => { chat: string | null; langflow: string | null })) => void
refreshConversations: () => void
refreshTrigger: number
loadConversation: (conversation: ConversationData) => void