⚕ WhatsApp AI Agent v2.1

Multi-client WhatsApp Business: support + sales + memory + tools + past-history.

Stack: DeepSeek + LightRAG + Postgres + Evolution + SOUL profiles

/health

New APIs

GET  /clients/{instance}/chats              — List all chats with message counts
GET  /clients/{instance}/messages/{jid}     — Get past messages for a contact
POST /clients/{instance}/import             — Import past chats into LightRAG

Import past conversations:

POST /clients/hermes-whatsapp/import
{
  "contact_jid": null,      // null = all chats
  "max_per_chat": 500,
  "max_chats": 50
}