Skip to content

Commit

Permalink
fix: Parsing OpenAPI spec for external tools (langgenius#12518)
Browse files Browse the repository at this point in the history
  • Loading branch information
lotsik authored and Andrew B committed Jan 9, 2025
1 parent 1b940e7 commit d667adf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/core/tools/utils/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def parse_openapi_to_tool_bundle(
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", "")
),
)

Expand Down

0 comments on commit d667adf

Please sign in to comment.