Skip to content

Commit

Permalink
Disable "Fetch Local" AI context feature in dashboard
Browse files Browse the repository at this point in the history
- The implementation assumes you're in the CS, using things like `document.body` to get live page content to supply as context to the LLMs. That's going to give bad data in the dashboard, thus better to disable until we can add an implementation which works there
  • Loading branch information
poltak committed Jun 24, 2024
1 parent a1c86e7 commit bc05cfc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion external/@worldbrain/memex-common
Original file line number Diff line number Diff line change
Expand Up @@ -2047,6 +2047,9 @@ export class AnnotationsSidebar extends React.Component<
/>
)
}}
omitLocalContentFeature={
this.props.sidebarContext === 'dashboard'
}
/>
</AISidebarContainer>
)
Expand Down

0 comments on commit bc05cfc

Please sign in to comment.