Add created_by for script actions (#3303)

This commit is contained in:
Shuchang Zheng
2025-08-26 13:17:38 -07:00
committed by GitHub
parent 7002c33bb4
commit 1fcbc97678
2 changed files with 2 additions and 0 deletions

View File

@@ -222,6 +222,7 @@ class SkyvernPage:
text=text,
option=select_option,
response=response,
created_by="script",
)
created_action = await app.DATABASE.create_action(action)

View File

@@ -2476,6 +2476,7 @@ class AgentDB:
skyvern_element_data=action.skyvern_element_data,
action_json=action.model_dump(),
confidence_float=action.confidence_float,
created_by=action.created_by,
)
session.add(new_action)
await session.commit()