From 159d41abe2c9c403a98475188f2be59cd5f82c6a Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 21 May 2024 16:06:43 +0200 Subject: [PATCH] Make tests pass --- external/@worldbrain/memex-common | 2 +- src/sidebar/annotations-sidebar/containers/logic.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/external/@worldbrain/memex-common b/external/@worldbrain/memex-common index 32aba704a6..e01555db8e 160000 --- a/external/@worldbrain/memex-common +++ b/external/@worldbrain/memex-common @@ -1 +1 @@ -Subproject commit 32aba704a6c83915c3cbb1156f62c58f01713c48 +Subproject commit e01555db8e02bfa7c99973a02dbc869f9d0d9cf9 diff --git a/src/sidebar/annotations-sidebar/containers/logic.ts b/src/sidebar/annotations-sidebar/containers/logic.ts index f39748fc94..79816e89f2 100644 --- a/src/sidebar/annotations-sidebar/containers/logic.ts +++ b/src/sidebar/annotations-sidebar/containers/logic.ts @@ -114,8 +114,9 @@ import { PromptData } from '@worldbrain/memex-common/lib/summarization/types' import { CLOUDFLARE_WORKER_URLS } from '@worldbrain/memex-common/lib/content-sharing/storage/constants' import { DEF_HIGHLIGHT_CSS_CLASS } from '@worldbrain/memex-common/lib/in-page-ui/highlighting/constants' import type { HighlightColor } from '@worldbrain/memex-common/lib/common-ui/components/highlightColorPicker/types' -import { convertLinksInAIResponse } from '@worldbrain/memex-common/lib/ai-chat' + import { UserReference } from '@worldbrain/memex-common/lib/web-interface/types/users' +import { convertLinksInAIResponse } from '@worldbrain/memex-common/lib/ai-chat/utils' const md = new MarkdownIt() export type SidebarContainerOptions = SidebarContainerDependencies & {