diff --git a/README.md b/README.md index 2492f91..afb4868 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # Zalo Hermes Bot -Kênh **Zalo Bot ↔ Hermes Agent** (không phải bot KB/wiki `:8766`). +Kênh **Zalo Bot ↔ Hermes Agent**. Người dùng chat Zalo → bot long-poll (`python-zalo-bot`) → **Hermes API Server** (`:8642`, agent đầy đủ tool/skill/memory) → format plain-text → trả lại Zalo. -Đây là hiện thực phương án **B** trong thực tế vận hành: event từ Zalo do bridge giữ `chat_id` và lấy câu trả lời agent rồi `send_message`. Webhook Hermes `:8644` không deliver native sang Zalo, nên bridge dùng **API Server** (cùng gateway Hermes) thay vì phụ thuộc deliver platform. +Trong thực tế vận hành: event từ Zalo do bridge giữ `chat_id` và lấy câu trả lời agent rồi `send_message`. Webhook Hermes `:8644` không deliver native sang Zalo, nên bridge dùng **API Server** (cùng gateway Hermes) thay vì phụ thuộc deliver platform. ``` Zalo user @@ -14,8 +14,6 @@ Zalo user → send_message ``` -Khác `zalo-bot-chat` (KB support giá/wiki). Có thể chạy song song với token bot khác. - ## Yêu cầu 1. Python ≥ 3.8 (khuyến nghị 3.11)