Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: self.method should method in api_tool.py #11926

Merged
merged 1 commit into from
Dec 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/core/tools/tool/api_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def do_http_request(
)
return response
else:
raise ValueError(f"Invalid http method {self.method}")
raise ValueError(f"Invalid http method {method}")

def _convert_body_property_any_of(
self, property: dict[str, Any], value: Any, any_of: list[dict[str, Any]], max_recursive=10
Expand Down
Loading