This commit is contained in:
Timothy Jaeryang Baek committed 2026-03-29 21:01:10 -05:00
1 parent 4777f4fa32
commit a06685a47b
8 files changed
+86 -36

No files matched your search

+3 -1
View File
@@ -454,7 +454,8 @@ export const executeToolServer = async (
url: string,
name: string,
params: Record<string, any>,
serverData: { openapi: any; info: any; specs: any }
serverData: { openapi: any; info: any; specs: any },
sessionId?: string
) => {
let error = null;
@@ -531,6 +532,7 @@ export const executeToolServer = async (
'Content-Type': 'application/json',
...(token && { authorization: `Bearer ${token}` })
};
if (sessionId) headers['X-Session-Id'] = sessionId;
const requestOptions: RequestInit = {
method: httpMethod.toUpperCase(),