From 4962dbe325bfd5bd34b9939fa6f630a979e6d89b Mon Sep 17 00:00:00 2001 From: Shuchang Zheng Date: Sat, 28 Dec 2024 09:53:44 -0800 Subject: [PATCH] do not show metadata thought yet (#1445) --- skyvern/forge/sdk/services/observer_service.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/skyvern/forge/sdk/services/observer_service.py b/skyvern/forge/sdk/services/observer_service.py index bd39a596..2bba5d57 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,