<template>
  <div class="ai-management">
    <h1 class="page-title">智能体管理</h1>

    <el-tabs v-model="activeTab">
      <el-tab-pane label="基础配置" name="config">
        <AIConfig />
      </el-tab-pane>
      <el-tab-pane label="知识库管理" name="knowledge">
        <KnowledgeManagement />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue';
import { ElTabs, ElTabPane } from 'element-plus';
import AIConfig from './components/AIConfig.vue';
import KnowledgeManagement from './components/KnowledgeManagement.vue';

const activeTab = ref('config');
</script>

<style lang="scss" scoped>
.ai-management {
  padding: 20px;
}

.page-title {
  font-size: 28px;
  font-weight: 600;
  color: #141F38;
  margin-bottom: 24px;
}
</style>

