Skip to content

Commit f230a92

Browse files
authored
fix: Parsing OpenAPI spec for external tools (#12518) (#12530)
1 parent e84bf35 commit f230a92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/core/tools/utils/parser.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def parse_openapi_to_tool_bundle(
112112
llm_description=property.get("description", ""),
113113
default=property.get("default", None),
114114
placeholder=I18nObject(
115-
en_US=parameter.get("description", ""), zh_Hans=parameter.get("description", "")
115+
en_US=property.get("description", ""), zh_Hans=property.get("description", "")
116116
),
117117
)
118118

0 commit comments

Comments
 (0)