open-webui/backend/open_webui/routers
Sihyeon Jang 3ccbb46938 perf: fix cache key generation for model list caching
- Replace Request object with user.id in cache key for get_all_models
- Request objects are new instances per HTTP request, preventing cache hits
- Cache keys now use user.id ensuring proper cache functionality
- Affects both Ollama and OpenAI model list endpoints

Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com>
2025-09-03 05:17:41 +09:00
..
audio.py removed test code. 2025-08-30 20:31:13 -04:00
auths.py refac/enh 2025-08-28 03:24:26 +04:00
channels.py refac: async webhook request 2025-08-15 00:07:02 +04:00
chats.py refac 2025-08-14 16:56:08 +04:00
configs.py refac: tool server redis cache 2025-08-18 20:53:46 +04:00
evaluations.py ci fix 2025-07-21 22:17:08 +03:00
files.py enh: process_in_background query param for file upload endpoint 2025-08-25 18:18:52 +04:00
folders.py refac 2025-08-10 01:44:33 +04:00
functions.py refac 2025-07-28 11:31:06 +04:00
groups.py refac/enh: group add/remove users endpoints 2025-07-17 01:50:37 +04:00
images.py fix 2025-08-22 17:19:57 +04:00
knowledge.py enh: delete_file query param 2025-09-02 21:32:07 +04:00
memories.py refac: memory handling 2025-07-20 15:00:24 +04:00
models.py refac: ENABLE_ADMIN_WORKSPACE_CONTENT_ACCESS renamed to BYPASS_ADMIN_ACCESS_CONTROL 2025-08-21 13:08:22 +04:00
notes.py enh/refac: note image upload 2025-07-17 17:36:06 +04:00
ollama.py perf: fix cache key generation for model list caching 2025-09-03 05:17:41 +09:00
openai.py perf: fix cache key generation for model list caching 2025-09-03 05:17:41 +09:00
pipelines.py refac 2025-05-15 12:58:44 +04:00
prompts.py refac: ENABLE_ADMIN_WORKSPACE_CONTENT_ACCESS renamed to BYPASS_ADMIN_ACCESS_CONTROL 2025-08-21 13:08:22 +04:00
retrieval.py refac 2025-08-26 16:54:36 +04:00
scim.py refac 2025-08-06 14:27:07 +04:00
tasks.py enh: query caching 2025-08-27 03:07:21 +04:00
tools.py refac: ENABLE_ADMIN_WORKSPACE_CONTENT_ACCESS renamed to BYPASS_ADMIN_ACCESS_CONTROL 2025-08-21 13:08:22 +04:00
users.py enh: delete_message, continue_response, regenerate_response, rate_response user permissions 2025-08-26 15:05:35 +04:00
utils.py refac/security: python code format endpoint 2025-06-08 20:26:07 +04:00