Files
crewAI/tests/agent_tools/cassettes/test_delegate_work.yaml
2024-09-15 19:37:58 -03:00

184 lines
8.2 KiB
YAML

interactions:
- request:
body: !!binary |
CuYDCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSvQMKEgoQY3Jld2FpLnRl
bGVtZXRyeRKTAQoQv0Nfr2rUTirG/WKzdtJfFxIISBr1hG4WfkkqClRvb2wgVXNhZ2UwATmIaMW5
Por1F0E4BMq5Por1F0oaCg5jcmV3YWlfdmVyc2lvbhIICgYwLjU2LjBKHwoJdG9vbF9uYW1lEhIK
EERlY2lkZSBHcmVldGluZ3NKDgoIYXR0ZW1wdHMSAhgBegIYAYUBAAEAABKQAgoQlzO255TWN4yq
RtSRxRh7ABIIw1tJ4MfUjVYqDlRhc2sgRXhlY3V0aW9uMAE5AGrSlz6K9RdBcDhh2T6K9RdKLgoI
Y3Jld19rZXkSIgogYzMwNzYwMDkzMjY3NjE0NDRkNTdjNzFkMWRhM2YyN2NKMQoHY3Jld19pZBIm
CiQ2Mjk2NTNkYy1lMDNlLTQ0MjAtYjYyMy00ZmU1NzBjOWNkNjRKLgoIdGFza19rZXkSIgogODBk
N2JjZDQ5MDk5MjkwMDgzODMyZjBlOTgzMzgwZGZKMQoHdGFza19pZBImCiRkNzZhOTE2OC02YmQ1
LTQxMzgtOTIxMi1hZTk4MDAzZGY2YWN6AhgBhQEAAQAA
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '489'
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 22:07:20 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": ["\nObservation:"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1055'
content-type:
- application/json
cookie:
- __cf_bm=xCQEG8vgEvQfut0bkj2xgre9z9ePZhdKdNxBphhvH6s-1726437753-1.0.1.1-5qo0zwDCcKDtqvIzDbp2sLEPCey8v5DAsf0Mg6f2RmooOW9FXTw2P66VCTTF.vCwTpWBIFk0vzKmBAPOt6urIg;
_cfuvid=TiTyEciy7HrUlIDEsELZqkUyM4Fyn8OldZd4JefFMOA-1726437753108-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-A7rgjfYnytmBg4Q0M56ZYlFb1j2cJ\",\n \"object\":
\"chat.completion\",\n \"created\": 1726438037,\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: As a researcher specialized in technology, I believe that AI agents
represent a significant advancement in the capability to automate tasks, process
large amounts of data, and even make decisions in certain domains. While I wouldn't
characterize my stance as \\\"hate\\\" towards them, I do have some critical
perspectives on their current deployment and use.\\n\\nFirstly, AI agents can
perform repetitive and mundane tasks more efficiently than humans, allowing
individuals and organizations to allocate their human resources to more complex
and creative endeavors. This has promising benefits for productivity and innovation
across various sectors.\\n\\nHowever, there are several concerns and challenges
that come along with the deployment of AI agents. One primary concern is the
degree of control and transparency. Many AI systems, particularly those utilizing
machine learning and neural networks, operate as \\\"black boxes\\\" where understanding
the decision-making process is not straightforward. This lack of transparency
can lead to trust issues and difficulties in compliance with legal and ethical
standards.\\n\\nAnother significant challenge is the potential for bias. AI
agents learn from data, and if the training data contains biases, the AI agents
can perpetuate and even exacerbate those biases. This can result in unfair outcomes
and discriminatory practices, especially in sensitive applications like hiring,
law enforcement, and lending decisions.\\n\\nAdditionally, the impact on employment
is a critical issue. While AI agents can take over repetitive tasks, there is
a legitimate concern over job displacement. It's essential to have strategies
in place for retraining and upskilling the workforce to ensure that the benefits
of AI advancements are shared broadly across society.\\n\\nSecurity is another
crucial factor. AI agents, if not properly secured, can be susceptible to malicious
attacks, leading to potential data breaches or adversarial manipulation. The
security of AI systems needs to be robust to safeguard against these risks.\\n\\nFinally,
the ethical implications of autonomous decision-making by AI agents cannot be
ignored. As we delegate more decision-making power to AI, it's vital to ensure
that these systems operate within the ethical boundaries and align with human
values and societal norms.\\n\\nIn conclusion, while AI agents have transformative
potential, it's essential to address these concerns comprehensively. The focus
should be on ensuring transparency, mitigating bias, providing employment transition
strategies, enhancing security measures, and upholding ethical standards in
the deployment and use of AI agents. This balanced approach can help us harness
the benefits of AI agents while minimizing their risks and downsides.\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 200,\n \"completion_tokens\":
481,\n \"total_tokens\": 681,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c3bedc52ac8a4ca-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Sun, 15 Sep 2024 22:07:21 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:
- '4413'
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_3100476c60082c90c33042c9ebbbd86a
http_version: HTTP/1.1
status_code: 200
version: 1