Skip to content

Commit

Permalink
fix: test run custom tool raise error (#12178)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjlarry authored Dec 28, 2024
1 parent 72ae414 commit ead4b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/services/tools/api_tools_manage_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def test_api_tool_preview(
"tenant_id": tenant_id,
}
)
result = tool.validate_credentials(credentials, parameters)
result = runtime_tool.validate_credentials(credentials, parameters)
except Exception as e:
return {"error": str(e)}

Expand Down

0 comments on commit ead4b34

Please sign in to comment.