mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-04-22 21:59:55 +08:00
fix: self.method should method in api_tool.py (#11926)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
parent
e22cc28114
commit
9ee9e9c6de
@ -210,7 +210,7 @@ class ApiTool(Tool):
|
||||
)
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user