mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-12 18:50:46 +08:00
fix(scheduler): inherit creator specialist when creating scheduled jobs
Pass the active workspace lane into tool execution and default schedule_create to that specialist so WhatsApp ops-bound jobs are stored and run as ops instead of generalist. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
62ac04c40d
commit
146d83c336
4 changed files with 89 additions and 3 deletions
|
|
@ -1309,7 +1309,7 @@ def process_inbound_payload(payload: dict[str, Any]) -> dict[str, Any]:
|
|||
store,
|
||||
tenant_id=tenant_id,
|
||||
user_id=user_id,
|
||||
specialist="generalist",
|
||||
specialist=selected_specialist,
|
||||
session_id=str(session_id),
|
||||
lang=lang,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue