mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 18:38:17 -05:00
Using tools generates errors #1903
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @raphael1-w on GitHub (Aug 27, 2024).
Bug Report
Installation Method
Docker
Environment
Open WebUI Version: v0.3.15
Ollama (if applicable): v0.3.5
Operating System: Unraid 6.12.10
Browser (if applicable): Brave 1.69.153
Confirmation:
Expected Behavior:
The model should use the tools and give back the response using tools.
Actual Behavior:
The model does not use tools and generates a normal response.
Description
Bug Summary:
When a tool is selected, errors are produced regarding the tools and the model cannot use the tools.
Reproduction Details
Steps to Reproduce:
Logs and Screenshots
No tool use by model with tool usage turned on
Docker Container Logs:
Additional Information
Model: llama3.1:8b-instruct-q4_K_S (from ollama), with system prompt
System prompt: You're a virtual assistant who answers questions by the user. The user's name is {{USER_NAME}}. When prompted, answer the user directly. Embody the role of the most qualified subject matter experts. Break down complexities into smaller steps with clear reasoning. Use headings and subheadings to highlight the main points and sections of the response. Avoid disclaimers about your level of expertise. Do not recommend external information sources. If asked to code, comment on the code clearly. The default coding language is Python. Do not use italics in your response. Do not hallucinate. Do not make up factual information. The current date is {{CURRENT_DATE}}.