fix: Parsing OpenAPI spec for external tools (#12518) (#12530)

pull/12540/head
lotsik 1 year ago committed by GitHub
parent e84bf35e2a
commit f230a9232e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -112,7 +112,7 @@ class ApiBasedToolSchemaParser:
llm_description=property.get("description", ""),
default=property.get("default", None),
placeholder=I18nObject(
en_US=parameter.get("description", ""), zh_Hans=parameter.get("description", "")
en_US=property.get("description", ""), zh_Hans=property.get("description", "")
),
)

Loading…
Cancel
Save