- Add CPU/GPU memory monitoring endpoint and frontend widget - Add Amazon Bedrock model support (API key / inference profiles) plus model selector entries - Add Discord weather/laundry notification job (JMA forecast + LLM-generated message) - Add Discord bot that replies to mentions via the configured LLM, with weather-aware context - Add scheduled "useless tips" job with separate webhook and quiet-hours skip - Switch FastAPI startup to lifespan handler, log viewer, markdown rendering, and toast UI additions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
671 B
TypeScript
26 lines
671 B
TypeScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
server: {
|
|
port: 5173,
|
|
proxy: {
|
|
'/chat': {
|
|
target: 'http://localhost:8000',
|
|
changeOrigin: true,
|
|
// SSE ストリーミングのバッファリングを無効化
|
|
configure: (proxy) => {
|
|
proxy.on('proxyRes', (proxyRes) => {
|
|
proxyRes.headers['x-accel-buffering'] = 'no'
|
|
})
|
|
},
|
|
},
|
|
'/api': 'http://localhost:8000',
|
|
'/memory': 'http://localhost:8000',
|
|
'/logs': 'http://localhost:8000',
|
|
'/health': 'http://localhost:8000',
|
|
},
|
|
},
|
|
})
|