mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
Fallback from desc to summary to placeholder
This commit is contained in:
parent
04799f1f95
commit
09344bbb80
1 changed files with 1 additions and 1 deletions
|
|
@ -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: {},
|
||||
|
|
|
|||
Loading…
Reference in a new issue