mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-21 17:57:14 +00:00
1f3aad6baa
Restructure the wizard's Step 2 (AI Engine) into a two-layer choice: - Orchestrated Agent apps (Dify, n8n, Coze, etc.) - Direct LLM usage (Space service or custom provider) For direct LLM mode, users choose between LangBot Space (OAuth) or adding their own model provider via a dedicated ProviderForm page. Support intra-step back navigation across all layers. Add Vite dev server proxy config for API requests. Add i18n translations for all 8 locales.
25 lines
427 B
TypeScript
25 lines
427 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import path from 'path';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src'),
|
|
},
|
|
},
|
|
server: {
|
|
port: 3000,
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://127.0.0.1:5300',
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
build: {
|
|
outDir: 'dist',
|
|
},
|
|
});
|