- Fix delete agent 500: clean up FK records (agent_llm_logs, permissions, schedules, executions, team_members) and unbind goals/tasks before delete - Remove hardcoded personality templates in Android, replace with dynamic system prompt generation from name + description - Set promptSectionsEnabled=false to bypass PromptComposer for personality - Add Tencent Cloud Linux deployment guide (Docker Compose) - Accumulated backend service updates, frontend UI fixes, Android app changes Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
643 B
TypeScript
25 lines
643 B
TypeScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import { fileURLToPath, URL } from 'node:url'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
resolve: {
|
|
alias: {
|
|
'@': fileURLToPath(new URL('./src', import.meta.url))
|
|
}
|
|
},
|
|
server: {
|
|
port: 3001,
|
|
proxy: {
|
|
'/api': {
|
|
// 8037 是后端实际端口;可通过环境变量 AIAGENT_API_PROXY 覆盖
|
|
// PowerShell: $env:AIAGENT_API_PROXY='http://127.0.0.1:8037'; pnpm dev
|
|
target: process.env.AIAGENT_API_PROXY || 'http://127.0.0.1:8037',
|
|
changeOrigin: true
|
|
}
|
|
}
|
|
}
|
|
})
|