mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 05:50:44 +08:00
feat(whatsapp): real group @mentions and cleaner inbound text
Wire mention JIDs/names through scheduled delivery and immediate replies (including attachment captions), sanitize group message text for the model, and surface channel-derived sessions in admin Chat. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
cbe68a54cd
commit
ad5d1db3c6
19 changed files with 1507 additions and 58 deletions
|
|
@ -22,6 +22,7 @@ class SkillExecutionContext:
|
|||
session_id: str
|
||||
lang: str = "zh"
|
||||
user_text: str = ""
|
||||
inbound_metadata: dict[str, Any] | None = None
|
||||
specialist: str = "oclaw"
|
||||
trace_id: str | None = None
|
||||
parent_span_id: str | None = None
|
||||
|
|
@ -160,6 +161,7 @@ class SkillExecutor:
|
|||
session_id=ctx.session_id,
|
||||
lang=ctx.lang,
|
||||
user_text=ctx.user_text,
|
||||
inbound_metadata=ctx.inbound_metadata,
|
||||
specialist=ctx.specialist,
|
||||
task_kind="turn",
|
||||
policy_engine=None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue