mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-07 18:19:00 +00:00
fix(plus_api): add tools_metadata kwarg to crewai.plus_api.publish_tool
Mirrors the parameter origin/main added on crewai.cli.plus_api so the relocated crewai.plus_api stays in sync. Also fix a stale crewai_cli patch target in the lib/crewai plus_api test.
This commit is contained in:
@@ -210,7 +210,7 @@ class TestPlusAPI(unittest.TestCase):
|
||||
)
|
||||
self.assertEqual(response, mock_response)
|
||||
|
||||
@patch("crewai_cli.plus_api.PlusAPI._make_request")
|
||||
@patch("crewai.plus_api.PlusAPI._make_request")
|
||||
def test_publish_tool_with_tools_metadata(self, mock_make_request):
|
||||
mock_response = MagicMock()
|
||||
mock_make_request.return_value = mock_response
|
||||
|
||||
Reference in New Issue
Block a user