Files
open-webui/backend/open_webui/utils
Classic298 fb3d92a6ef feat: record the requested model as its own field in the audit log (#32429)
The audit log only showed which model a request used inside the logged request body, which is cut off at MAX_BODY_LOG_SIZE, so the model went missing whenever a long prompt came before it. Audit entries for chat and completion requests, including the OpenAI, Ollama and Anthropic-compatible endpoints, now carry a model_id field with the model the client asked for, at every AUDIT_LOG_LEVEL and however long the request is. Other requests log it as null.

Fixes #30097
2026-10-15 00:00:19 +04:00
..
2026-10-08 14:30:07 +04:00
2026-10-10 23:50:29 +04:00
2026-10-01 03:31:20 +04:00
2026-10-14 17:10:08 +04:00
2026-08-24 18:29:36 -04:00
2026-10-05 12:17:25 +04:00
2026-10-14 23:58:58 +04:00
2026-10-12 17:29:04 +04:00
2026-07-23 02:54:56 -04:00
2026-07-26 21:12:14 -04:00
2026-07-31 17:41:14 -04:00
2026-10-14 18:35:56 +04:00
2026-10-01 03:31:20 +04:00
2026-10-05 14:01:02 +04:00
2026-10-14 23:21:22 +04:00
2026-10-14 23:21:22 +04:00
2026-07-26 23:09:22 -04:00
2026-10-10 23:18:09 +04:00
2026-10-09 18:37:55 +04:00
2026-03-17 17:58:01 -05:00
2026-08-24 18:29:36 -04:00
2026-10-14 18:11:14 +04:00
2026-10-11 00:55:58 +04:00
2026-10-13 19:10:21 +04:00
2026-10-10 23:18:09 +04:00
2026-10-14 23:21:22 +04:00
2026-10-13 20:04:28 +04:00
2026-09-15 22:47:03 -04:00
2026-10-11 15:55:57 +04:00