Skip to content

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

TypeScript
612 B
Raw Blame
import type { ReactNode } from 'react'
import type { LlmAllowedModel } from '@lib/api'

export type LlmModelTableProps = {
  items: LlmAllowedModel[]
  navigation?: ReactNode
  // Set of allowed models that have no enabled price, keyed both as
  // `provider/model` and bare `model` (the unpriced feed may omit the
  // provider). Rows in this set render a compact price warning.
  unpricedKeys: Set<string>
  onCreate: () => void
  onEdit: (id: string) => void
  onDelete: (model: LlmAllowedModel) => Promise<void>
  onRefresh: () => void
  deletingId: string | null
  refreshing: boolean
  loading?: boolean
}