Files
crewAI/lib/crewai/tests/cassettes/test_output_json_sequential.yaml
Greyson Lalonde ae006fe0ad Merge branch 'main' into gl/fix/output-parser-exception-retry-logic
# Conflicts:
#	lib/crewai/src/crewai/llms/providers/anthropic/completion.py
2025-11-05 12:29:05 -05:00

340 lines
14 KiB
YAML

interactions:
- request:
body: '{"trace_id": "9d48095f-2be6-4422-aee1-30c2618fe61a", "execution_type":
"crew", "user_identifier": null, "execution_context": {"crew_fingerprint": null,
"crew_name": "crew", "flow_name": null, "crewai_version": "1.3.0", "privacy_level":
"standard"}, "execution_metadata": {"expected_duration_estimate": 300, "agent_count":
0, "task_count": 0, "flow_method_count": 0, "execution_started_at": "2025-11-05T17:02:51.573179+00:00"},
"ephemeral_trace_id": "9d48095f-2be6-4422-aee1-30c2618fe61a"}'
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, zstd
Connection:
- keep-alive
Content-Length:
- '488'
Content-Type:
- application/json
User-Agent:
- CrewAI-CLI/1.3.0
X-Crewai-Version:
- 1.3.0
method: POST
uri: https://app.crewai.com/crewai_plus/api/v1/tracing/ephemeral/batches
response:
body:
string: '{"id":"68f0ea6b-0926-4db0-9833-5e4a36df660d","ephemeral_trace_id":"9d48095f-2be6-4422-aee1-30c2618fe61a","execution_type":"crew","crew_name":"crew","flow_name":null,"status":"running","duration_ms":null,"crewai_version":"1.3.0","total_events":0,"execution_context":{"crew_fingerprint":null,"crew_name":"crew","flow_name":null,"crewai_version":"1.3.0","privacy_level":"standard"},"created_at":"2025-11-05T17:02:51.988Z","updated_at":"2025-11-05T17:02:51.988Z","access_code":"TRACE-6f0571c0d0","user_identifier":null}'
headers:
Connection:
- keep-alive
Content-Length:
- '515'
Content-Type:
- application/json; charset=utf-8
Date:
- Wed, 05 Nov 2025 17:02:52 GMT
cache-control:
- no-store
content-security-policy:
- 'default-src ''self'' *.app.crewai.com app.crewai.com; script-src ''self''
''unsafe-inline'' *.app.crewai.com app.crewai.com https://cdn.jsdelivr.net/npm/apexcharts
https://www.gstatic.com https://run.pstmn.io https://apis.google.com https://apis.google.com/js/api.js
https://accounts.google.com https://accounts.google.com/gsi/client https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css.map
https://*.google.com https://docs.google.com https://slides.google.com https://js.hs-scripts.com
https://js.sentry-cdn.com https://browser.sentry-cdn.com https://www.googletagmanager.com
https://js-na1.hs-scripts.com https://js.hubspot.com http://js-na1.hs-scripts.com
https://bat.bing.com https://cdn.amplitude.com https://cdn.segment.com https://d1d3n03t5zntha.cloudfront.net/
https://descriptusercontent.com https://edge.fullstory.com https://googleads.g.doubleclick.net
https://js.hs-analytics.net https://js.hs-banner.com https://js.hsadspixel.net
https://js.hscollectedforms.net https://js.usemessages.com https://snap.licdn.com
https://static.cloudflareinsights.com https://static.reo.dev https://www.google-analytics.com
https://share.descript.com/; style-src ''self'' ''unsafe-inline'' *.app.crewai.com
app.crewai.com https://cdn.jsdelivr.net/npm/apexcharts; img-src ''self'' data:
*.app.crewai.com app.crewai.com https://zeus.tools.crewai.com https://dashboard.tools.crewai.com
https://cdn.jsdelivr.net https://forms.hsforms.com https://track.hubspot.com
https://px.ads.linkedin.com https://px4.ads.linkedin.com https://www.google.com
https://www.google.com.br; font-src ''self'' data: *.app.crewai.com app.crewai.com;
connect-src ''self'' *.app.crewai.com app.crewai.com https://zeus.tools.crewai.com
https://connect.useparagon.com/ https://zeus.useparagon.com/* https://*.useparagon.com/*
https://run.pstmn.io https://connect.tools.crewai.com/ https://*.sentry.io
https://www.google-analytics.com https://edge.fullstory.com https://rs.fullstory.com
https://api.hubspot.com https://forms.hscollectedforms.net https://api.hubapi.com
https://px.ads.linkedin.com https://px4.ads.linkedin.com https://google.com/pagead/form-data/16713662509
https://google.com/ccm/form-data/16713662509 https://www.google.com/ccm/collect
https://worker-actionkit.tools.crewai.com https://api.reo.dev; frame-src ''self''
*.app.crewai.com app.crewai.com https://connect.useparagon.com/ https://zeus.tools.crewai.com
https://zeus.useparagon.com/* https://connect.tools.crewai.com/ https://docs.google.com
https://drive.google.com https://slides.google.com https://accounts.google.com
https://*.google.com https://app.hubspot.com/ https://td.doubleclick.net https://www.googletagmanager.com/
https://www.youtube.com https://share.descript.com'
etag:
- W/"0ffc03cfc31a1adb127cec4fb1a7552e"
expires:
- '0'
permissions-policy:
- camera=(), microphone=(self), geolocation=()
pragma:
- no-cache
referrer-policy:
- strict-origin-when-cross-origin
strict-transport-security:
- max-age=63072000; includeSubDomains
vary:
- Accept
x-content-type-options:
- nosniff
x-frame-options:
- SAMEORIGIN
x-permitted-cross-domain-policies:
- none
x-request-id:
- 073e2b62-1352-41fa-b53d-b807a0781385
x-runtime:
- '0.074366'
x-xss-protection:
- 1; mode=block
status:
code: 201
message: Created
- request:
body: '{"messages":[{"role":"system","content":"You are Scorer. You''re an expert
scorer, specialized in scoring titles.\nYour personal goal is: Score the title\nTo
give my best complete final answer to the task respond using 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: Give me an integer score between 1-5 for the following title: ''The impact
of AI in the future of work''\n\nThis is the expected criteria for your final
answer: The score of the title.\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-4.1-mini"}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate, zstd
connection:
- keep-alive
content-length:
- '923'
content-type:
- application/json
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.109.1
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.109.1
x-stainless-read-timeout:
- '600'
x-stainless-retry-count:
- '0'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.12.9
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
body:
string: !!binary |
H4sIAAAAAAAAAwAAAP//jFLBitswEL37Kwad4yXWOonxLYS2LJRcWghLuxhFHtvTypIqybstS/69
yMnG3nYLvRg8b97TezPznAAwqlkJTHYiyN6qdHd/3H2443tx+Ej7e3vYftpvb4t3u4Msuh9sERnm
+A1leGHdSNNbhYGMPsPSoQgYVbPNmt+uebbhI9CbGlWktTak+U2W9qQp5Uu+Spd5muUXemdIomcl
fEkAAJ7HbzSqa/zJSlguXio9ei9aZOW1CYA5o2KFCe/JB6EDW0ygNDqgHr1/7szQdqGEO9DmCaTQ
0NIjgoA2BgCh/RO6r/o9aaFgO/6VkM/VHDaDFzGSHpSaAUJrE0QcyZjj4YKcrs6Vaa0zR/8HlTWk
yXeVQ+GNji59MJaN6CkBeBgnNLwKzawzvQ1VMN9xfC4rNmc9Nm1mhq4uYDBBqKnOl3zxhl5VYxCk
/GzGTArZYT1Rp4WIoSYzA5JZ6r/dvKV9Tk66/R/5CZASbcC6sg5rkq8TT20O4+H+q+065dEw8+ge
SWIVCF3cRI2NGNT5mpj/5QP2VUO6RWcdnU+qsVUuebHKmmLNWXJKfgMAAP//AwCatN7LYQMAAA==
headers:
CF-RAY:
- 999debd5fb3f1dc7-EWR
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Wed, 05 Nov 2025 17:02:52 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=LqcItbUhSjz3rvr4uLGOXuwKtfbHhS3rrcgEyCEiHsg-1762362172-1.0.1.1-S1jp_Tbjd.aVcqi7AoiJUpPlg4R1dLfu0f6sAohSpdH1RJmpQGh9r9gV2J3UjfSjnY5ifchB3C3rR7H5JIFtI0fTk11hisyXAgNNRMmID1k;
path=/; expires=Wed, 05-Nov-25 17:32:52 GMT; domain=.api.openai.com; HttpOnly;
Secure; SameSite=None
- _cfuvid=YbnVYU7oeTjCRYAJnnHXiAQQVV3d8oVhE2Y3HYDGOck-1762362172584-0.0.1.1-604800000;
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
cf-cache-status:
- DYNAMIC
openai-organization:
- user-hortuttj2f3qtmxyik2zxf4q
openai-processing-ms:
- '530'
openai-project:
- proj_fL4UBWR1CMpAAdgzaSKqsVvA
openai-version:
- '2020-10-01'
x-envoy-upstream-service-time:
- '708'
x-openai-proxy-wasm:
- v0.1
x-ratelimit-limit-requests:
- '500'
x-ratelimit-limit-tokens:
- '200000'
x-ratelimit-remaining-requests:
- '499'
x-ratelimit-remaining-tokens:
- '199794'
x-ratelimit-reset-requests:
- 120ms
x-ratelimit-reset-tokens:
- 61ms
x-request-id:
- req_92825bccb8324affac6be4aefca6de74
status:
code: 200
message: OK
- request:
body: '{"messages":[{"role":"system","content":"You are Scorer. You''re an expert
scorer, specialized in scoring titles.\nYour personal goal is: Score the title\nTo
give my best complete final answer to the task respond using 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: Give me an integer score between 1-5 for the following title: ''The impact
of AI in the future of work''\n\nThis is the expected criteria for your final
answer: The score of the title.\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":"assistant","content":"Thought: I now can give a great
answer\nFinal Answer: 4"}],"model":"gpt-4.1-mini","response_format":{"type":"json_schema","json_schema":{"schema":{"properties":{"score":{"title":"Score","type":"integer"}},"required":["score"],"title":"ScoreOutput","type":"object","additionalProperties":false},"name":"ScoreOutput","strict":true}},"stream":false}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate, zstd
connection:
- keep-alive
content-length:
- '1276'
content-type:
- application/json
cookie:
- __cf_bm=LqcItbUhSjz3rvr4uLGOXuwKtfbHhS3rrcgEyCEiHsg-1762362172-1.0.1.1-S1jp_Tbjd.aVcqi7AoiJUpPlg4R1dLfu0f6sAohSpdH1RJmpQGh9r9gV2J3UjfSjnY5ifchB3C3rR7H5JIFtI0fTk11hisyXAgNNRMmID1k;
_cfuvid=YbnVYU7oeTjCRYAJnnHXiAQQVV3d8oVhE2Y3HYDGOck-1762362172584-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.109.1
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-helper-method:
- chat.completions.parse
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.109.1
x-stainless-read-timeout:
- '600'
x-stainless-retry-count:
- '0'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.12.9
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
body:
string: !!binary |
H4sIAAAAAAAAA4xSy27bMBC86yuIPVuBpchOoFviQ9oCPbS3ogkEmlpJTCkuQa6CBob/vaBkW3If
QC88cHaGM8M9JEKArqEUoDrJqncm3X3b7570Q/H19uNTxy1/CiF7fP/yYff4+Y1gFRm0f0XFZ9aN
ot4ZZE12gpVHyRhVs7ttfrvNs7t8BHqq0URa6zgtbrK011an+TrfpOsizYoTvSOtMEApvidCCHEY
z2jU1vgTSrFenW96DEG2COVlSAjwZOINyBB0YGkZVjOoyDLa0fvhGYIij89QFsfljMdmCDIatYMx
C0BaSyxj0NHdywk5XvwYap2nffiNCo22OnSVRxnIxrcDk4MRPSZCvIy5h6so4Dz1jiumHzg+lxeb
SQ/mvmf0jDGxNAvS5lTWtVxVI0ttwqI4UFJ1WM/UuWU51JoWQLII/aeZv2lPwbVt/0d+BpRCx1hX
zmOt1XXgecxj3MZ/jV1KHg1DQP+mFVas0cePqLGRg5lWBMJ7YOyrRtsWvfN62pPGVYXK7zdZc7/N
ITkmvwAAAP//AwCH4UYUNgMAAA==
headers:
CF-RAY:
- 999debdad9fb1dc7-EWR
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Wed, 05 Nov 2025 17:02:52 GMT
Server:
- cloudflare
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
cf-cache-status:
- DYNAMIC
openai-organization:
- user-hortuttj2f3qtmxyik2zxf4q
openai-processing-ms:
- '272'
openai-project:
- proj_fL4UBWR1CMpAAdgzaSKqsVvA
openai-version:
- '2020-10-01'
x-envoy-upstream-service-time:
- '292'
x-openai-proxy-wasm:
- v0.1
x-ratelimit-limit-requests:
- '500'
x-ratelimit-limit-tokens:
- '200000'
x-ratelimit-remaining-requests:
- '499'
x-ratelimit-remaining-tokens:
- '199779'
x-ratelimit-reset-requests:
- 120ms
x-ratelimit-reset-tokens:
- 66ms
x-request-id:
- req_e43487481430420a9f4e251245ddb7e4
status:
code: 200
message: OK
version: 1