mirror of
https://github.com/open-webui/pipelines.git
synced 2026-11-05 01:37:24 +00:00
[GH-ISSUE #516] Can pipelines call tools? #237
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/pipelines#237
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @PlebeiusGaragicus on GitHub (May 11, 2025).
Original GitHub issue: https://github.com/open-webui/pipelines/issues/516
As I'm building my pipeline I noticed some odd behaviour... it was being called TWICE for every query I sent.
Then, I figured out that OUI will call my pipeline (if I have tools enabled) with a special system message in order to elicit a tool call from the pipe. If no tool call, then it will prompt again. Great - that makes sense.
But, then I realized that my agent was responding with a PROPER JSON tool call - but it wasn't being called.
Here is my pipeline and here is my FastAPI server
I'm using some special formatting that I saw in example code that will enable OUI to display thoughts, answers and event emitters. I'm not sure if that's what's the issue? Is my reply not being understood because it's following the special formatting? If so, this needs to be addressed.
The special formatting referring to something like this:
@serendibeats commented on GitHub (May 26, 2025):
+1.
I am using Azure OpenAI Pipeline as a model. I added a tool(MCPO) and enable it from chat prompt.
But the response from the chat doesn't seem to refer the response from tool.