mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-22 09:31:58 -05:00
[GH-ISSUE #4705] the model is not using the tool, anything I should do differently? #13706
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 @legaltextai on GitHub (Aug 18, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/4705
basically, the tool is an api call to search for relevant cases , it's enabled and added to the model settings. also the prompt says to use the tool and when but it never does. anything i should do different?
import requests
import urllib3
Disable SSL warnings
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
class Tools:
def init(self):
self.search_api_url = "url_to_api/endpoint"
when added as a pipeline , it works great
thank you