Fallback from desc to summary to placeholder

This commit is contained in:
dan-sullivan 2025-04-05 14:18:14 +01:00 committed by GitHub
parent 04799f1f95
commit 09344bbb80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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