{
  "type": "featherpanel.pages.route",
  "route": "/admin/featherpanel-ai-agent",
  "area": "admin",
  "file_slug": "admin-featherpanel-ai-agent",
  "source": "src/app/(app)/admin/featherpanel-ai-agent/page.tsx",
  "dynamic": false,
  "params": [],
  "title": "FeatherCloud AI Agent",
  "description": "Configure and customize your AI chatbot assistant",
  "title_key": "admin.featherai_agent.title",
  "description_key": "admin.featherai_agent.subtitle",
  "component": "FeatherAiAgentPage",
  "audience": "Panel administrators (requires admin permissions)",
  "nav": {
    "id": "admin-feathercloud-ai-agent",
    "title": "AI Agent",
    "title_key": "navigation.items.aiAgent",
    "permission": "admin.statistics.view",
    "group": "content",
    "category": "admin",
    "matched_url": "/admin/featherpanel-ai-agent",
    "inherited": false
  },
  "widget_slugs": [
    "admin-ai-agent"
  ],
  "sections": [
    "Chatbot Configuration"
  ],
  "features": [
    "Please wait while we fetch your configuration...",
    "Enable or disable the AI chatbot feature for all users",
    "Select the AI provider to use for chatbot responses",
    "Controls randomness (0.0 = focused, 1.0 = creative)",
    "Maximum tokens in responses (1-8192)",
    "Previous messages in context (1-50)",
    "Custom system prompt to prepend to all messages (max 1000 characters)",
    "User context prompt to append to all messages (max 1000 characters)",
    "Unable to load chatbot settings. Please try again later."
  ],
  "ui_labels": [
    {
      "key": "admin.featherai_agent.config.title",
      "value": "Chatbot Configuration"
    },
    {
      "key": "admin.featherai_agent.config.subtitle",
      "value": "Configure and customize your AI chatbot assistant"
    },
    {
      "key": "admin.featherai_agent.config.loading_settings_description",
      "value": "Please wait while we fetch your configuration..."
    },
    {
      "key": "admin.featherai_agent.config.enable_description",
      "value": "Enable or disable the AI chatbot feature for all users"
    },
    {
      "key": "admin.featherai_agent.config.ai_provider_description",
      "value": "Select the AI provider to use for chatbot responses"
    },
    {
      "key": "admin.featherai_agent.config.temperature_description",
      "value": "Controls randomness (0.0 = focused, 1.0 = creative)"
    },
    {
      "key": "admin.featherai_agent.config.max_tokens_description",
      "value": "Maximum tokens in responses (1-8192)"
    },
    {
      "key": "admin.featherai_agent.config.max_history_description",
      "value": "Previous messages in context (1-50)"
    },
    {
      "key": "admin.featherai_agent.config.system_prompt_core_description",
      "value": "The core system prompt that defines the AI assistant's behavior and capabilities. This is read-only and loaded from the system configuration."
    },
    {
      "key": "admin.featherai_agent.config.custom_system_prompt_description",
      "value": "Custom system prompt to prepend to all messages (max 1000 characters)"
    },
    {
      "key": "admin.featherai_agent.config.custom_user_prompt_description",
      "value": "User context prompt to append to all messages (max 1000 characters)"
    },
    {
      "key": "admin.featherai_agent.config.load_failed_description",
      "value": "Unable to load chatbot settings. Please try again later."
    }
  ],
  "hooks": [
    "usePluginWidgets"
  ],
  "api_modules": [
    "admin-settings-api"
  ],
  "api_paths": [
    "/api/admin/settings/chatbot/system-prompt"
  ],
  "summary": "**FeatherCloud AI Agent** Configure and customize your AI chatbot assistant Sidebar label: “AI Agent”. Requires permission `admin.statistics.view`. Key UI: Please wait while we fetch your configuration...; Enable or disable the AI chatbot feature for all users; Select the AI provider to use for chatbot responses; Controls randomness (0.0 = focused, 1.0 = creative); Maximum tokens in responses (1-8192); Previous messages in context (1-50).",
  "how_to_guide_users": "1. Open Admin sidebar.\n2. Open **AI Agent**, then **FeatherCloud AI Agent**.\n3. Direct URL: `/admin/featherpanel-ai-agent`.\n4. User needs permission `admin.statistics.view` (or `admin.root`)."
}
