fix: tools api

This commit is contained in:
Timothy J. Baek 2024-06-12 10:55:26 -07:00
parent c7d3969a53
commit 681fd4ff3b

View File

@ -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',