"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "f753db603bb6b08aa002df95db988d124f5dfed5"
Commit 681fd4ff authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: tools api

parent c7d3969a
...@@ -34,7 +34,7 @@ export const createNewTool = async (token: string, tool: object) => { ...@@ -34,7 +34,7 @@ export const createNewTool = async (token: string, tool: object) => {
export const getTools = async (token: string = '') => { export const getTools = async (token: string = '') => {
let error = null; let error = null;
const res = await fetch(`${WEBUI_API_BASE_URL}/tools`, { const res = await fetch(`${WEBUI_API_BASE_URL}/tools/`, {
method: 'GET', method: 'GET',
headers: { headers: {
Accept: 'application/json', Accept: 'application/json',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment