Skip to content

Automate browser based workflows with AI

do not show metadata thought yet (#1445)

Shuchang Zheng4962dbe325bf
diff --git a/skyvern/forge/sdk/services/observer_service.py b/skyvern/forge/sdk/services/observer_service.py
index bd39a5965..2bba5d577 100644
--- a/skyvern/forge/sdk/services/observer_service.py
+++ b/skyvern/forge/sdk/services/observer_service.py
@@ -887,7 +887,14 @@ async def get_observer_thought_timelines(
observer_cruise_id: str,
organization_id: str | None = None,
) -> list[WorkflowRunTimeline]:
- observer_thoughts = await app.DATABASE.get_observer_thoughts(observer_cruise_id, organization_id=organization_id)
+ observer_thoughts = await app.DATABASE.get_observer_thoughts(
+ observer_cruise_id,
+ organization_id=organization_id,
+ observer_thought_types=[
+ ObserverThoughtType.plan,
+ ObserverThoughtType.user_goal_check,
+ ],
+ )
return [
WorkflowRunTimeline(
type=WorkflowRunTimelineType.thought,