mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
fix: tools api
This commit is contained in:
parent
c7d3969a53
commit
681fd4ff3b
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ export const createNewTool = async (token: string, tool: object) => {
|
|||
export const getTools = async (token: string = '') => {
|
||||
let error = null;
|
||||
|
||||
const res = await fetch(`${WEBUI_API_BASE_URL}/tools`, {
|
||||
const res = await fetch(`${WEBUI_API_BASE_URL}/tools/`, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
Accept: 'application/json',
|
||||
|
|
|
|||
Loading…
Reference in a new issue