Files
crewAI/lib/crewai/tests/cassettes/test_output_json_dict_hierarchical.yaml
2025-11-05 11:54:23 -05:00

689 lines
32 KiB
YAML

interactions:
- request:
body: '{"trace_id": "bd226c6a-d46a-4a61-92bd-c0ae6916242e", "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-05T13:05:03.902706+00:00"},
"ephemeral_trace_id": "bd226c6a-d46a-4a61-92bd-c0ae6916242e"}'
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":"035ea8ab-d9da-445a-b5fc-1f39684c9a82","ephemeral_trace_id":"bd226c6a-d46a-4a61-92bd-c0ae6916242e","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-05T13:05:04.204Z","updated_at":"2025-11-05T13:05:04.204Z","access_code":"TRACE-53d8d777b2","user_identifier":null}'
headers:
Connection:
- keep-alive
Content-Length:
- '515'
Content-Type:
- application/json; charset=utf-8
Date:
- Wed, 05 Nov 2025 13:05:04 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/"e548cfe6433ee61762325866e1d29f06"
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:
- 28222da0-7c32-4cc8-a671-43b310a704c0
x-runtime:
- '0.080781'
x-xss-protection:
- 1; mode=block
status:
code: 201
message: Created
- request:
body: '{"messages":[{"role":"system","content":"You are Crew Manager. You are
a seasoned manager with a knack for getting the best out of your team.\nYou
are also known for your ability to delegate work to the right people, and to
ask the right questions to get the best out of your team.\nEven though you don''t
perform tasks by yourself, you have a lot of experience in the field, which
allows you to properly evaluate the work of your team members.\nYour personal
goal is: Manage the team to complete the task in the best way possible.\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\nTool Arguments:
{''task'': {''description'': ''The task to delegate'', ''type'': ''str''}, ''context'':
{''description'': ''The context for the task'', ''type'': ''str''}, ''coworker'':
{''description'': ''The role/name of the coworker to delegate to'', ''type'':
''str''}}\nTool Description: Delegate a specific task to one of the following
coworkers: Scorer\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 absolutely everything you know, don''t reference things
but instead explain them.\nTool Name: Ask question to coworker\nTool Arguments:
{''question'': {''description'': ''The question to ask'', ''type'': ''str''},
''context'': {''description'': ''The context for the question'', ''type'': ''str''},
''coworker'': {''description'': ''The role/name of the coworker to ask'', ''type'':
''str''}}\nTool Description: Ask a specific question to one of the following
coworkers: Scorer\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 absolutely everything you know, don''t
reference things but instead explain them.\n\nIMPORTANT: Use the following format
in your response:\n\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 JSON object, enclosed in curly braces, using \"
to wrap keys and values.\nObservation: the result of the action\n```\n\nOnce
all necessary information is gathered, return the following format:\n\n```\nThought:
I now know the final answer\nFinal Answer: the final answer to the original
input question\n```"},{"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-4o"}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate, zstd
connection:
- keep-alive
content-length:
- '2962'
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//jFRNb9swDL3nVxC69OIUaZMmqW/FBhTdBmxAW6DFXBisTNtaZEmQ6LRZ
kf8+yE7idB/ALobNx0e+J5F+GwEIVYgUhKyRZeP0+MPjw/3y+vHndLWqP1+7r/fN9Ja+lJ+kfqjn
IokM+/yDJO9Zp9I2ThMra3pYekKmWPVsMT+fzhaXk1kHNLYgHWmV4/HMjs8n57PxZDme7OrK2ipJ
QaTwfQQA8NY9o0RT0KtIYZLsIw2FgBWJ9JAEILzVMSIwBBUYDYtkAKU1TKZTfVfbtqo5hRswRAWw
hYI0VcgEXBMwhhXYEoK0XpmqjynWFDPjx620nnwCztu1KmIKag2GZFTlN9D1emUorY/5TeTRGnUb
OyiOPEdeb04zk5krGY8uhY97CS/WryJD2vhGfp8CN8a1nMJbJqLCTKSQiU7KkcKTu5pANQ4lRwtX
N6BMB5ctt55iLFY9gRfFNSB45Kj/mfiFyMAZoCng4jQTCWRi56Pv9E0TBoregirIAwZHkgOEVtaA
ATxpWqORlIDU6BVvkq4YmQorasgwOBuvQKGOMg6aD812dgdfPhPb4zv0VLYB4wiZVusjAI2xjPGQ
uul52iHbw7xoWzlvn8NvVFEqo0Kde8JgTZyNwNaJDt2OAJ66uWzfjZpw3jaOc7Yr6trNp4u+nhg2
YUAv5zuQLaMe4ovpNPlLvbwgRqXD0WQLibKmYqAOa4BtoewRMDpy/aeav9XunStT/U/5AZCSHFOR
O0+Fku8dD2me4o/iX2mHU+4Ei0B+rSTlrMjHmyioxFb3OyzCJjA1ealMRd551S9y6XJcLJfyAqmc
iNF29AsAAP//AwDuE+4/0QQAAA==
headers:
CF-RAY:
- 999c8f80492e067e-EWR
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Wed, 05 Nov 2025 13:05:06 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=mOg2j4dXf4kSfO7acO43LX.7qK.DdSNQqgahjdacKt0-1762347906-1.0.1.1-T6DQ2XDxgTzsb9qeEUDfmRxRYOZ4em_YS0hsnOe8mRevYecPIIFk.74dIewOpcIy5eGkjHIH1Rri5PIzxWJwwbB3ujO7AIzmRc6whfvE1gM;
path=/; expires=Wed, 05-Nov-25 13:35:06 GMT; domain=.api.openai.com; HttpOnly;
Secure; SameSite=None
- _cfuvid=df.GfTiaGyaVstOBLyTBOTiNt7qX84ayWeNmDUnghY4-1762347906013-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:
- '1885'
openai-project:
- proj_fL4UBWR1CMpAAdgzaSKqsVvA
openai-version:
- '2020-10-01'
x-envoy-upstream-service-time:
- '1902'
x-openai-proxy-wasm:
- v0.1
x-ratelimit-limit-requests:
- '500'
x-ratelimit-limit-tokens:
- '30000'
x-ratelimit-remaining-requests:
- '499'
x-ratelimit-remaining-tokens:
- '29288'
x-ratelimit-reset-requests:
- 120ms
x-ratelimit-reset-tokens:
- 1.424s
x-request-id:
- req_74f82226506245ea9680478f1a9bef53
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: Score the title ''The impact of AI in the future of work'' with a rating
between 1 and 5.\n\nThis is the expected 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:\nPlease consider aspects such as relevance,
clarity, and engagement potential of the title.\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:
- '1106'
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//nFRNbyM3DL37VxBz6SU2Yq/zsb6lRYtNL9tDinbRLAxa4sywkUStxLEz
XeS/F5Lt2OkHUPRijPVIinrvkV8nAA3bZgWN6VGNj2763adff75bPPzyx6L9fo6bdvPt9sOnj+8/
/iT9zY/NRcmQze9k9Jg1M+KjI2UJe9gkQqVSdX5zvXi3vHl/eV0BL5ZcSeuiTpez+dRz4OnicnE1
vVxO58tDei9sKDcr+G0CAPC1/pZGg6XnZgWXF8cTTzljR83qNQigSeLKSYM5c1YM2lycQCNBKdTe
H3oZul5X8NATKKsjeGzKN/uIRkFauLsHDqA9QTvokKic7SQ9PTbAGXruejdCIkdbDAqYSwIGC6wZ
qG3JaAYJQD46GT2VmGBrhejQENgxoGeTAROBSaxs0EHt0UdJmEbgnAfKM7jXcqVxhKkWMRIMZ7oA
y4mMuhHoOSbKmUNXO1aJbGDH2suggH7D3cA6zupzY5+wRnKGrAm567WVtMNkYTMo+HIADs1TgSV0
QKHDjuobJMEQ+MtAgXIGFWDvyTIquREMxsoUwiYJWsDBMgVD32RALdSzBCiOwUS2JHtJr0SU0jHJ
Vgwqbw+q5Bl8kB1tKV0AVxbywIobNwKHVpLfxxZSMMYkMZVWoN3XagslEtCV2mjQUrmnUvysefYY
HsMPXOC7kHeUVnAPqaTr/zEFwhIK29LCVZUsG0mUYUfOFSMcrGL23RqHiXU8kxCtfZWQfaGzuql4
oRgZ8lAnD3yhMlVxD5bYSbIcuhncOa2+LlQZGZyFDYFHS5BdEdWNe8arnuUiSVUOcq7829QmyhcG
IHcQvIUhdRTMWEmELwPlquOe/SpLIo8cck2rzj9qcvDPnssiShkOLlNoyR6FmJ3PaKJ2yFgWRRic
OwMwBFEsN9ft8PmAvLzuAyddTLLJf0ltWg6c+3UizBLK7GeV2FT0ZQLwue6d4c0qaWISH3Wt8kT1
usXisHea0747ofPr6wOqouhOwLvbI/Cm4NqSIrt8troag6Yne0o97bkyRHIGTM6e/fd2/qn2/ukc
uv9S/gQYQ1HJrmMiy+btk09hiYor/y3slebacJMpbdnQWplSkcJSi4PbL+kmj1nJr1sOHaWYeL+p
27hemsXt1by9vV40k5fJnwAAAP//AwCX1tlCuAYAAA==
headers:
CF-RAY:
- 999c8f8d18bc377d-EWR
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Wed, 05 Nov 2025 13:05:09 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=J8Sl0m2ObREGifmuqy8YxSKQ5tXDLSH_92OXj_DhW2E-1762347909-1.0.1.1-tyfcAqhDgwmQJ2fsFRmEVL_pfYaLIPfZyKHiINDt4Pb5QGvavagh3OZb2CP1_Y30LoLYs7_xuTSiJ0Bo9L_bnmC_P9KBPzXDMIeIEsXzjvU;
path=/; expires=Wed, 05-Nov-25 13:35:09 GMT; domain=.api.openai.com; HttpOnly;
Secure; SameSite=None
- _cfuvid=Tl1jskVakHrdmimHnu7kJBEi3zly5JR4kN9yAV._Msc-1762347909063-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:
- '2775'
openai-project:
- proj_fL4UBWR1CMpAAdgzaSKqsVvA
openai-version:
- '2020-10-01'
x-envoy-upstream-service-time:
- '2927'
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:
- '199749'
x-ratelimit-reset-requests:
- 120ms
x-ratelimit-reset-tokens:
- 75ms
x-request-id:
- req_00e6f796860b4422b5f6abc2fb0e14b8
status:
code: 200
message: OK
- request:
body: '{"messages":[{"role":"system","content":"You are Crew Manager. You are
a seasoned manager with a knack for getting the best out of your team.\nYou
are also known for your ability to delegate work to the right people, and to
ask the right questions to get the best out of your team.\nEven though you don''t
perform tasks by yourself, you have a lot of experience in the field, which
allows you to properly evaluate the work of your team members.\nYour personal
goal is: Manage the team to complete the task in the best way possible.\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\nTool Arguments:
{''task'': {''description'': ''The task to delegate'', ''type'': ''str''}, ''context'':
{''description'': ''The context for the task'', ''type'': ''str''}, ''coworker'':
{''description'': ''The role/name of the coworker to delegate to'', ''type'':
''str''}}\nTool Description: Delegate a specific task to one of the following
coworkers: Scorer\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 absolutely everything you know, don''t reference things
but instead explain them.\nTool Name: Ask question to coworker\nTool Arguments:
{''question'': {''description'': ''The question to ask'', ''type'': ''str''},
''context'': {''description'': ''The context for the question'', ''type'': ''str''},
''coworker'': {''description'': ''The role/name of the coworker to ask'', ''type'':
''str''}}\nTool Description: Ask a specific question to one of the following
coworkers: Scorer\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 absolutely everything you know, don''t
reference things but instead explain them.\n\nIMPORTANT: Use the following format
in your response:\n\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 JSON object, enclosed in curly braces, using \"
to wrap keys and values.\nObservation: the result of the action\n```\n\nOnce
all necessary information is gathered, return the following format:\n\n```\nThought:
I now know the final answer\nFinal Answer: the final answer to the original
input question\n```"},{"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 need to delegate the task of scoring the title to the Scorer, providing all
necessary context for them to evaluate it properly.\n\nAction: Delegate work
to coworker\nAction Input: {\"task\": \"Score the title ''The impact of AI in
the future of work'' with a rating between 1 and 5.\", \"context\": \"Please
consider aspects such as relevance, clarity, and engagement potential of the
title.\", \"coworker\": \"Scorer\"}\nObservation: I rate the title \"The impact
of AI in the future of work\" a 4 out of 5. It scores well on relevance and
clarity, directly addressing timely and important subject matter with clear
wording. Although it could be made slightly more engaging or compelling by adding
an element of urgency or a question format, it remains an effective and strong
title for its intended context."}],"model":"gpt-4o"}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate, zstd
connection:
- keep-alive
content-length:
- '3814'
content-type:
- application/json
cookie:
- __cf_bm=mOg2j4dXf4kSfO7acO43LX.7qK.DdSNQqgahjdacKt0-1762347906-1.0.1.1-T6DQ2XDxgTzsb9qeEUDfmRxRYOZ4em_YS0hsnOe8mRevYecPIIFk.74dIewOpcIy5eGkjHIH1Rri5PIzxWJwwbB3ujO7AIzmRc6whfvE1gM;
_cfuvid=df.GfTiaGyaVstOBLyTBOTiNt7qX84ayWeNmDUnghY4-1762347906013-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-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//jFLBatwwEL37K4TO6+LddbMb30pLIYGlPTSQ0g22Vh7bSmSNkMZNQ9h/
L5I3a6dNoReB9OY9vTczzwljXNW8YFx2gmRvdfrx++3Np2vcdde3zXq4d1eH9U23+7r78nTIBV8E
Bh7uQdIL653E3moghWaEpQNBEFSXm4vVOt9cZpcR6LEGHWitpTTHdJWt8jTbptnFidihkuB5wX4k
jDH2HM9g0dTwixcsW7y89OC9aIEX5yLGuEMdXrjwXnkShvhiAiUaAhNdV1W1N986HNqOCnbFDD6y
h3BQB6xRRmgmjH8Etzef4+1DvBUs35uqquaqDprBixDKDFrPAGEMkghNiXnuTsjxnEBjax0e/B9U
3iijfFc6EB5NcOsJLY/oMWHsLnZqeBWeW4e9pZLwAeJ322U+6vFpNhO63J5AQhJ6xlqvFm/olTWQ
UNrPes2lkB3UE3UajBhqhTMgmaX+281b2mNyZdr/kZ8AKcES1KV1UCv5OvFU5iCs7r/Kzl2OhrkH
91NJKEmBC5OooRGDHreK+ydP0JeNMi0469S4Wo0txWa7le8FNBlPjslvAAAA//8DAJ7eTmZjAwAA
headers:
CF-RAY:
- 999c8f9febe7067e-EWR
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Wed, 05 Nov 2025 13:05:09 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:
- '432'
openai-project:
- proj_fL4UBWR1CMpAAdgzaSKqsVvA
openai-version:
- '2020-10-01'
x-envoy-upstream-service-time:
- '453'
x-openai-proxy-wasm:
- v0.1
x-ratelimit-limit-requests:
- '500'
x-ratelimit-limit-tokens:
- '30000'
x-ratelimit-remaining-requests:
- '499'
x-ratelimit-remaining-tokens:
- '29087'
x-ratelimit-reset-requests:
- 120ms
x-ratelimit-reset-tokens:
- 1.826s
x-request-id:
- req_ef6ca35033a94136bf4d017a85711526
status:
code: 200
message: OK
- request:
body: '{"messages":[{"role":"system","content":"You are Crew Manager. You are
a seasoned manager with a knack for getting the best out of your team.\nYou
are also known for your ability to delegate work to the right people, and to
ask the right questions to get the best out of your team.\nEven though you don''t
perform tasks by yourself, you have a lot of experience in the field, which
allows you to properly evaluate the work of your team members.\nYour personal
goal is: Manage the team to complete the task in the best way possible.\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\nTool Arguments:
{''task'': {''description'': ''The task to delegate'', ''type'': ''str''}, ''context'':
{''description'': ''The context for the task'', ''type'': ''str''}, ''coworker'':
{''description'': ''The role/name of the coworker to delegate to'', ''type'':
''str''}}\nTool Description: Delegate a specific task to one of the following
coworkers: Scorer\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 absolutely everything you know, don''t reference things
but instead explain them.\nTool Name: Ask question to coworker\nTool Arguments:
{''question'': {''description'': ''The question to ask'', ''type'': ''str''},
''context'': {''description'': ''The context for the question'', ''type'': ''str''},
''coworker'': {''description'': ''The role/name of the coworker to ask'', ''type'':
''str''}}\nTool Description: Ask a specific question to one of the following
coworkers: Scorer\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 absolutely everything you know, don''t
reference things but instead explain them.\n\nIMPORTANT: Use the following format
in your response:\n\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 JSON object, enclosed in curly braces, using \"
to wrap keys and values.\nObservation: the result of the action\n```\n\nOnce
all necessary information is gathered, return the following format:\n\n```\nThought:
I now know the final answer\nFinal Answer: the final answer to the original
input question\n```"},{"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 need to delegate the task of scoring the title to the Scorer, providing all
necessary context for them to evaluate it properly.\n\nAction: Delegate work
to coworker\nAction Input: {\"task\": \"Score the title ''The impact of AI in
the future of work'' with a rating between 1 and 5.\", \"context\": \"Please
consider aspects such as relevance, clarity, and engagement potential of the
title.\", \"coworker\": \"Scorer\"}\nObservation: I rate the title \"The impact
of AI in the future of work\" a 4 out of 5. It scores well on relevance and
clarity, directly addressing timely and important subject matter with clear
wording. Although it could be made slightly more engaging or compelling by adding
an element of urgency or a question format, it remains an effective and strong
title for its intended context."},{"role":"assistant","content":"```\nThought:
I now know the final answer\nFinal Answer: 4\n```"}],"model":"gpt-4o","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:
- '4175'
content-type:
- application/json
cookie:
- __cf_bm=mOg2j4dXf4kSfO7acO43LX.7qK.DdSNQqgahjdacKt0-1762347906-1.0.1.1-T6DQ2XDxgTzsb9qeEUDfmRxRYOZ4em_YS0hsnOe8mRevYecPIIFk.74dIewOpcIy5eGkjHIH1Rri5PIzxWJwwbB3ujO7AIzmRc6whfvE1gM;
_cfuvid=df.GfTiaGyaVstOBLyTBOTiNt7qX84ayWeNmDUnghY4-1762347906013-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 |
H4sIAAAAAAAAAwAAAP//jJLLbtswEEX3+gpi1lahOk4sa5m0KNBuigAuUjSBQJMjmQ3FYclRkcLw
vxeUH5L7ALLhgmfu8N7h7DIhwGioBKitZNV5m999fVi/u/9493y7fv/hvuyD+WzXL5uHH19WV59g
lhS0+Y6KT6o3ijpvkQ25A1YBJWPq+nZ5M79aLFfFagAdabRJ1nrOF5TPi/kiL8q8uDkKt2QURqjE
t0wIIXbDmSw6jS9QiWJ2uukwRtkiVOciISCQTTcgYzSRpWOYjVCRY3SD690jREUBH6Fa7Kc1AZs+
ymTR9dZOgHSOWKaIg7unI9mf/VhqfaBN/EMKjXEmbuuAMpJLb0cmDwPdZ0I8Dbn7iyjgA3Wea6Zn
HJ4ry2NuGCc90usjY2Jpp6ITuGhXa2RpbJwMDpRUW9SjdJyy7LWhCcgmof8286/eh+DGta9pPwKl
0DPq2gfURl0GHssCpj38X9l5yINhiBh+GoU1GwzpIzQ2sreHFYH4KzJ2dWNci8EHc9iTxtdyWZbq
WmJTQLbPfgMAAP//AwBiDAH+MAMAAA==
headers:
CF-RAY:
- 999c8fa35e4b067e-EWR
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Wed, 05 Nov 2025 13:05:10 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:
- '933'
openai-project:
- proj_fL4UBWR1CMpAAdgzaSKqsVvA
openai-version:
- '2020-10-01'
x-envoy-upstream-service-time:
- '942'
x-openai-proxy-wasm:
- v0.1
x-ratelimit-limit-requests:
- '500'
x-ratelimit-limit-tokens:
- '30000'
x-ratelimit-remaining-requests:
- '499'
x-ratelimit-remaining-tokens:
- '29071'
x-ratelimit-reset-requests:
- 120ms
x-ratelimit-reset-tokens:
- 1.858s
x-request-id:
- req_de8d52db4c174befb7603fcbf5530c78
status:
code: 200
message: OK
version: 1