From 681fd4ff3b4b528ee6fbbbba5f74bbf26e19379a Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Wed, 12 Jun 2024 10:55:26 -0700 Subject: [PATCH] fix: tools api --- src/lib/apis/tools/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/apis/tools/index.ts b/src/lib/apis/tools/index.ts index 47a535cdf..9c620e7b5 100644 --- a/src/lib/apis/tools/index.ts +++ b/src/lib/apis/tools/index.ts @@ -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',