Skip to content

Open source file-system and knowledge based agent template. Build AI agents that stay up to date with your knowledge base

259 B
Raw Blame
import { getAgentConfig } from '../../utils/agent-config'

/**
 * GET /api/agent-config
 * Get the active agent configuration (admin only)
 */
export default defineEventHandler(async (event) => {
  await requireAdmin(event)
  return await getAgentConfig()
})