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

This commit is contained in:
lotsik 2025-01-09 10:30:43 +03:00 committed by GitHub
parent e84bf35e2a
commit f230a9232e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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", "")
),
)