1
0
Эх сурвалжийг харах

Fallback from desc to summary to placeholder

dan-sullivan 6 сар өмнө
parent
commit
09344bbb80

+ 1 - 1
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: {},