[GH-ISSUE #2405] AI Tagging works, AI auto summarize does not #1452

Closed
opened 2026-03-02 11:57:26 +03:00 by kerem · 4 comments
Owner

Originally created by @akshatrathee on GitHub (Jan 16, 2026).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/2405

Describe the Bug

Running Karakeep on a raspberry pi5

if i click on a saved link in karakeep and then manually click on generate ai summary, i get the summary! I dont if i run it like a background job or when i save the link using any platform (at ingestion)

very strange

What am i doing wrong?

Steps to Reproduce

Have put in my OpeanAI API key
Have not chosen any custom models (using standard docker compose ones) as defined in https://docs.karakeep.app/configuration/different-ai-providers
AI tags works on all platforms
None of the links have auto AI summary
When i go to admin settings -> background jobs -> inference jobs -> regenerate ai summaries for all bookmarks it skips through my list without generating any summary

Expected Behaviour

Auto sumamry is expected

Screenshots or Additional Context

No response

Device Details

Chrome on Windows11, same on all devices

Exact Karakeep Version

0.29.3

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 @akshatrathee on GitHub (Jan 16, 2026). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/2405 ### Describe the Bug Running Karakeep on a raspberry pi5 if i click on a saved link in karakeep and then manually click on generate ai summary, i get the summary! I dont if i run it like a background job or when i save the link using any platform (at ingestion) very strange What am i doing wrong? ### Steps to Reproduce Have put in my OpeanAI API key Have not chosen any custom models (using standard docker compose ones) as defined in https://docs.karakeep.app/configuration/different-ai-providers AI tags works on all platforms None of the links have auto AI summary When i go to admin settings -> background jobs -> inference jobs -> regenerate ai summaries for all bookmarks it skips through my list without generating any summary ### Expected Behaviour Auto sumamry is expected ### Screenshots or Additional Context _No response_ ### Device Details Chrome on Windows11, same on all devices ### Exact Karakeep Version 0.29.3 ### Have you checked the troubleshooting guide? - [x] I have checked the troubleshooting guide and I haven't found a solution to my problem
kerem 2026-03-02 11:57:26 +03:00
Author
Owner

@MohamedBassem commented on GitHub (Jan 16, 2026):

Auto summarization is not enabled by default, you need to INFERENCE_ENABLE_AUTO_SUMMARIZATION=true

<!-- gh-comment-id:3762229490 --> @MohamedBassem commented on GitHub (Jan 16, 2026): Auto summarization is not enabled by default, you need to INFERENCE_ENABLE_AUTO_SUMMARIZATION=true
Author
Owner

@akshatrathee commented on GitHub (Jan 17, 2026):

@MohamedBassem you are rockstar. love your work. Fan boy moment :)

if i change settings in https://github.com/karakeep-app/karakeep/blob/main/packages/shared/config.ts (my version of it of course0

specifically INFERENCE_CONTEXT_LENGTH and OPENAI_API_KEY and INFERENCE_MAX_OUTPUT_TOKENS and INFERENCE_ENABLE_AUTO_SUMMARIZATION

Will i need to rebuild everything or just edit the config?

I have karakeep running through portainer stacks and it has karakeep-app, karakeep-app-karakeep-ts-1 (for the tailscale sidecar),
karakeep-chrome, karakeep-meilisearch

I would imagine i should ideally change the .env in the container karakeep-app for this but i dont see them in the running container at all.

So should i put them in the container as .env OR just edit the config.ts and restart the stack so that config can be read at runtime?

Worried that the config will have INFERENCE_ENABLE_AUTO_SUMMARIZATION as false and the .env will have INFERENCE_ENABLE_AUTO_SUMMARIZATION as true

<!-- gh-comment-id:3763184984 --> @akshatrathee commented on GitHub (Jan 17, 2026): @MohamedBassem you are rockstar. love your work. Fan boy moment :) if i change settings in https://github.com/karakeep-app/karakeep/blob/main/packages/shared/config.ts (my version of it of course0 specifically INFERENCE_CONTEXT_LENGTH and OPENAI_API_KEY and INFERENCE_MAX_OUTPUT_TOKENS and INFERENCE_ENABLE_AUTO_SUMMARIZATION Will i need to rebuild everything or just edit the config? I have karakeep running through portainer stacks and it has karakeep-app, karakeep-app-karakeep-ts-1 (for the tailscale sidecar), karakeep-chrome, karakeep-meilisearch I would imagine i should ideally change the .env in the container karakeep-app for this but i dont see them in the running container at all. So should i put them in the container as .env OR just edit the config.ts and restart the stack so that config can be read at runtime? Worried that the config will have INFERENCE_ENABLE_AUTO_SUMMARIZATION as false and the .env will have INFERENCE_ENABLE_AUTO_SUMMARIZATION as true
Author
Owner

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

@akshatrathee thanks for the nice words!

Just dropping them in the env file should work. No need to touch any of the source code

<!-- gh-comment-id:3763194096 --> @MohamedBassem commented on GitHub (Jan 17, 2026): @akshatrathee thanks for the nice words! Just dropping them in the env file should work. No need to touch any of the source code
Author
Owner

@akshatrathee commented on GitHub (Jan 17, 2026):

Awesome!

<!-- gh-comment-id:3763295150 --> @akshatrathee commented on GitHub (Jan 17, 2026): Awesome!
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#1452
No description provided.