[GH-ISSUE #7114] Tool indicator is always yellow/amber #14613

Closed
opened 2026-04-19 20:56:05 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @tkg61 on GitHub (Nov 20, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7114

Bug Report

Installation Method

Helm

Environment

  • Open WebUI Version: 0.4.1

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

When a tool is used, the indicator will turn green as seen in this screenshot:

https://github.com/open-webui/open-webui/discussions/7096#discussioncomment-11323341

Actual Behavior:

Tool stays yellow/amber even when used

Description

Bug Summary:
Tool usage does not show a green indicator when used

Reproduction Details

Steps to Reproduce:
Enable the example tool that comes with openwebui that displays the current time.
Use the tool and ask what time it is
The indicator will not turn green even though the tool is used

Logs and Screenshots

Browser Console Logs:
No errors in browser

Docker Container Logs:

INFO  [open_webui.main] tools={'get_current_date': {'toolkit_id': 'get_current_time', 'callable': <function apply_extra_params_to_tool_function.<locals>.new_function at 0x7f1e237827a0>, 'spec': {'name': 'get_current_date', 'description': 'Get the current date.', 'parameters': {'type': 'object', 'properties': {}, 'required': []}}, 'pydantic_model': <class 'open_webui.utils.schemas.get_current_date'>, 'file_handler': False, 'citation': False}, 'get_current_time': {'toolkit_id': 'get_current_time', 'callable': <function apply_extra_params_to_tool_function.<locals>.new_function at 0x7f1e25be4680>, 'spec': {'name': 'get_current_time', 'description': 'Get the current time.', 'parameters': {'type': 'object', 'properties': {}, 'required': []}}, 'pydantic_model': <class 'open_webui.utils.schemas.get_current_time'>, 'file_handler': False, 'citation': False}}
INFO  [open_webui.main] tools_function_calling_prompt='Available Tools: [{"name": "get_current_date", "description": "Get the current date.", "parameters": {"type": "object", "properties": {}, "required": []}}, {"name": "get_current_time", "description": "Get the current time.", "parameters": {"type": "object", "properties": {}, "required": []}}]\nReturn an empty string if no tools match the query. If a function tool matches, construct and return a JSON object in the format {"name": "functionName", "parameters": {"requiredFunctionParamKey": "requiredFunctionParamValue"}} using the appropriate tool and its parameters. Only return the object and limit the response to the JSON object without additional text.'
INFO  [open_webui.apps.openai.main] get_all_models()
DEBUG [open_webui.main] content='{"name": "get_current_date", "parameters": {}}'
DEBUG [open_webui.main] tool_contexts: ["Today's date is Wednesday, November 20, 2024"]

Screenshots/Screen Recordings (if applicable):
image

Additional Information

i have tried other tools as well and they are all amber/yellow. Haven't found any docs on this indicator besides the release notes and the screenshot so hopefully this is actually a bug :D

thanks!

Originally created by @tkg61 on GitHub (Nov 20, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/7114 # Bug Report ## Installation Method Helm ## Environment - **Open WebUI Version:** 0.4.1 **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I am on the latest version of both Open WebUI and Ollama. - [X] I have included the browser console logs. - [X] I have included the Docker container logs. - [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: When a tool is used, the indicator will turn green as seen in this screenshot: https://github.com/open-webui/open-webui/discussions/7096#discussioncomment-11323341 ## Actual Behavior: Tool stays yellow/amber even when used ## Description **Bug Summary:** Tool usage does not show a green indicator when used ## Reproduction Details **Steps to Reproduce:** Enable the example tool that comes with openwebui that displays the current time. Use the tool and ask what time it is The indicator will not turn green even though the tool is used ## Logs and Screenshots **Browser Console Logs:** No errors in browser **Docker Container Logs:** ``` INFO [open_webui.main] tools={'get_current_date': {'toolkit_id': 'get_current_time', 'callable': <function apply_extra_params_to_tool_function.<locals>.new_function at 0x7f1e237827a0>, 'spec': {'name': 'get_current_date', 'description': 'Get the current date.', 'parameters': {'type': 'object', 'properties': {}, 'required': []}}, 'pydantic_model': <class 'open_webui.utils.schemas.get_current_date'>, 'file_handler': False, 'citation': False}, 'get_current_time': {'toolkit_id': 'get_current_time', 'callable': <function apply_extra_params_to_tool_function.<locals>.new_function at 0x7f1e25be4680>, 'spec': {'name': 'get_current_time', 'description': 'Get the current time.', 'parameters': {'type': 'object', 'properties': {}, 'required': []}}, 'pydantic_model': <class 'open_webui.utils.schemas.get_current_time'>, 'file_handler': False, 'citation': False}} INFO [open_webui.main] tools_function_calling_prompt='Available Tools: [{"name": "get_current_date", "description": "Get the current date.", "parameters": {"type": "object", "properties": {}, "required": []}}, {"name": "get_current_time", "description": "Get the current time.", "parameters": {"type": "object", "properties": {}, "required": []}}]\nReturn an empty string if no tools match the query. If a function tool matches, construct and return a JSON object in the format {"name": "functionName", "parameters": {"requiredFunctionParamKey": "requiredFunctionParamValue"}} using the appropriate tool and its parameters. Only return the object and limit the response to the JSON object without additional text.' INFO [open_webui.apps.openai.main] get_all_models() DEBUG [open_webui.main] content='{"name": "get_current_date", "parameters": {}}' DEBUG [open_webui.main] tool_contexts: ["Today's date is Wednesday, November 20, 2024"] ``` **Screenshots/Screen Recordings (if applicable):** ![image](https://github.com/user-attachments/assets/71afeca3-0886-4e65-a909-129a0b8943a5) ## Additional Information i have tried other tools as well and they are all amber/yellow. Haven't found any docs on this indicator besides the release notes and the screenshot so hopefully this is actually a bug :D thanks!
Author
Owner

@tjbck commented on GitHub (Nov 20, 2024):

Colour doesn't mean anything here 😅 Tools are indicated with yellow and web search is indicated with green. Hope that helps!

<!-- gh-comment-id:2489309208 --> @tjbck commented on GitHub (Nov 20, 2024): Colour doesn't mean anything here 😅 Tools are indicated with yellow and web search is indicated with green. Hope that helps!
Author
Owner

@tkg61 commented on GitHub (Nov 20, 2024):

Ahh ok thanks! We will add that to our internal docs so folks don't think it "could have been used but wasn't"... though that would be a cool feature where you have 3 tools available and the one that is used turns green vs yellow....

<!-- gh-comment-id:2489318278 --> @tkg61 commented on GitHub (Nov 20, 2024): Ahh ok thanks! We will add that to our internal docs so folks don't think it "could have been used but wasn't"... though that would be a cool feature where you have 3 tools available and the one that is used turns green vs yellow....
Author
Owner

@tjbck commented on GitHub (Nov 20, 2024):

Interesting idea, I'll definitely keep that suggestion in mind for future enhancements!

<!-- gh-comment-id:2489319721 --> @tjbck commented on GitHub (Nov 20, 2024): Interesting idea, I'll definitely keep that suggestion in mind for future enhancements!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#14613