Skip to content

Commit 2b377bf

Browse files
github-actions[bot]kappa90
authored andcommitted
Update query snapshots
1 parent b0189ea commit 2b377bf

File tree

3 files changed

+19
-20
lines changed

3 files changed

+19
-20
lines changed

ee/hogai/chat_agent/session_summaries/nodes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
execute_summarize_session_group,
2121
)
2222

23-
from products.notebooks.backend.models import Notebook
2423
from ee.hogai.chat_agent.session_summaries.prompts import GENERATE_FILTER_QUERY_PROMPT
2524
from ee.hogai.core.node import AssistantNode
2625
from ee.hogai.llm import MaxChatOpenAI

ee/hogai/core/agent_modes/test/test_executables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ async def test_conversation_summarization_on_first_turn(self, mock_summarize, mo
386386
"ee.hogai.core.agent_modes.executables.AgentExecutable._get_model", return_value=FakeChatOpenAI(responses=[])
387387
)
388388
@patch("ee.hogai.core.agent_modes.compaction_manager.AnthropicConversationCompactionManager.calculate_token_count")
389-
@patch("ee.hogai.utils.conversation_summarizer.nodes.AnthropicConversationSummarizer.summarize")
389+
@patch("ee.hogai.utils.conversation_summarizer.summarizer.AnthropicConversationSummarizer.summarize")
390390
@patch("ee.hogai.core.agent_modes.executables.has_agent_modes_feature_flag")
391391
async def test_conversation_summarization_includes_mode_reminder_when_feature_flag_enabled(
392392
self, mock_feature_flag, mock_summarize, mock_calculate_tokens, mock_model

posthog/session_recordings/test/__snapshots__/test_session_recordings.ambr

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3884,19 +3884,6 @@
38843884
'''
38853885
# ---
38863886
# name: TestSessionRecordings.test_get_session_recordings_sorted_0_descending_original_.10
3887-
'''
3888-
SELECT "posthog_teamrevenueanalyticsconfig"."team_id",
3889-
"posthog_teamrevenueanalyticsconfig"."filter_test_accounts",
3890-
"posthog_teamrevenueanalyticsconfig"."notified_first_sync",
3891-
"posthog_teamrevenueanalyticsconfig"."events",
3892-
"posthog_teamrevenueanalyticsconfig"."goals",
3893-
"posthog_teamrevenueanalyticsconfig"."base_currency"
3894-
FROM "posthog_teamrevenueanalyticsconfig"
3895-
WHERE "posthog_teamrevenueanalyticsconfig"."team_id" = 99999
3896-
LIMIT 21
3897-
'''
3898-
# ---
3899-
# name: TestSessionRecordings.test_get_session_recordings_sorted_0_descending_original_.11
39003887
'''
39013888
SELECT "posthog_externaldatasource"."created_by_id",
39023889
"posthog_externaldatasource"."created_at",
@@ -3926,7 +3913,7 @@
39263913
AND "posthog_externaldatasource"."deleted" IS NOT NULL))
39273914
'''
39283915
# ---
3929-
# name: TestSessionRecordings.test_get_session_recordings_sorted_0_descending_original_.12
3916+
# name: TestSessionRecordings.test_get_session_recordings_sorted_0_descending_original_.11
39303917
'''
39313918
SELECT "posthog_datawarehousetable"."created_by_id",
39323919
"posthog_datawarehousetable"."created_at",
@@ -3975,7 +3962,7 @@
39753962
AND "posthog_datawarehousetable"."deleted" IS NOT NULL))
39763963
'''
39773964
# ---
3978-
# name: TestSessionRecordings.test_get_session_recordings_sorted_0_descending_original_.13
3965+
# name: TestSessionRecordings.test_get_session_recordings_sorted_0_descending_original_.12
39793966
'''
39803967
SELECT "posthog_datawarehousejoin"."created_by_id",
39813968
"posthog_datawarehousejoin"."created_at",
@@ -3995,7 +3982,7 @@
39953982
AND "posthog_datawarehousejoin"."deleted" IS NOT NULL))
39963983
'''
39973984
# ---
3998-
# name: TestSessionRecordings.test_get_session_recordings_sorted_0_descending_original_.14
3985+
# name: TestSessionRecordings.test_get_session_recordings_sorted_0_descending_original_.13
39993986
'''
40003987
SELECT "posthog_sessionrecording"."id",
40013988
"posthog_sessionrecording"."session_id",
@@ -4025,7 +4012,7 @@
40254012
AND "posthog_sessionrecording"."team_id" = 99999)
40264013
'''
40274014
# ---
4028-
# name: TestSessionRecordings.test_get_session_recordings_sorted_0_descending_original_.15
4015+
# name: TestSessionRecordings.test_get_session_recordings_sorted_0_descending_original_.14
40294016
'''
40304017
SELECT "posthog_sessionrecordingviewed"."session_id"
40314018
FROM "posthog_sessionrecordingviewed"
@@ -4035,7 +4022,7 @@
40354022
'at_base_time'))
40364023
'''
40374024
# ---
4038-
# name: TestSessionRecordings.test_get_session_recordings_sorted_0_descending_original_.16
4025+
# name: TestSessionRecordings.test_get_session_recordings_sorted_0_descending_original_.15
40394026
'''
40404027
SELECT "posthog_sessionrecordingviewed"."session_id",
40414028
"posthog_user"."email"
@@ -4047,6 +4034,19 @@
40474034
AND NOT ("posthog_sessionrecordingviewed"."user_id" = 99999))
40484035
'''
40494036
# ---
4037+
# name: TestSessionRecordings.test_get_session_recordings_sorted_0_descending_original_.16
4038+
'''
4039+
SELECT "posthog_persondistinctid"."id",
4040+
"posthog_persondistinctid"."team_id",
4041+
"posthog_persondistinctid"."person_id",
4042+
"posthog_persondistinctid"."distinct_id",
4043+
"posthog_persondistinctid"."version"
4044+
FROM "posthog_persondistinctid"
4045+
WHERE ("posthog_persondistinctid"."distinct_id" IN ('user2',
4046+
'user_one_0')
4047+
AND "posthog_persondistinctid"."team_id" = 99999)
4048+
'''
4049+
# ---
40504050
# name: TestSessionRecordings.test_get_session_recordings_sorted_0_descending_original_.17
40514051
'''
40524052
SELECT "posthog_persondistinctid"."id",

0 commit comments

Comments
 (0)