f8a23855d2
- Admin-configurable AI prompt/quick questions from system_configs DB - GET /api/v1/ai/quick-questions endpoint for fetching quick questions - Local FAQ matching for instant responses (avoid AI calls for common Qs) - AI action extraction: "add customer" intent detected, structured data returned - Frontend action confirmation card with editable fields, calls customer API on confirm - NVIDIA provider (stepfun-ai/step-3.5-flash) for faster chat vs deepseek-v4-flash - Fixed httpx client timeout preventing backend hangs - Added log_usage calls for auth events (register/login/guest/wechat) - Admin tabs (users/stats/logs/config) fully functional with real backend - AiAssistant component added to all tabbar pages
12 lines
252 B
JavaScript
12 lines
252 B
JavaScript
import { createSSRApp } from 'vue'
|
|
import App from './App.vue'
|
|
import AiAssistant from './components/ai-assistant.vue'
|
|
|
|
export function createApp() {
|
|
const app = createSSRApp(App)
|
|
app.component('AiAssistant', AiAssistant)
|
|
return {
|
|
app,
|
|
}
|
|
}
|