[GH-ISSUE #894] Disable "summarize with AI" button if AI functions are not enabled #585

Closed
opened 2026-03-02 11:51:03 +03:00 by kerem · 3 comments
Owner

Originally created by @cthu1hoo on GitHub (Jan 17, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/894

Describe the Bug

Currently, if neither OpenAI nor any local inference settings are enabled, bright purple "Summarize with AI" button still shows up in the UI, clicking on it predictably results in an error.

Image

It would be great if the button was visible only when AI functions are enabled. Thanks in advance!

Steps to Reproduce

  1. Run Hoarder with default settings
  2. Open any bookmark

Expected Behaviour

The button is not there.

Screenshots or Additional Context

No response

Device Details

No response

Exact Hoarder Version

v0.20.0

Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem
Originally created by @cthu1hoo on GitHub (Jan 17, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/894 ### Describe the Bug Currently, if neither OpenAI nor any local inference settings are enabled, bright purple "Summarize with AI" button still shows up in the UI, clicking on it predictably results in an error. <img width="544" alt="Image" src="https://github.com/user-attachments/assets/acd78cab-9f58-4000-a7e1-2b290bc9f62e" /> It would be great if the button was visible only when AI functions are enabled. Thanks in advance! ### Steps to Reproduce 1. Run Hoarder with default settings 2. Open any bookmark ### Expected Behaviour The button is not there. ### Screenshots or Additional Context _No response_ ### Device Details _No response_ ### Exact Hoarder Version v0.20.0 ### Have you checked the troubleshooting guide? - [x] I have checked the troubleshooting guide and I haven't found a solution to my problem
kerem closed this issue 2026-03-02 11:51:03 +03:00
Author
Owner

@kamtschatka commented on GitHub (Jan 17, 2025):

I disagree. Hiding things because they are misconfigured/not configured is a really practice. It hides from users what would actually be possible with a proper configuration and it confuses those who thought they configured it correctly, but actually didn't.

I would rather disable the button and give a hint on how to configure it properly.

<!-- gh-comment-id:2597639881 --> @kamtschatka commented on GitHub (Jan 17, 2025): I disagree. Hiding things because they are misconfigured/not configured is a really practice. It hides from users what would actually be possible with a proper configuration and it confuses those who thought they configured it correctly, but actually didn't. I would rather disable the button and give a hint on how to configure it properly.
Author
Owner

@cthu1hoo commented on GitHub (Jan 17, 2025):

It's okay if it's not automatic, an environment variable to explicitly disable / opt-out of everything related to AI functions would be fine too.

<!-- gh-comment-id:2597676482 --> @cthu1hoo commented on GitHub (Jan 17, 2025): It's okay if it's not automatic, an environment variable to explicitly disable / opt-out of everything related to AI functions would be fine too.
Author
Owner

@MohamedBassem commented on GitHub (Jan 17, 2025):

Let's track this in #649

<!-- gh-comment-id:2597680610 --> @MohamedBassem commented on GitHub (Jan 17, 2025): Let's track this in #649
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#585
No description provided.