Skip to content

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

TypeScript
507 B
Raw Blame
import { notFound } from 'next/navigation'
import { type SecretScope, SecretsPageContent } from '../SecretsPageContent'

interface SecretsScopePageProps {
  params: Promise<{ scope: string }>
}

export default async function SecretsScopePage({ params }: SecretsScopePageProps) {
  const { scope } = await params
  if (scope !== 'llm' && scope !== 'connector' && scope !== 'recipe') {
    notFound()
  }

  return <SecretsPageContent activeScope={(scope === 'connector' ? 'mcp' : scope) as SecretScope} />
}