- Add run_stream method to AgentCore for streaming output - Add base_url parameter to LLM clients for OpenRouter support - Add xbot module for new agent implementation - Refactor Chat.vue into composable + components (ChatHeader, ChatMessage, ChatInput, ChatSidebar, ChatAgentSelector) - Add ChatStream handler for SSE streaming in Go server - Add UseXBot field to chat request Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
34 lines
639 B
TypeScript
34 lines
639 B
TypeScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import { resolve } from 'path'
|
|
import monacoEditorPlugin from 'vite-plugin-monaco-editor'
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
vue(),
|
|
(monacoEditorPlugin as any).default({})
|
|
],
|
|
resolve: {
|
|
alias: {
|
|
'@': resolve(__dirname, 'src')
|
|
}
|
|
},
|
|
server: {
|
|
fs: {
|
|
allow: ['..']
|
|
},
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://localhost:8082',
|
|
changeOrigin: true,
|
|
ws: true
|
|
},
|
|
'/model': {
|
|
target: 'http://localhost:8082',
|
|
changeOrigin: true,
|
|
ws: true
|
|
}
|
|
}
|
|
}
|
|
})
|