feat(whatsapp): QWEN primary AI backend, Hermes fallback, conversation history, vehicle persistence, demo prompts
- Add QWEN (qwen3.6) as primary AI backend with short system prompt - Hermes remains as fallback with 45s timeout - Increase QWEN timeout to 35s, max_tokens to 4000 - Add conversation history loading from whatsapp_messages (last 4 msgs) - Persist detected vehicle in whatsapp_sessions table - Add 'limpiar chat' / 'nuevo chat' / 'reset' commands to clear history - Fix CSS conflict: rename whatsapp chat-panel classes to wa-chat-panel - Fix JS ID conflicts with chat.js widget (waChatPanel, waChatMessages, etc.) - Improve no-stock response: conversational with alternatives - Split search_query by | for multi-part lookups - Add DEMO_PROMPTS.md and DEMO_PROMPTS_V2.md
This commit is contained in:
@@ -32,6 +32,9 @@ def create_app():
|
||||
from blueprints.pos_bp import pos_bp
|
||||
app.register_blueprint(pos_bp)
|
||||
|
||||
from blueprints.public_bp import public_bp
|
||||
app.register_blueprint(public_bp)
|
||||
|
||||
from blueprints.customers_bp import customers_bp
|
||||
app.register_blueprint(customers_bp)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user