Files
crewAI/lib/crewai/tests/cassettes/test_crew_with_delegating_agents.yaml
Greyson LaLonde bdafe0fac7
Some checks failed
Build uv cache / build-cache (3.10) (push) Has been cancelled
Build uv cache / build-cache (3.11) (push) Has been cancelled
Build uv cache / build-cache (3.12) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Notify Downstream / notify-downstream (push) Has been cancelled
Check Documentation Broken Links / Check broken links (push) Has been cancelled
Build uv cache / build-cache (3.13) (push) Has been cancelled
fix: ensure token usage recording, validate response model on stream
2025-12-10 20:32:10 -05:00

203 lines
9.7 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.\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 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-mini", "stop":
["\nObservation:"], "stream": false}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1105'
content-type:
- application/json
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.52.1
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.52.1
x-stainless-raw-response:
- 'true'
x-stainless-retry-count:
- '0'
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-Ahe7liUPejwfqxMe8aEWmKGJ837em\",\n \"object\":
\"chat.completion\",\n \"created\": 1734965705,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"I now can give a great answer \\nFinal
Answer: In the rapidly evolving landscape of technology, AI agents have emerged
as formidable tools, revolutionizing how we interact with data and automate
tasks. These sophisticated systems leverage machine learning and natural language
processing to perform a myriad of functions, from virtual personal assistants
to complex decision-making companions in industries such as finance, healthcare,
and education. By mimicking human intelligence, AI agents can analyze massive
data sets at unparalleled speeds, enabling businesses to uncover valuable insights,
enhance productivity, and elevate user experiences to unprecedented levels.\\n\\nOne
of the most striking aspects of AI agents is their adaptability; they learn
from their interactions and continuously improve their performance over time.
This feature is particularly valuable in customer service where AI agents can
address inquiries, resolve issues, and provide personalized recommendations
without the limitations of human fatigue. Moreover, with intuitive interfaces,
AI agents enhance user interactions, making technology more accessible and user-friendly,
thereby breaking down barriers that have historically hindered digital engagement.\\n\\nDespite
their immense potential, the deployment of AI agents raises important ethical
and practical considerations. Issues related to privacy, data security, and
the potential for job displacement necessitate thoughtful dialogue and proactive
measures. Striking a balance between technological innovation and societal impact
will be crucial as organizations integrate these agents into their operations.
Additionally, ensuring transparency in AI decision-making processes is vital
to maintain public trust as AI agents become an integral part of daily life.\\n\\nLooking
ahead, the future of AI agents appears bright, with ongoing advancements promising
even greater capabilities. As we continue to harness the power of AI, we can
expect these agents to play a transformative role in shaping various sectors\u2014streamlining
workflows, enabling smarter decision-making, and fostering more personalized
experiences. Embracing this technology responsibly can lead to a future where
AI agents not only augment human effort but also inspire creativity and efficiency
across the board, ultimately redefining our interaction with the digital world.\",\n
\ \"refusal\": null\n },\n \"logprobs\": null,\n \"finish_reason\":
\"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 208,\n \"completion_tokens\":
382,\n \"total_tokens\": 590,\n \"prompt_tokens_details\": {\n \"cached_tokens\":
0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": {\n
\ \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\":
0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"system_fingerprint\":
\"fp_0aa8d3e20b\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8f6930c97a33ae54-GRU
Connection:
- keep-alive
Content-Type:
- application/json
Date:
- Mon, 23 Dec 2024 14:55:10 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=g58erGPkGAltcfYpDRU4IsdEEzb955dGmBOAZacFlPA-1734965710-1.0.1.1-IiodiX3uxbT5xSa4seI7M.gRM4Jj46h2d6ZW2wCkSUYUAX.ivRh_sGQN2hucEMzdG8O87pc00dCl7E5W8KkyEA;
path=/; expires=Mon, 23-Dec-24 15:25:10 GMT; domain=.api.openai.com; HttpOnly;
Secure; SameSite=None
- _cfuvid=eQzzWvIXDS8Me1OIBdCG5F1qFyVfAo3sumvYRE7J41E-1734965710778-0.0.1.1-604800000;
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
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:
- '5401'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '30000'
x-ratelimit-limit-tokens:
- '150000000'
x-ratelimit-remaining-requests:
- '29999'
x-ratelimit-remaining-tokens:
- '149999746'
x-ratelimit-reset-requests:
- 2ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_30791533923ae20626ef35a03ae66172
http_version: HTTP/1.1
status_code: 200
- request:
body: !!binary |
CqYMCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkS/QsKEgoQY3Jld2FpLnRl
bGVtZXRyeRL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:
- 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:
- Mon, 23 Dec 2024 14:55:10 GMT
status:
code: 200
message: OK
version: 1