Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript
363 B
Raw Blame
import { createContext } from 'react'
import type { ChatListContextValue, ChatListProviderProps } from './types'

export const ChatListContext = createContext<ChatListContextValue | null>(null)

export function ChatListProvider({ value, children }: ChatListProviderProps) {
  return <ChatListContext.Provider value={value}>{children}</ChatListContext.Provider>
}