mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 03:30:48 +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
|
|
@ -149,6 +149,7 @@ def run_attempt(*, store: Any, data: AttemptRunnerInput) -> AttemptRunnerOutput:
|
|||
tools=data.tools,
|
||||
user_text=data.msg.text,
|
||||
attachments=data.msg.attachments,
|
||||
inbound_metadata=data.msg.metadata if isinstance(data.msg.metadata, dict) else None,
|
||||
trace_id=data.trace_id,
|
||||
parent_span_id=data.parent_span_id,
|
||||
run_id=data.run_id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue