mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #8166] Tool-calling does not work consistently (compared to ChatGPT Actions) #15025
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 @mattia-intellilab on GitHub (Dec 28, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8166
Bug Report
Installation Method
We used docker in order to install openwebui on a Kubernetes cluster.
Environment
Open WebUI Version: v0.4.6
Operating System: Windows 11
Browser (if applicable): Google Chrome
Confirmation:
Expected Behavior:
When activating the chat_to_make Tool.
The Model should use it in order to send the chat-body to a make.com webhook.
Actual Behavior:
2/10 times the tool gets executed correctly and the data gets to the webhook.
Example where it worked:


Now this time, with a bigger chat-context, the tool does not get called and there is now new data received by the webhook.

Same here:

Description
This would be the tool-code:
`import os
import requests
from typing import Optional, Callable, Awaitable
from pydantic import BaseModel, Field
class Tools:
class Valves(BaseModel):
webhook_url: str = Field(
default="",
description="The URL of the make.com webhook to send chat-data to.",
)
`
Reproduction Details
Steps to Reproduce:
Any ideas how to fix this?