agentle 0.9.24__py3-none-any.whl → 0.9.26__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- agentle/agents/apis/api.py +25 -7
- agentle/agents/apis/endpoint.py +14 -8
- agentle/agents/whatsapp/human_delay_calculator.py +462 -0
- agentle/agents/whatsapp/models/audio_message.py +6 -4
- agentle/agents/whatsapp/models/whatsapp_bot_config.py +352 -21
- agentle/agents/whatsapp/v2/__init__.py +0 -0
- agentle/agents/whatsapp/v2/batch_processor_manager.py +4 -0
- agentle/agents/whatsapp/v2/bot_config.py +188 -0
- agentle/agents/whatsapp/v2/in_memory_batch_processor_manager.py +0 -0
- agentle/agents/whatsapp/v2/message_limit.py +9 -0
- agentle/agents/whatsapp/v2/payload.py +0 -0
- agentle/agents/whatsapp/v2/whatsapp_bot.py +13 -0
- agentle/agents/whatsapp/v2/whatsapp_cloud_api_provider.py +0 -0
- agentle/agents/whatsapp/v2/whatsapp_provider.py +0 -0
- agentle/agents/whatsapp/whatsapp_bot.py +559 -12
- agentle/web/extractor.py +282 -165
- {agentle-0.9.24.dist-info → agentle-0.9.26.dist-info}/METADATA +1 -1
- {agentle-0.9.24.dist-info → agentle-0.9.26.dist-info}/RECORD +20 -10
- {agentle-0.9.24.dist-info → agentle-0.9.26.dist-info}/WHEEL +0 -0
- {agentle-0.9.24.dist-info → agentle-0.9.26.dist-info}/licenses/LICENSE +0 -0
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from collections.abc import Callable
|
|
2
|
+
from typing import Any
|
|
3
|
+
|
|
4
|
+
from pydantic import ConfigDict
|
|
5
|
+
from rsb.models.base_model import BaseModel
|
|
6
|
+
|
|
7
|
+
from agentle.agents.whatsapp.v2.batch_processor_manager import BatchProcessorManager
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class WhatsAppBot(BaseModel):
|
|
11
|
+
webhook_handlers: list[Callable[..., Any]]
|
|
12
|
+
batch_processor_manager: BatchProcessorManager
|
|
13
|
+
model_config = ConfigDict(arbitrary_types_allowed=True)
|
|
File without changes
|
|
File without changes
|