fix last key prefix

This commit is contained in:
Taylor Wilsdon
2025-07-22 13:42:38 -04:00
parent 3e686e9915
commit 65654a3b4c
+2 -1
View File
@@ -1,6 +1,7 @@
import json import json
import uuid import uuid
from open_webui.utils.redis import get_redis_connection from open_webui.utils.redis import get_redis_connection
from open_webui.env import REDIS_KEY_PREFIX
from typing import Optional, List, Tuple from typing import Optional, List, Tuple
import pycrdt as Y import pycrdt as Y
@@ -97,7 +98,7 @@ class YdocManager:
def __init__( def __init__(
self, self,
redis=None, redis=None,
redis_key_prefix: str = "open-webui:ydoc:documents", redis_key_prefix: str = f"{REDIS_KEY_PREFIX}:ydoc:documents",
): ):
self._updates = {} self._updates = {}
self._users = {} self._users = {}