Files
crewAI/tests/agent_tools/cassettes/test_delegate_work.yaml
2024-09-15 18:41:59 -03:00

188 lines
8.6 KiB
YAML

interactions:
- request:
body: !!binary |
CtACCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSpwIKEgoQY3Jld2FpLnRl
bGVtZXRyeRKQAgoQJBta1m+F+Iayh6b6Px/2+hIIh6bzKHFuQlgqDlRhc2sgRXhlY3V0aW9uMAE5
iKEYquxV9RdBIJbWqe1V9RdKLgoIY3Jld19rZXkSIgogYzMwNzYwMDkzMjY3NjE0NDRkNTdjNzFk
MWRhM2YyN2NKMQoHY3Jld19pZBImCiQzZjBhMmUzNy1mN2RhLTRlM2UtOTE4Ni0xNTk5Nzk1MTEz
NGFKLgoIdGFza19rZXkSIgogODBkN2JjZDQ5MDk5MjkwMDgzODMyZjBlOTgzMzgwZGZKMQoHdGFz
a19pZBImCiQ2M2ZjODA3OS05ZmEzLTRkN2ItOGVjYy1lODk5NzMxZTY3MzR6AhgBhQEAAQAA
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '339'
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:
- Sun, 15 Sep 2024 06:08:37 GMT
status:
code: 200
message: OK
- request:
body: '{"messages": [{"role": "system", "content": "You are researcher. You''re
an expert researcher, specialized in technology\nYour personal goal is: make
the best research and analysis on 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: share your take on 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:\nI heard you hate
them\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": ["\nResult"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1049'
content-type:
- application/json
cookie:
- __cf_bm=J1VIPhfusyyXtwM.1L9zbe3jdnU7NVyHC3AWiKXO280-1726379702-1.0.1.1-LDa9RyXFli18t4ZEuVAENTChdNAkRtdWXRkRLbBHbCXdobugQ3T.arhMpSKwtnBRXKPcC4b66UA7BsSy1VXDHQ;
_cfuvid=Bz2zevKuFYZqnEFwqmqVHcRo5pT0fm0fTtc_6_VQs4g-1726379702153-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.45.0
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.45.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-A7ciw2zOvP4hz1Yuurr1MIlPDrg8f\",\n \"object\":
\"chat.completion\",\n \"created\": 1726380514,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I now can give a great answer\\nFinal
Answer: \\n\\nAI agents are autonomous programs that perform tasks or services
on behalf of users with a considerable degree of autonomy, often based on intelligence
derived from data and analytics. They can operate within specific domains or
across multiple areas, executing tasks ranging from mundane repetitive actions
to complex decision-making processes. Given their applications, it's essential
to examine both the benefits and criticisms to provide a balanced perspective.\\n\\n##
The Positive Aspects of AI Agents\\n\\n1. **Efficiency and Productivity:**\\n
\ AI agents can handle tedious and repetitive tasks efficiently, freeing up
human workers to focus on more complex and creative endeavors. This results
in significant time and cost savings for businesses.\\n\\n2. **24/7 Availability:**\\n
\ AI agents can work continuously without breaks, providing round-the-clock
service. This is especially beneficial for customer support, where they can
resolve issues and answer queries at any time.\\n\\n3. **Consistency and Accuracy:**\\n
\ Unlike humans, AI agents do not suffer from fatigue and can perform tasks
without error, ensuring a high level of consistency in operations.\\n\\n4. **Data
Handling and Analysis:**\\n AI agents can process and analyze vast amounts
of data quickly, identifying patterns and generating insights that would be
otherwise difficult to discern manually.\\n\\n## Criticisms and Concerns\\n\\n1.
**Job Displacement:**\\n One of the primary concerns is that AI agents could
replace human jobs, leading to unemployment. While they create new opportunities
in AI development and maintenance, the transition can be disruptive.\\n\\n2.
**Ethical Considerations:**\\n With increasing autonomy, ensuring that AI
agents act ethically and within the bounds of societal norms is a challenge.
Misuse of AI for malicious activities or biased decision-making are valid concerns
that need rigorous oversight.\\n\\n3. **Lack of Emotional Intelligence:**\\n
\ AI agents, no matter how advanced, lack the ability to empathize and understand
human emotions fully. This can be a drawback in areas that require delicate
human interaction, such as mental health support.\\n\\n4. **Dependence and Reliability:**\\n
\ Over-reliance on AI agents might lead to significant issues if they malfunction
or are compromised. Ensuring reliability and establishing fail-safes is critical.\\n\\n5.
**Security and Privacy:**\\n AI agents typically require access to large data
sets, often containing sensitive information. Ensuring robust data security
and user privacy is paramount to prevent misuse or data breaches.\\n\\n## Conclusion\\n\\nWhile
AI agents offer remarkable benefits in terms of efficiency, accuracy, and data
handling, their integration into society must be managed carefully to address
ethical concerns and potential negative impacts on employment and human interaction.
The onus is on developers, policymakers, and society at large to ensure that
AI agents are designed and deployed responsibly, balancing innovation with the
broader implications for humanity. \\n\\nDespite the apprehensions, dismissing
AI agents entirely overlooks their transformative potential. Instead, the focus
should be on harnessing these tools' capabilities while mitigating their risks,
ensuring they serve to enhance rather than hinder human progress.\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 200,\n \"completion_tokens\":
609,\n \"total_tokens\": 809,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c3671654854745a-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Sun, 15 Sep 2024 06:08:39 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:
- '5095'
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:
- '29999755'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_5c935010b5cc7d844cef065245a1df13
http_version: HTTP/1.1
status_code: 200
version: 1