mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 00:58:30 +00:00
* removed hyphen in co-workers * Fix issue with AgentTool agent selection. The LLM included double quotes in the agent name which messed up the string comparison. Added additional types. Cleaned up error messaging. * Remove duplicate import * Improve explanation * Revert poetry.lock changes * Fix missing line in poetry.lock --------- Co-authored-by: madmag77 <goncharov.artemv@gmail.com>
This commit is contained in:
committed by
GitHub
parent
ff80f57816
commit
72e20a5dbb
@@ -64,19 +64,19 @@ interactions:
|
||||
ONLY have access to the following tools, and should NEVER make up tools that
|
||||
are not listed here:\n\nmultiplier: multiplier(first_number: int, second_number:
|
||||
int) -> float - Useful for when you need to multiply two numbers together.\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
|
||||
work to coworker: Delegate work to coworker(coworker: str, task: str, context:
|
||||
str) - Delegate a specific task to one of the following coworkers: [''Researcher'']\nThe
|
||||
input to this tool should be the coworker, 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 to one of the following co-workers:
|
||||
them.\nAsk question to coworker: Ask question to coworker(coworker: str, question:
|
||||
str, context: str) - Ask a specific question to one of the following coworkers:
|
||||
[''Researcher'']\nThe input to this tool should be the coworker, 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.\n\nUse the following format:\n\nThought:
|
||||
you should always think about what to do\nAction: the action to take, only one
|
||||
name of [multiplier, Delegate work to co-worker, Ask question to co-worker],
|
||||
name of [multiplier, Delegate work to coworker, Ask question to coworker],
|
||||
just the name, exactly as it''s written.\nAction Input: the input to the action,
|
||||
just a simple a python dictionary using \" to wrap keys and values.\nObservation:
|
||||
the result of the action\n\nOnce all necessary information is gathered:\n\nThought:
|
||||
@@ -439,19 +439,19 @@ interactions:
|
||||
ONLY have access to the following tools, and should NEVER make up tools that
|
||||
are not listed here:\n\nmultiplier: multiplier(first_number: int, second_number:
|
||||
int) -> float - Useful for when you need to multiply two numbers together.\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
|
||||
work to coworker: Delegate work to coworker(coworker: str, task: str, context:
|
||||
str) - Delegate a specific task to one of the following coworkers: [''Researcher'']\nThe
|
||||
input to this tool should be the coworker, 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 to one of the following co-workers:
|
||||
them.\nAsk question to coworker: Ask question to coworker(coworker: str, question:
|
||||
str, context: str) - Ask a specific question to one of the following coworkers:
|
||||
[''Researcher'']\nThe input to this tool should be the coworker, 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.\n\nUse the following format:\n\nThought:
|
||||
you should always think about what to do\nAction: the action to take, only one
|
||||
name of [multiplier, Delegate work to co-worker, Ask question to co-worker],
|
||||
name of [multiplier, Delegate work to coworker, Ask question to coworker],
|
||||
just the name, exactly as it''s written.\nAction Input: the input to the action,
|
||||
just a simple a python dictionary using \" to wrap keys and values.\nObservation:
|
||||
the result of the action\n\nOnce all necessary information is gathered:\n\nThought:
|
||||
@@ -463,7 +463,7 @@ interactions:
|
||||
Answer, your job depends on it!\n\nThought: \nThe task at hand is to find the
|
||||
product of 2 and 6. Since I have the tool ''multiplier'' which multiplies two
|
||||
numbers, I can directly use it without needing to delegate or ask questions
|
||||
to a co-worker.\n\nAction: multiplier\nAction Input: {\"first_number\": 2, \"second_number\":
|
||||
to a coworker.\n\nAction: multiplier\nAction Input: {\"first_number\": 2, \"second_number\":
|
||||
6}\n\nObservation: 12\n"}], "model": "gpt-4", "n": 1, "stop": ["\nObservation"],
|
||||
"stream": true, "temperature": 0.7}'
|
||||
headers:
|
||||
|
||||
Reference in New Issue
Block a user