Skip to content

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

TypeScript
437 B
Raw Blame
import { createContext } from 'react'
import type { AgentChatActionsContextValue, AgentChatActionsProviderProps } from './types'

export const AgentChatActionsContext = createContext<AgentChatActionsContextValue | null>(null)

export function AgentChatActionsProvider({ value, children }: AgentChatActionsProviderProps) {
  return (
    <AgentChatActionsContext.Provider value={value}>{children}</AgentChatActionsContext.Provider>
  )
}