From 7a4d3dd4963362af184f2a82b2ec95939c5ef2ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=8Dtalo=20Vieira?= Date: Mon, 13 May 2024 02:19:06 -0300 Subject: [PATCH] fix typo exectue -> execute (#607) --- src/crewai/translations/en.json | 2 +- ...cs_are_captured_for_hierarchical_process.yaml | 4 ++-- ...ent_use_specific_tasks_output_as_context.yaml | 16 ++++++++-------- .../test_cache_hitting_between_agents.yaml | 4 ++-- .../test_crew_with_delegating_agents.yaml | 4 ++-- tests/cassettes/test_hierarchical_process.yaml | 6 +++--- ...ent_delegations_for_hierarchical_process.yaml | 6 +++--- tests/cassettes/test_increment_tool_errors.yaml | 4 ++-- 8 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/crewai/translations/en.json b/src/crewai/translations/en.json index fd370254b..225470dc5 100644 --- a/src/crewai/translations/en.json +++ b/src/crewai/translations/en.json @@ -29,7 +29,7 @@ "tool_usage_exception": "I encountered an error while trying to use the tool. This was the error: {error}.\n Tool {tool} accepts these inputs: {tool_inputs}" }, "tools": { - "delegate_work": "Delegate a specific task to one of the following co-workers: {coworkers}\nThe input to this tool should be the co-worker, the task you want them to do, and ALL necessary context to exectue the task, they know nothing about the task, so share absolute everything you know, don't reference things but instead explain them.", + "delegate_work": "Delegate a specific task to one of the following co-workers: {coworkers}\nThe input to this tool should be the co-worker, the task you want them to do, and ALL necessary context to execute the task, they know nothing about the task, so share absolute everything you know, don't reference things but instead explain them.", "ask_question": "Ask a specific question to one of the following co-workers: {coworkers}\nThe input to this tool should be the co-worker, the question you have for them, and ALL necessary context to ask the question properly, they know nothing about the question, so share absolute everything you know, don't reference things but instead explain them." } } diff --git a/tests/cassettes/test_agent_usage_metrics_are_captured_for_hierarchical_process.yaml b/tests/cassettes/test_agent_usage_metrics_are_captured_for_hierarchical_process.yaml index cc945dcdf..62ba83f65 100644 --- a/tests/cassettes/test_agent_usage_metrics_are_captured_for_hierarchical_process.yaml +++ b/tests/cassettes/test_agent_usage_metrics_are_captured_for_hierarchical_process.yaml @@ -11,7 +11,7 @@ interactions: are not listed here:\n\nDelegate work to co-worker: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [Researcher]\nThe input to this tool should be the coworker, the - task you want them to do, and ALL necessary context to exectue the task, they + task you want them to do, and ALL necessary context to execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question @@ -1030,7 +1030,7 @@ interactions: are not listed here:\n\nDelegate work to co-worker: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [Researcher]\nThe input to this tool should be the coworker, the - task you want them to do, and ALL necessary context to exectue the task, they + task you want them to do, and ALL necessary context to execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question diff --git a/tests/cassettes/test_agent_use_specific_tasks_output_as_context.yaml b/tests/cassettes/test_agent_use_specific_tasks_output_as_context.yaml index 40480848c..dc9788347 100644 --- a/tests/cassettes/test_agent_use_specific_tasks_output_as_context.yaml +++ b/tests/cassettes/test_agent_use_specific_tasks_output_as_context.yaml @@ -6,7 +6,7 @@ interactions: co-worker: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''test role2'']\nThe input to this tool should be the coworker, the task you want them to do, and - ALL necessary context to exectue the task, they know nothing about the task, + ALL necessary context to execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question to one of the following co-workers: @@ -326,7 +326,7 @@ interactions: co-worker: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''test role2'']\nThe input to this tool should be the coworker, the task you want them to do, and - ALL necessary context to exectue the task, they know nothing about the task, + ALL necessary context to execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question to one of the following co-workers: @@ -351,7 +351,7 @@ interactions: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''test role2'']\nThe input to this tool should be the coworker, the task you want them to do, and ALL necessary - context to exectue the task, they know nothing about the task, so share absolute + context to execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question to one of the following co-workers: @@ -1027,7 +1027,7 @@ interactions: co-worker: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''test role2'']\nThe input to this tool should be the coworker, the task you want them to do, and - ALL necessary context to exectue the task, they know nothing about the task, + ALL necessary context to execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question to one of the following co-workers: @@ -1052,7 +1052,7 @@ interactions: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''test role2'']\nThe input to this tool should be the coworker, the task you want them to do, and ALL necessary - context to exectue the task, they know nothing about the task, so share absolute + context to execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question to one of the following co-workers: @@ -1236,7 +1236,7 @@ interactions: co-worker: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''test role2'']\nThe input to this tool should be the coworker, the task you want them to do, and - ALL necessary context to exectue the task, they know nothing about the task, + ALL necessary context to execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question to one of the following co-workers: @@ -1485,7 +1485,7 @@ interactions: co-worker: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''test role'']\nThe input to this tool should be the coworker, the task you want them to do, and - ALL necessary context to exectue the task, they know nothing about the task, + ALL necessary context to execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question to one of the following co-workers: @@ -2490,7 +2490,7 @@ interactions: co-worker: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''test role'']\nThe input to this tool should be the coworker, the task you want them to do, and - ALL necessary context to exectue the task, they know nothing about the task, + ALL necessary context to execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question to one of the following co-workers: diff --git a/tests/cassettes/test_cache_hitting_between_agents.yaml b/tests/cassettes/test_cache_hitting_between_agents.yaml index ea7902f7e..f915ab7fa 100644 --- a/tests/cassettes/test_cache_hitting_between_agents.yaml +++ b/tests/cassettes/test_cache_hitting_between_agents.yaml @@ -67,7 +67,7 @@ interactions: work to co-worker: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''Researcher'']\nThe input to this tool should be the coworker, the task you want them to do, and - ALL necessary context to exectue the task, they know nothing about the task, + ALL necessary context to execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question to one of the following co-workers: @@ -442,7 +442,7 @@ interactions: work to co-worker: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''Researcher'']\nThe input to this tool should be the coworker, the task you want them to do, and - ALL necessary context to exectue the task, they know nothing about the task, + ALL necessary context to execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question to one of the following co-workers: diff --git a/tests/cassettes/test_crew_with_delegating_agents.yaml b/tests/cassettes/test_crew_with_delegating_agents.yaml index f5fd1c610..e7f5b9bef 100644 --- a/tests/cassettes/test_crew_with_delegating_agents.yaml +++ b/tests/cassettes/test_crew_with_delegating_agents.yaml @@ -86,7 +86,7 @@ interactions: are not listed here:\n\nDelegate work to co-worker: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''Senior Writer'']\nThe input to this tool should be the coworker, - the task you want them to do, and ALL necessary context to exectue the task, + the task you want them to do, and ALL necessary context to execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question @@ -1716,7 +1716,7 @@ interactions: are not listed here:\n\nDelegate work to co-worker: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''Senior Writer'']\nThe input to this tool should be the coworker, - the task you want them to do, and ALL necessary context to exectue the task, + the task you want them to do, and ALL necessary context to execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question diff --git a/tests/cassettes/test_hierarchical_process.yaml b/tests/cassettes/test_hierarchical_process.yaml index 222db1953..cdf77bf45 100644 --- a/tests/cassettes/test_hierarchical_process.yaml +++ b/tests/cassettes/test_hierarchical_process.yaml @@ -67,7 +67,7 @@ interactions: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''Researcher'', ''Senior Writer'']\nThe input to this tool should be the coworker, the task you want them to do, and ALL necessary context to - exectue the task, they know nothing about the task, so share absolute everything + execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question to one of the following co-workers: [''Researcher'', @@ -2448,7 +2448,7 @@ interactions: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''Researcher'', ''Senior Writer'']\nThe input to this tool should be the coworker, the task you want them to do, and ALL necessary context to - exectue the task, they know nothing about the task, so share absolute everything + execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question to one of the following co-workers: [''Researcher'', @@ -5367,7 +5367,7 @@ interactions: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''Researcher'', ''Senior Writer'']\nThe input to this tool should be the coworker, the task you want them to do, and ALL necessary context to - exectue the task, they know nothing about the task, so share absolute everything + execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question to one of the following co-workers: [''Researcher'', diff --git a/tests/cassettes/test_increment_delegations_for_hierarchical_process.yaml b/tests/cassettes/test_increment_delegations_for_hierarchical_process.yaml index e03ff1dcc..22a564347 100644 --- a/tests/cassettes/test_increment_delegations_for_hierarchical_process.yaml +++ b/tests/cassettes/test_increment_delegations_for_hierarchical_process.yaml @@ -60,7 +60,7 @@ interactions: are not listed here:\n\nDelegate work to co-worker: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''Scorer'']\nThe input to this tool should be the coworker, the - task you want them to do, and ALL necessary context to exectue the task, they + task you want them to do, and ALL necessary context to execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question @@ -2273,7 +2273,7 @@ interactions: are not listed here:\n\nDelegate work to co-worker: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''Scorer'']\nThe input to this tool should be the coworker, the - task you want them to do, and ALL necessary context to exectue the task, they + task you want them to do, and ALL necessary context to execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question @@ -3961,7 +3961,7 @@ interactions: are not listed here:\n\nDelegate work to co-worker: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''Scorer'']\nThe input to this tool should be the coworker, the - task you want them to do, and ALL necessary context to exectue the task, they + task you want them to do, and ALL necessary context to execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question diff --git a/tests/cassettes/test_increment_tool_errors.yaml b/tests/cassettes/test_increment_tool_errors.yaml index f0d962ed3..4e0018f02 100644 --- a/tests/cassettes/test_increment_tool_errors.yaml +++ b/tests/cassettes/test_increment_tool_errors.yaml @@ -60,7 +60,7 @@ interactions: are not listed here:\n\nDelegate work to co-worker: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''Scorer'']\nThe input to this tool should be the coworker, the - task you want them to do, and ALL necessary context to exectue the task, they + task you want them to do, and ALL necessary context to execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question @@ -3200,7 +3200,7 @@ interactions: are not listed here:\n\nDelegate work to co-worker: Delegate work to co-worker(coworker: str, task: str, context: str) - Delegate a specific task to one of the following co-workers: [''Scorer'']\nThe input to this tool should be the coworker, the - task you want them to do, and ALL necessary context to exectue the task, they + task you want them to do, and ALL necessary context to execute the task, they know nothing about the task, so share absolute everything you know, don''t reference things but instead explain them.\nAsk question to co-worker: Ask question to co-worker(coworker: str, question: str, context: str) - Ask a specific question