Script action - store text and option (#3289)
This commit is contained in:
@@ -474,7 +474,7 @@ class AgentDB:
|
||||
.order_by(ActionModel.created_at.desc())
|
||||
)
|
||||
actions = (await session.scalars(query)).all()
|
||||
return [Action.model_validate(action) for action in actions]
|
||||
return [hydrate_action(action, empty_element_id=True) for action in actions]
|
||||
|
||||
except SQLAlchemyError:
|
||||
LOG.error("SQLAlchemyError", exc_info=True)
|
||||
|
||||
Reference in New Issue
Block a user