Files
crewAI/tests/cassettes/test_crew_with_delegating_agents.yaml
2024-09-18 04:17:41 -03:00

943 lines
48 KiB
YAML

interactions:
- request:
body: '{"messages": [{"role": "system", "content": "You are CEO. You''re an long
time CEO of a content creation agency with a Senior Writer on the team. You''re
now working on a new project and want to make sure the content produced is amazing.\nYour
personal goal is: Make sure the writers in your company produce amazing content.\nYou
ONLY have access to the following tools, and should NEVER make up tools that
are not listed here:\n\nTool Name: Delegate work to coworker(task: str, context:
str, coworker: Optional[str] = None, **kwargs)\nTool Description: Delegate a
specific task to one of the following coworkers: Senior Writer\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.\nTool
Arguments: {''task'': {''title'': ''Task'', ''type'': ''string''}, ''context'':
{''title'': ''Context'', ''type'': ''string''}, ''coworker'': {''title'': ''Coworker'',
''type'': ''string''}, ''kwargs'': {''title'': ''Kwargs'', ''type'': ''object''}}\nTool
Name: Ask question to coworker(question: str, context: str, coworker: Optional[str]
= None, **kwargs)\nTool Description: Ask a specific question to one of the following
coworkers: Senior Writer\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.\nTool Arguments: {''question'':
{''title'': ''Question'', ''type'': ''string''}, ''context'': {''title'': ''Context'',
''type'': ''string''}, ''coworker'': {''title'': ''Coworker'', ''type'': ''string''},
''kwargs'': {''title'': ''Kwargs'', ''type'': ''object''}}\n\nUse the following
format:\n\nThought: you should always think about what to do\nAction: the action
to take, only one name of [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 python dictionary, enclosed in curly braces, using \" to wrap
keys and values.\nObservation: the result of the action\n\nOnce all necessary
information is gathered:\n\nThought: I now know the final answer\nFinal Answer:
the final answer to the original input question\n"}, {"role": "user", "content":
"\nCurrent Task: Produce and amazing 1 paragraph draft of an article about AI
Agents.\n\nThis is the expect criteria for your final answer: A 4 paragraph
article about AI.\nyou MUST return the actual complete content as the final
answer, not a summary.\n\nBegin! This is VERY important to you, use the tools
available and give your best Final Answer, your job depends on it!\n\nThought:"}],
"model": "gpt-4o", "stop": ["\nObservation:"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '2790'
content-type:
- application/json
cookie:
- __cf_bm=.8.5x0rqghNdtUCxfmwblfhuXiKyPm_cRq.NIa0heL0-1726642369-1.0.1.1-VbsAGqjOt45ZD50K2QW2oZrByLLIh6w8K4nAkLthTbXgU5qTgdf0mhvFId8Q2F3DcHUw9E72lVIZEN.YVlYINQ;
_cfuvid=o5s1Ux898x0eFNtzUCnG996iqyX3LgXDXq99C5oqnVE-1726642369248-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.46.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.46.0
x-stainless-raw-response:
- 'true'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.11.7
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A8iuwPb4PY4mqK3pao44fTb6Jls4T\",\n \"object\":
\"chat.completion\",\n \"created\": 1726642650,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: To ensure the content meets
our standards, I should first delegate the initial task of drafting a 1-paragraph
article about AI Agents to the Senior Writer. Once they provide the draft, I
can review and decide on further steps.\\n\\nAction: Delegate work to coworker\\nAction
Input: {\\\"task\\\": \\\"Produce an amazing 1-paragraph draft of an article
about AI Agents.\\\", \\\"context\\\": \\\"We are working on a new project focusing
on the impact and potential of AI Agents. The content needs to be engaging,
insightful, and informative, drawing on current trends, real-world applications,
and future possibilities. It should captivate readers and demonstrate the sophistication
and utility of AI Agents in various sectors.\\\", \\\"coworker\\\": \\\"Senior
Writer\\\"}\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
608,\n \"completion_tokens\": 151,\n \"total_tokens\": 759,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_a5d11b2ef2\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c4f71345e36a67a-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Wed, 18 Sep 2024 06:57:32 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '1637'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '30000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999324'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 1ms
x-request-id:
- req_d65cb57b24d8a4b684e751dc971c0e0b
http_version: HTTP/1.1
status_code: 200
- request:
body: !!binary |
CrMOCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSig4KEgoQY3Jld2FpLnRl
bGVtZXRyeRKQAgoQNNy7KeDASYHVCaL7h4kONBIIdvbHRu9tP4MqDlRhc2sgRXhlY3V0aW9uMAE5
6PfxUlFE9hdBYJfHh1dE9hdKLgoIY3Jld19rZXkSIgogZTNmZGEwZjMxMTBmZTgwYjE4OTQ3YzAx
NDcxNDMwYTRKMQoHY3Jld19pZBImCiQxNDg4MTAyZS02N2Y5LTRkYzQtYWE4YS1mYzU4Njk5NDNl
ZTJKLgoIdGFza19rZXkSIgogNWZhNjVjMD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ZGRhZmIwMTE3NjQ1egIYAYUBAAEAAA==
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '1846'
Content-Type:
- application/x-protobuf
User-Agent:
- OTel-OTLP-Exporter-Python/1.27.0
method: POST
uri: https://telemetry.crewai.com:4319/v1/traces
response:
body:
string: "\n\0"
headers:
Content-Length:
- '2'
Content-Type:
- application/x-protobuf
Date:
- Wed, 18 Sep 2024 06:57:33 GMT
status:
code: 200
message: OK
- request:
body: '{"messages": [{"role": "system", "content": "You are Senior Writer. You''re
a senior writer, specialized in technology, software engineering, AI and startups.
You work as a freelancer and are now working on writing content for a new customer.\nYour
personal goal is: Write the best content about AI and AI agents.\nTo give my
best complete final answer to the task use the exact following format:\n\nThought:
I now can give a great answer\nFinal Answer: Your final answer must be the great
and the most complete as possible, it must be outcome described.\n\nI MUST use
these formats, my job depends on it!"}, {"role": "user", "content": "\nCurrent
Task: Produce an amazing 1-paragraph draft of an article about AI Agents.\n\nThis
is the expect criteria for your final answer: Your best answer to your coworker
asking you this, accounting for the context shared.\nyou MUST return the actual
complete content as the final answer, not a summary.\n\nThis is the context
you''re working with:\nWe are working on a new project focusing on the impact
and potential of AI Agents. The content needs to be engaging, insightful, and
informative, drawing on current trends, real-world applications, and future
possibilities. It should captivate readers and demonstrate the sophistication
and utility of AI Agents in various sectors.\n\nBegin! This is VERY important
to you, use the tools available and give your best Final Answer, your job depends
on it!\n\nThought:"}], "model": "gpt-4o", "stop": ["\nObservation:"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1503'
content-type:
- application/json
cookie:
- __cf_bm=.8.5x0rqghNdtUCxfmwblfhuXiKyPm_cRq.NIa0heL0-1726642369-1.0.1.1-VbsAGqjOt45ZD50K2QW2oZrByLLIh6w8K4nAkLthTbXgU5qTgdf0mhvFId8Q2F3DcHUw9E72lVIZEN.YVlYINQ;
_cfuvid=o5s1Ux898x0eFNtzUCnG996iqyX3LgXDXq99C5oqnVE-1726642369248-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.46.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.46.0
x-stainless-raw-response:
- 'true'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.11.7
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A8iuyPuE9MYaNIdL8nyR1uY7pq0vR\",\n \"object\":
\"chat.completion\",\n \"created\": 1726642652,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"I now can give a great answer.\\n\\nFinal
Answer: AI Agents are rapidly transforming the landscape of technology and innovation,
bridging the gap between human capability and machine efficiency. These sophisticated
systems, powered by advanced algorithms and machine learning, are revolutionizing
industries from healthcare to finance by automating complex tasks, providing
real-time insights, and enhancing decision-making processes. In healthcare,
AI Agents are analyzing patient data to predict potential health issues, thereby
enabling preventative care. Meanwhile, in finance, they are optimizing trading
strategies and detecting fraudulent activities with unprecedented accuracy.
As we look towards the future, the potential of AI Agents continues to expand,
promising to drive significant advancements in personalized education, smart
cities, and autonomous vehicles. The integration of AI Agents into everyday
applications not only boosts productivity but also paves the way for a smarter,
more connected world.\",\n \"refusal\": null\n },\n \"logprobs\":
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
283,\n \"completion_tokens\": 166,\n \"total_tokens\": 449,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_a5d11b2ef2\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c4f71414bbfa67a-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Wed, 18 Sep 2024 06:57:34 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '1770'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '30000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999643'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_07d1a06ac4a3f85221765975f42d07a0
http_version: HTTP/1.1
status_code: 200
- request:
body: '{"messages": [{"role": "system", "content": "You are CEO. You''re an long
time CEO of a content creation agency with a Senior Writer on the team. You''re
now working on a new project and want to make sure the content produced is amazing.\nYour
personal goal is: Make sure the writers in your company produce amazing content.\nYou
ONLY have access to the following tools, and should NEVER make up tools that
are not listed here:\n\nTool Name: Delegate work to coworker(task: str, context:
str, coworker: Optional[str] = None, **kwargs)\nTool Description: Delegate a
specific task to one of the following coworkers: Senior Writer\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.\nTool
Arguments: {''task'': {''title'': ''Task'', ''type'': ''string''}, ''context'':
{''title'': ''Context'', ''type'': ''string''}, ''coworker'': {''title'': ''Coworker'',
''type'': ''string''}, ''kwargs'': {''title'': ''Kwargs'', ''type'': ''object''}}\nTool
Name: Ask question to coworker(question: str, context: str, coworker: Optional[str]
= None, **kwargs)\nTool Description: Ask a specific question to one of the following
coworkers: Senior Writer\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.\nTool Arguments: {''question'':
{''title'': ''Question'', ''type'': ''string''}, ''context'': {''title'': ''Context'',
''type'': ''string''}, ''coworker'': {''title'': ''Coworker'', ''type'': ''string''},
''kwargs'': {''title'': ''Kwargs'', ''type'': ''object''}}\n\nUse the following
format:\n\nThought: you should always think about what to do\nAction: the action
to take, only one name of [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 python dictionary, enclosed in curly braces, using \" to wrap
keys and values.\nObservation: the result of the action\n\nOnce all necessary
information is gathered:\n\nThought: I now know the final answer\nFinal Answer:
the final answer to the original input question\n"}, {"role": "user", "content":
"\nCurrent Task: Produce and amazing 1 paragraph draft of an article about AI
Agents.\n\nThis is the expect criteria for your final answer: A 4 paragraph
article about AI.\nyou MUST return the actual complete content as the final
answer, not a summary.\n\nBegin! This is VERY important to you, use the tools
available and give your best Final Answer, your job depends on it!\n\nThought:"},
{"role": "user", "content": "Thought: To ensure the content meets our standards,
I should first delegate the initial task of drafting a 1-paragraph article about
AI Agents to the Senior Writer. Once they provide the draft, I can review and
decide on further steps.\n\nAction: Delegate work to coworker\nAction Input:
{\"task\": \"Produce an amazing 1-paragraph draft of an article about AI Agents.\",
\"context\": \"We are working on a new project focusing on the impact and potential
of AI Agents. The content needs to be engaging, insightful, and informative,
drawing on current trends, real-world applications, and future possibilities.
It should captivate readers and demonstrate the sophistication and utility of
AI Agents in various sectors.\", \"coworker\": \"Senior Writer\"}\nObservation:
AI Agents are rapidly transforming the landscape of technology and innovation,
bridging the gap between human capability and machine efficiency. These sophisticated
systems, powered by advanced algorithms and machine learning, are revolutionizing
industries from healthcare to finance by automating complex tasks, providing
real-time insights, and enhancing decision-making processes. In healthcare,
AI Agents are analyzing patient data to predict potential health issues, thereby
enabling preventative care. Meanwhile, in finance, they are optimizing trading
strategies and detecting fraudulent activities with unprecedented accuracy.
As we look towards the future, the potential of AI Agents continues to expand,
promising to drive significant advancements in personalized education, smart
cities, and autonomous vehicles. The integration of AI Agents into everyday
applications not only boosts productivity but also paves the way for a smarter,
more connected world."}], "model": "gpt-4o", "stop": ["\nObservation:"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '4561'
content-type:
- application/json
cookie:
- __cf_bm=.8.5x0rqghNdtUCxfmwblfhuXiKyPm_cRq.NIa0heL0-1726642369-1.0.1.1-VbsAGqjOt45ZD50K2QW2oZrByLLIh6w8K4nAkLthTbXgU5qTgdf0mhvFId8Q2F3DcHUw9E72lVIZEN.YVlYINQ;
_cfuvid=o5s1Ux898x0eFNtzUCnG996iqyX3LgXDXq99C5oqnVE-1726642369248-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.46.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.46.0
x-stainless-raw-response:
- 'true'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.11.7
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A8iv0wSHtZV3vjFRdftgNgvmoT0fJ\",\n \"object\":
\"chat.completion\",\n \"created\": 1726642654,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: The Senior Writer has delivered
a comprehensive and engaging 1-paragraph draft. I can use this as a solid foundation
to expand it into a 4-paragraph article. Each paragraph should focus on a specific
aspect of AI Agents to provide depth and variety.\\n\\n1. Introduction to AI
Agents: Define AI Agents and their significance.\\n2. Real-world Applications:
Elaborate on specific industry impacts such as healthcare and finance.\\n3.
Future Potential: Discuss areas poised for transformation by AI Agents.\\n4.
Conclusion: Summarize the overall impact and future outlook of AI Agents.\\n\\nAction:
Delegate work to coworker\\nAction Input: {\\\"task\\\": \\\"Expand the 1-paragraph
draft into a full 4-paragraph article about AI Agents.\\\", \\\"context\\\":
\\\"The 1-paragraph draft provided explains the transformative nature of AI
Agents across various industries. For the full article: \\\\n1. Begin with an
introduction that defines AI Agents and discusses their significance.\\\\n2.
The second paragraph should elaborate on their real-world applications in industries
like healthcare and finance.\\\\n3. The third paragraph should explore the future
potential of AI Agents in other sectors, such as personalized education, smart
cities, and autonomous vehicles.\\\\n4. Conclude with a summary that encapsulates
the overall impact and future outlook of AI Agents, emphasizing their role in
creating a more connected world.\\\", \\\"coworker\\\": \\\"Senior Writer\\\"}\",\n
\ \"refusal\": null\n },\n \"logprobs\": null,\n \"finish_reason\":
\"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 920,\n \"completion_tokens\":
284,\n \"total_tokens\": 1204,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_a5d11b2ef2\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c4f714efa97a67a-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Wed, 18 Sep 2024 06:57:37 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '3023'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '30000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29998892'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 2ms
x-request-id:
- req_c2cefa1b31ba6625e61169250cc44c29
http_version: HTTP/1.1
status_code: 200
- request:
body: !!binary |
CtwBCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSswEKEgoQY3Jld2FpLnRl
bGVtZXRyeRKcAQoQQE5x67k2yoRzNnWSEmAyDxIILgKJF4SjLIcqClRvb2wgVXNhZ2UwATlw2x6L
WET2F0HgUSSLWET2F0oaCg5jcmV3YWlfdmVyc2lvbhIICgYwLjYwLjRKKAoJdG9vbF9uYW1lEhsK
GURlbGVnYXRlIHdvcmsgdG8gY293b3JrZXJKDgoIYXR0ZW1wdHMSAhgBegIYAYUBAAEAAA==
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '223'
Content-Type:
- application/x-protobuf
User-Agent:
- OTel-OTLP-Exporter-Python/1.27.0
method: POST
uri: https://telemetry.crewai.com:4319/v1/traces
response:
body:
string: "\n\0"
headers:
Content-Length:
- '2'
Content-Type:
- application/x-protobuf
Date:
- Wed, 18 Sep 2024 06:57:37 GMT
status:
code: 200
message: OK
- request:
body: '{"messages": [{"role": "system", "content": "You are Senior Writer. You''re
a senior writer, specialized in technology, software engineering, AI and startups.
You work as a freelancer and are now working on writing content for a new customer.\nYour
personal goal is: Write the best content about AI and AI agents.\nTo give my
best complete final answer to the task use the exact following format:\n\nThought:
I now can give a great answer\nFinal Answer: Your final answer must be the great
and the most complete as possible, it must be outcome described.\n\nI MUST use
these formats, my job depends on it!"}, {"role": "user", "content": "\nCurrent
Task: Expand the 1-paragraph draft into a full 4-paragraph article about AI
Agents.\n\nThis is the expect criteria for your final answer: Your best answer
to your coworker asking you this, accounting for the context shared.\nyou MUST
return the actual complete content as the final answer, not a summary.\n\nThis
is the context you''re working with:\nThe 1-paragraph draft provided explains
the transformative nature of AI Agents across various industries. For the full
article: \n1. Begin with an introduction that defines AI Agents and discusses
their significance.\n2. The second paragraph should elaborate on their real-world
applications in industries like healthcare and finance.\n3. The third paragraph
should explore the future potential of AI Agents in other sectors, such as personalized
education, smart cities, and autonomous vehicles.\n4. Conclude with a summary
that encapsulates the overall impact and future outlook of AI Agents, emphasizing
their role in creating a more connected world.\n\nBegin! This is VERY important
to you, use the tools available and give your best Final Answer, your job depends
on it!\n\nThought:"}], "model": "gpt-4o", "stop": ["\nObservation:"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1835'
content-type:
- application/json
cookie:
- __cf_bm=.8.5x0rqghNdtUCxfmwblfhuXiKyPm_cRq.NIa0heL0-1726642369-1.0.1.1-VbsAGqjOt45ZD50K2QW2oZrByLLIh6w8K4nAkLthTbXgU5qTgdf0mhvFId8Q2F3DcHUw9E72lVIZEN.YVlYINQ;
_cfuvid=o5s1Ux898x0eFNtzUCnG996iqyX3LgXDXq99C5oqnVE-1726642369248-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.46.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.46.0
x-stainless-raw-response:
- 'true'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.11.7
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A8iv4HMtRFhsM79XoBi6KkRAPESg2\",\n \"object\":
\"chat.completion\",\n \"created\": 1726642658,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"I now can give a great answer.\\nFinal
Answer:\\n\\nArtificial Intelligence (AI) Agents are autonomous systems capable
of performing tasks that typically require human intelligence. These tasks range
from simple automation to complex decision-making processes. AI Agents leverage
various technologies, such as machine learning, natural language processing,
and computer vision, to analyze data, learn from it, and make informed decisions.
Their significance lies in their ability to operate independently, thus transforming
industries by increasing efficiency, reducing error rates, and enabling new
capabilities previously thought to be the realm of science fiction.\\n\\nAI
Agents are already making significant impacts in a variety of real-world applications.
In healthcare, for instance, AI Agents assist doctors by analyzing patient data
to predict disease outbreaks, personalize treatment plans, and even perform
robotic surgeries with precision. In the financial sector, AI Agents are employed
to detect fraudulent transactions, manage trading strategies, and offer personalized
financial advice. Their ability to process vast amounts of data in real-time
means they can identify patterns and insights that humans might overlook, thereby
enhancing operational efficiency and security.\\n\\nLooking ahead, the potential
of AI Agents extends to numerous other sectors. In education, AI Agents can
provide personalized learning experiences, adapting content to fit the individual
needs of each student and offering real-time feedback. Smart cities stand to
benefit from AI Agents through improved traffic management, energy efficiency,
and enhanced public safety services. Furthermore, the development of autonomous
vehicles is heavily reliant on advanced AI Agents to navigate complex environments,
making transportation safer and more reliable. The versatility and adaptability
of AI Agents make them crucial for future advancements across various domains.\\n\\nIn
summary, AI Agents are not just a technological trend but a cornerstone for
future innovation. Their ability to learn, adapt, and make decisions autonomously
plays a pivotal role in various sectors, leading to increased connectivity and
efficiency. As technology continues to advance, the impact of AI Agents will
only grow, ushering in a new era of smart and interconnected systems. Ultimately,
AI Agents represent the building blocks of a more intelligent and connected
world, promising to revolutionize how we live, work, and interact with technology.\",\n
\ \"refusal\": null\n },\n \"logprobs\": null,\n \"finish_reason\":
\"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 344,\n \"completion_tokens\":
418,\n \"total_tokens\": 762,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_a5d11b2ef2\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c4f71646bdaa67a-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Wed, 18 Sep 2024 06:57:43 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '5028'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '30000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999561'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_995d273b3a54e48af874d80663e6e84e
http_version: HTTP/1.1
status_code: 200
- request:
body: !!binary |
CtwBCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSswEKEgoQY3Jld2FpLnRl
bGVtZXRyeRKcAQoQcmsaEMoNzhaTtGu/CSGgHxIIfgVtQKsy9RMqClRvb2wgVXNhZ2UwATmwwpGe
WkT2F0FIwZueWkT2F0oaCg5jcmV3YWlfdmVyc2lvbhIICgYwLjYwLjRKKAoJdG9vbF9uYW1lEhsK
GURlbGVnYXRlIHdvcmsgdG8gY293b3JrZXJKDgoIYXR0ZW1wdHMSAhgBegIYAYUBAAEAAA==
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '223'
Content-Type:
- application/x-protobuf
User-Agent:
- OTel-OTLP-Exporter-Python/1.27.0
method: POST
uri: https://telemetry.crewai.com:4319/v1/traces
response:
body:
string: "\n\0"
headers:
Content-Length:
- '2'
Content-Type:
- application/x-protobuf
Date:
- Wed, 18 Sep 2024 06:57:47 GMT
status:
code: 200
message: OK
- request:
body: '{"messages": [{"role": "system", "content": "You are CEO. You''re an long
time CEO of a content creation agency with a Senior Writer on the team. You''re
now working on a new project and want to make sure the content produced is amazing.\nYour
personal goal is: Make sure the writers in your company produce amazing content.\nYou
ONLY have access to the following tools, and should NEVER make up tools that
are not listed here:\n\nTool Name: Delegate work to coworker(task: str, context:
str, coworker: Optional[str] = None, **kwargs)\nTool Description: Delegate a
specific task to one of the following coworkers: Senior Writer\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.\nTool
Arguments: {''task'': {''title'': ''Task'', ''type'': ''string''}, ''context'':
{''title'': ''Context'', ''type'': ''string''}, ''coworker'': {''title'': ''Coworker'',
''type'': ''string''}, ''kwargs'': {''title'': ''Kwargs'', ''type'': ''object''}}\nTool
Name: Ask question to coworker(question: str, context: str, coworker: Optional[str]
= None, **kwargs)\nTool Description: Ask a specific question to one of the following
coworkers: Senior Writer\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.\nTool Arguments: {''question'':
{''title'': ''Question'', ''type'': ''string''}, ''context'': {''title'': ''Context'',
''type'': ''string''}, ''coworker'': {''title'': ''Coworker'', ''type'': ''string''},
''kwargs'': {''title'': ''Kwargs'', ''type'': ''object''}}\n\nUse the following
format:\n\nThought: you should always think about what to do\nAction: the action
to take, only one name of [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 python dictionary, enclosed in curly braces, using \" to wrap
keys and values.\nObservation: the result of the action\n\nOnce all necessary
information is gathered:\n\nThought: I now know the final answer\nFinal Answer:
the final answer to the original input question\n"}, {"role": "user", "content":
"\nCurrent Task: Produce and amazing 1 paragraph draft of an article about AI
Agents.\n\nThis is the expect criteria for your final answer: A 4 paragraph
article about AI.\nyou MUST return the actual complete content as the final
answer, not a summary.\n\nBegin! This is VERY important to you, use the tools
available and give your best Final Answer, your job depends on it!\n\nThought:"},
{"role": "user", "content": "Thought: To ensure the content meets our standards,
I should first delegate the initial task of drafting a 1-paragraph article about
AI Agents to the Senior Writer. Once they provide the draft, I can review and
decide on further steps.\n\nAction: Delegate work to coworker\nAction Input:
{\"task\": \"Produce an amazing 1-paragraph draft of an article about AI Agents.\",
\"context\": \"We are working on a new project focusing on the impact and potential
of AI Agents. The content needs to be engaging, insightful, and informative,
drawing on current trends, real-world applications, and future possibilities.
It should captivate readers and demonstrate the sophistication and utility of
AI Agents in various sectors.\", \"coworker\": \"Senior Writer\"}\nObservation:
AI Agents are rapidly transforming the landscape of technology and innovation,
bridging the gap between human capability and machine efficiency. These sophisticated
systems, powered by advanced algorithms and machine learning, are revolutionizing
industries from healthcare to finance by automating complex tasks, providing
real-time insights, and enhancing decision-making processes. In healthcare,
AI Agents are analyzing patient data to predict potential health issues, thereby
enabling preventative care. Meanwhile, in finance, they are optimizing trading
strategies and detecting fraudulent activities with unprecedented accuracy.
As we look towards the future, the potential of AI Agents continues to expand,
promising to drive significant advancements in personalized education, smart
cities, and autonomous vehicles. The integration of AI Agents into everyday
applications not only boosts productivity but also paves the way for a smarter,
more connected world."}, {"role": "user", "content": "Thought: The Senior Writer
has delivered a comprehensive and engaging 1-paragraph draft. I can use this
as a solid foundation to expand it into a 4-paragraph article. Each paragraph
should focus on a specific aspect of AI Agents to provide depth and variety.\n\n1.
Introduction to AI Agents: Define AI Agents and their significance.\n2. Real-world
Applications: Elaborate on specific industry impacts such as healthcare and
finance.\n3. Future Potential: Discuss areas poised for transformation by AI
Agents.\n4. Conclusion: Summarize the overall impact and future outlook of AI
Agents.\n\nAction: Delegate work to coworker\nAction Input: {\"task\": \"Expand
the 1-paragraph draft into a full 4-paragraph article about AI Agents.\", \"context\":
\"The 1-paragraph draft provided explains the transformative nature of AI Agents
across various industries. For the full article: \\n1. Begin with an introduction
that defines AI Agents and discusses their significance.\\n2. The second paragraph
should elaborate on their real-world applications in industries like healthcare
and finance.\\n3. The third paragraph should explore the future potential of
AI Agents in other sectors, such as personalized education, smart cities, and
autonomous vehicles.\\n4. Conclude with a summary that encapsulates the overall
impact and future outlook of AI Agents, emphasizing their role in creating a
more connected world.\", \"coworker\": \"Senior Writer\"}\nObservation: Artificial
Intelligence (AI) Agents are autonomous systems capable of performing tasks
that typically require human intelligence. These tasks range from simple automation
to complex decision-making processes. AI Agents leverage various technologies,
such as machine learning, natural language processing, and computer vision,
to analyze data, learn from it, and make informed decisions. Their significance
lies in their ability to operate independently, thus transforming industries
by increasing efficiency, reducing error rates, and enabling new capabilities
previously thought to be the realm of science fiction.\n\nAI Agents are already
making significant impacts in a variety of real-world applications. In healthcare,
for instance, AI Agents assist doctors by analyzing patient data to predict
disease outbreaks, personalize treatment plans, and even perform robotic surgeries
with precision. In the financial sector, AI Agents are employed to detect fraudulent
transactions, manage trading strategies, and offer personalized financial advice.
Their ability to process vast amounts of data in real-time means they can identify
patterns and insights that humans might overlook, thereby enhancing operational
efficiency and security.\n\nLooking ahead, the potential of AI Agents extends
to numerous other sectors. In education, AI Agents can provide personalized
learning experiences, adapting content to fit the individual needs of each student
and offering real-time feedback. Smart cities stand to benefit from AI Agents
through improved traffic management, energy efficiency, and enhanced public
safety services. Furthermore, the development of autonomous vehicles is heavily
reliant on advanced AI Agents to navigate complex environments, making transportation
safer and more reliable. The versatility and adaptability of AI Agents make
them crucial for future advancements across various domains.\n\nIn summary,
AI Agents are not just a technological trend but a cornerstone for future innovation.
Their ability to learn, adapt, and make decisions autonomously plays a pivotal
role in various sectors, leading to increased connectivity and efficiency. As
technology continues to advance, the impact of AI Agents will only grow, ushering
in a new era of smart and interconnected systems. Ultimately, AI Agents represent
the building blocks of a more intelligent and connected world, promising to
revolutionize how we live, work, and interact with technology."}], "model":
"gpt-4o", "stop": ["\nObservation:"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '8517'
content-type:
- application/json
cookie:
- __cf_bm=.8.5x0rqghNdtUCxfmwblfhuXiKyPm_cRq.NIa0heL0-1726642369-1.0.1.1-VbsAGqjOt45ZD50K2QW2oZrByLLIh6w8K4nAkLthTbXgU5qTgdf0mhvFId8Q2F3DcHUw9E72lVIZEN.YVlYINQ;
_cfuvid=o5s1Ux898x0eFNtzUCnG996iqyX3LgXDXq99C5oqnVE-1726642369248-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.46.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.46.0
x-stainless-raw-response:
- 'true'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.11.7
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A8iv9CFeAFk7HnTYWZTh2f4Nmg260\",\n \"object\":
\"chat.completion\",\n \"created\": 1726642663,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Final Answer: \\n\\nArtificial Intelligence
(AI) Agents are autonomous systems capable of performing tasks that typically
require human intelligence. These tasks range from simple automation to complex
decision-making processes. AI Agents leverage various technologies, such as
machine learning, natural language processing, and computer vision, to analyze
data, learn from it, and make informed decisions. Their significance lies in
their ability to operate independently, thus transforming industries by increasing
efficiency, reducing error rates, and enabling new capabilities previously thought
to be the realm of science fiction.\\n\\nAI Agents are already making significant
impacts in a variety of real-world applications. In healthcare, for instance,
AI Agents assist doctors by analyzing patient data to predict disease outbreaks,
personalize treatment plans, and even perform robotic surgeries with precision.
In the financial sector, AI Agents are employed to detect fraudulent transactions,
manage trading strategies, and offer personalized financial advice. Their ability
to process vast amounts of data in real-time means they can identify patterns
and insights that humans might overlook, thereby enhancing operational efficiency
and security.\\n\\nLooking ahead, the potential of AI Agents extends to numerous
other sectors. In education, AI Agents can provide personalized learning experiences,
adapting content to fit the individual needs of each student and offering real-time
feedback. Smart cities stand to benefit from AI Agents through improved traffic
management, energy efficiency, and enhanced public safety services. Furthermore,
the development of autonomous vehicles is heavily reliant on advanced AI Agents
to navigate complex environments, making transportation safer and more reliable.
The versatility and adaptability of AI Agents make them crucial for future advancements
across various domains.\\n\\nIn summary, AI Agents are not just a technological
trend but a cornerstone for future innovation. Their ability to learn, adapt,
and make decisions autonomously plays a pivotal role in various sectors, leading
to increased connectivity and efficiency. As technology continues to advance,
the impact of AI Agents will only grow, ushering in a new era of smart and interconnected
systems. Ultimately, AI Agents represent the building blocks of a more intelligent
and connected world, promising to revolutionize how we live, work, and interact
with technology.\",\n \"refusal\": null\n },\n \"logprobs\":
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
1617,\n \"completion_tokens\": 411,\n \"total_tokens\": 2028,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_a5d11b2ef2\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c4f7186ab44a67a-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Wed, 18 Sep 2024 06:57:48 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '4344'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '30000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29997918'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 4ms
x-request-id:
- req_5883116a29a3dee6a3d0ae304aace80f
http_version: HTTP/1.1
status_code: 200
version: 1