From f64c0c87e8d1bfdbe060ea5e5a3dee24c0323657 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sun, 23 Aug 2026 15:14:43 -0400 Subject: [PATCH] refac --- backend/open_webui/utils/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/utils/tools.py b/backend/open_webui/utils/tools.py index f36633cd17..8c0046f0b1 100644 --- a/backend/open_webui/utils/tools.py +++ b/backend/open_webui/utils/tools.py @@ -960,7 +960,7 @@ def add_terminal_display_file_inline_param(spec: dict) -> dict: spec['description'] = ( f"{spec.get('description', '')} " "Set inline=true when the file should be shown inline in the chat message instead of opening the file viewer. " - "After calling display_file with inline=true, do not emit Markdown image or link syntax for that file." + "After display_file succeeds, do not display the same file again or emit Markdown for it." ).strip() parameters = spec.setdefault('parameters', {'type': 'object', 'properties': {}, 'required': []}) parameters.setdefault('type', 'object')