Replies: 3 comments
-
|
Oh, I also likely have some data from Langfuse traces that could be helpful, if someone gets interested in this one. I haven't dug into that yet, but I figured I would mention it since I do have some level of observability setup here. |
Beta Was this translation helpful? Give feedback.
-
|
What I see in the hindsight logs, with Debug logging enabled...... 2026-04-26 22:49:26,559 - INFO - hindsight_api.worker.poller - [PENDING_BREAKDOWN] batch_retain: total=3 claimable=0 payload_null=3 retry_blocked=0 assigned=0 | retain: total=3 claimable=3 payload_null=0 retry_blocked=0 assigned=0 2026-04-26 22:49:56,659 - INFO - hindsight_api.worker.poller - [WORKER_STATS] worker=4f2f18748deb slots=0/10 (consolidation=0/2) | available=8 (consolidation=2) | global: pending=6 (schemas: default) | others: none | pool: size=6 limits=5-100 idle=6 in_use=0 free_holders=100 pending_acquires=0 | proc: rss_mb=890 | my_active: none |
Beta Was this translation helpful? Give feedback.
-
|
hey sorry for being late to this did you figure it out? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What's Going Wrong?
My setup includes:
I try to "test" the Hindsight memory solution and it works, the retain operation grabs the memory, and begins to process it.
The memory processing seems to be stuck at "Pending". So when Open-WebUI checks the memory using the recall operation after retaining it, it can't, because it apparently hasn't completed processing. Problem is, it just stays in pending, it never finishes.
Steps Taken
I have tried this through the LiteLLM playground and MCP testing capability, same behavior as what I see in Open-WebUI.
Installation Method
Docker
Operating System
Windows 11
Python Version
3.11.9
Debug Info
I have debug logging on. I am not really seeing anything that resembles an exception. I do see this....
What I've Already Tried
I blew everything away and tried again. Got the same behavior.
One thing to note is that I had all sorts of trouble getting my docker compose process to work. Had to leverage AI to help me work through it.
Started with issues during the build proccess. I believe most of the issues were around not being able to get "pg_textsearch" installed.
Ultimately had to change up a few things in dockerfile and docker-compose to get it to complete the build process. Then there were issues because the schema wasn't working appropriately. Please pardon my ignorance if I sound elementary with this, I am not a developer, so some of this is way over my head.
I eventually had to delete the pg_textsearch extension and recreate it, then do something to define "schemas with pending work".
I am not sure if this has something to do with it or not, but I do see the word "pending" in there.
FIgured I would paste my dockerfile, docker-compose, and then the scripts I had to run to "fix" "schemas with pending work", etc.
docker-compose.yml....
dockerfile
Scripts
Beta Was this translation helpful? Give feedback.
All reactions