fix: renamed /api/execute to /api/function/execute

This commit is contained in:
Waleed Latif
2025-03-04 13:48:27 -08:00
parent 7d50d914fd
commit 74180549b1
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ export const functionExecuteTool: ToolConfig<CodeExecutionInput, CodeExecutionOu
},
request: {
url: '/api/execute',
url: '/api/function/execute',
method: 'POST',
headers: () => ({
'Content-Type': 'application/json',
+1 -1
View File
@@ -146,7 +146,7 @@ function getCustomTool(customToolId: string): ToolConfig | undefined {
// Request configuration - for custom tools we'll use the execute endpoint
request: {
url: '/api/execute',
url: '/api/function/execute',
method: 'POST',
headers: () => ({ 'Content-Type': 'application/json' }),
body: (params: Record<string, any>) => {