repo_description: AgentChat 是一个基于 LLM 的智能体交流平台，内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作，Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技术，实现高效的知识检索与工具调用，使用 FastAPI 构建高性能后端服务。
repo_topics: agent agent-memory agent-skills human-in-the-loop langchain llm mcp mcp-client mcp-server mysql redis
code: import { loadEnv, defineConfig } from 'vite'
  import vue from '@vitejs/plugin-vue'
  import AutoImport from 'unplugin-auto-import/vite'
  import Components from 'unplugin-vue-components/vite'
  import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
  
  export default defineConfig(({ mode }) => {
    const env = loadEnv(mode, process.cwd())
  
    return {
      server: {
        host: '0.0.0.0',
        port: 8090,
        https: false,
        proxy: {
          '/api': {
            target: env.VITE_API_BASE_URL || 'http://localhost:7860',
            changeOrigin: true,
          }
        },
      },
      plugins: [
        vue(),
        AutoImport({ resolvers: [ElementPlusResolver()] }),
        Components({ resolvers: [ElementPlusResolver()] }),
      ],
    }
  })