mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-11-22 21:48:20 +08:00
New misc plugin langbot-team/LeadCapture 0.1.0 (购买意向留资): - after each AI reply (NormalMessageResponded) a configured LLM judges strong purchase intent against a configurable prompt over the recent conversation (monitoring.messages, read-only) - on strong intent, a fixed contact-request text is appended to that reply, once per bot+user - user messages are then checked for contact details (patterns for CN mobile/landline, email, WeChat; LLM extraction as fallback) - on capture, the full conversation is emailed via Resend (configurable API key, sender, recipients) with a .txt transcript attachment; failed sends are retried on later replies, up to 3 attempts; an optional thank-you is appended to the next reply - every failure is logged and never breaks the conversation Misc plugin CI now uses any plugin's own requirements-dev.txt. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai>
3 lines
55 B
INI
3 lines
55 B
INI
[pytest]
|
|
asyncio_default_fixture_loop_scope = function
|