Skip to content

Commit b176d41

Browse files
committed
feat(whatsapp): Add human-like delay calculator for WhatsApp bot
- Implement HumanDelayCalculator class for realistic message processing delays - Add methods to calculate read, typing, and send delays with configurable parameters - Support delay simulation with reading speed, typing speed, and jitter - Introduce comprehensive logging for delay calculation process - Create new module for human-like interaction timing simulation - Add initial test files for delay calculator and WhatsApp bot configuration - Update .gitignore to include .kiro file
1 parent e36dc85 commit b176d41

12 files changed

+5608
-31
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,4 @@ docker/storage
110110
docker/snapshots
111111
exemples/servers
112112
.conversations
113+
.kiro

agentle/agents/whatsapp/human_delay_calculator.py

Lines changed: 462 additions & 0 deletions
Large diffs are not rendered by default.

agentle/agents/whatsapp/models/whatsapp_bot_config.py

Lines changed: 352 additions & 21 deletions
Large diffs are not rendered by default.

agentle/agents/whatsapp/whatsapp_bot.py

Lines changed: 559 additions & 10 deletions
Large diffs are not rendered by default.

tests/agents/whatsapp/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Tests for WhatsApp bot components."""

0 commit comments

Comments
 (0)