Temporarily disable ai summaries

This commit is contained in:
Jackson Harper 2024-03-01 11:15:18 +08:00
parent b1d6d44abb
commit f3d5903d0c
3 changed files with 4 additions and 5 deletions

View file

@ -446,7 +446,7 @@ export function ArticleContainer(props: ArticleContainerProps): JSX.Element {
recommendationsWithNotes={recommendationsWithNotes}
/>
)}
{userHasFeature(props.viewer, 'ai-summaries') && (
{/* {userHasFeature(props.viewer, 'ai-summaries') && (
<AISummary
libraryItemId={props.article.id}
idx="latest"
@ -455,7 +455,7 @@ export function ArticleContainer(props: ArticleContainerProps): JSX.Element {
lineHeight={styles.lineHeight}
readerFontColor={styles.readerFontColor}
/>
)}
)} */}
</VStack>
<Article
articleId={props.article.id}

View file

@ -156,7 +156,7 @@ const HeaderControls = (props: LibraryHeaderProps): JSX.Element => {
/>
<SpanBox css={{ display: 'flex', ml: 'auto', gap: '10px' }}>
{userHasFeature(props.viewer, 'ai-summaries') && (
{/* {userHasFeature(props.viewer, 'ai-summaries') && (
<Button
title="TLDR Summaries"
style="plainIcon"
@ -176,7 +176,7 @@ const HeaderControls = (props: LibraryHeaderProps): JSX.Element => {
>
<HeaderToggleTLDRIcon />
</Button>
)}
)} */}
<Button
title={

View file

@ -174,7 +174,6 @@ export function useGetLibraryItemsQuery({
ownedByViewer
originalArticleUrl
uploadFileId
aiSummary
labels {
id
name