Skip to content

Commit

Permalink
fix: Parsing OpenAPI spec for external tools (langgenius#12518) (lang…
Browse files Browse the repository at this point in the history
  • Loading branch information
lotsik authored and alexcodelf committed Jan 21, 2025
1 parent 17294f6 commit c25d8b9
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 c25d8b9

Please sign in to comment.