From 09344bbb804ea34e76c64b547e847e46cd8e5774 Mon Sep 17 00:00:00 2001 From: dan-sullivan Date: Sat, 5 Apr 2025 14:18:14 +0100 Subject: [PATCH] Fallback from desc to summary to placeholder --- src/lib/utils/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/utils/index.ts b/src/lib/utils/index.ts index 927f62ab3..17726a7e9 100644 --- a/src/lib/utils/index.ts +++ b/src/lib/utils/index.ts @@ -1128,7 +1128,7 @@ export const convertOpenApiToToolPayload = (openApiSpec) => { const tool = { type: 'function', name: operation.operationId, - description: operation.summary || 'No description available.', + description: operation.description || operation.summary || 'No description available.', parameters: { type: 'object', properties: {},