Skip to content

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

TypeScript
847 B
Raw Blame
'use client'

import { CONTROL_ROUTES } from '@constants/routes'
import { TabBar } from '../TabBar'

export type SecretsTabScope = 'llm' | 'llm-subscriptions' | 'mcp' | 'recipe'

export function SecretsScopeTabs({ activeValue }: { activeValue: SecretsTabScope }) {
  return (
    <TabBar<SecretsTabScope>
      ariaLabel="Secret scopes"
      activeValue={activeValue}
      className="cu-tabs--flush"
      options={[
        { value: 'llm', href: CONTROL_ROUTES.secrets.llm, label: 'LLM API Keys' },
        {
          value: 'llm-subscriptions',
          href: CONTROL_ROUTES.secrets.llmSubscriptions,
          label: 'LLM Subscriptions',
        },
        { value: 'mcp', href: CONTROL_ROUTES.secrets.connector, label: 'Connector' },
        { value: 'recipe', href: CONTROL_ROUTES.secrets.recipe, label: 'Recipe' },
      ]}
    />
  )
}