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

242 lines
8.6 KiB
YAML

interactions:
- 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//jFLRbtQwEHzPV6z8fKkubq535A2VIhWEoFKpSksVuc4mMTi2sTc9UHX/
jpxcLykUiZdI2dkZz+zuYwLAVMUKYLIVJDun09Mv158v+NnF6s315dmnq+3Vu645fv/xx7n4cHrD
FpFh77+hpCfWkbSd00jKmhGWHgVhVM3WJ/w4X7/ifAA6W6GOtMZRmh9laaeMSvmSr9Jlnmb5nt5a
JTGwAm4TAIDH4RuNmgp/sgKWi6dKhyGIBllxaAJg3upYYSIEFUgYYosJlNYQmsH7ZWv7pqUCzsHY
LUhhoFEPCAKaGACECVv0X81bZYSG18NfAflczWPdBxEjmV7rGSCMsSTiSIYcd3tkd3CubeO8vQ9/
UFmtjApt6VEEa6LLQNaxAd0lAHfDhPpnoZnztnNUkv2Ow3PZZj3qsWkzM3S1B8mS0FOdL/niBb2y
QhJKh9mMmRSyxWqiTgsRfaXsDEhmqf9285L2mFyZ5n/kJ0BKdIRV6TxWSj5PPLV5jIf7r7bDlAfD
LKB/UBJLUujjJiqsRa/Ha2LhVyDsylqZBr3zajyp2pW55JtVVm9OOEt2yW8AAAD//wMAosBr42ED
AAA=
headers:
CF-RAY:
- 999c8ff0bc15562b-EWR
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Wed, 05 Nov 2025 13:05:22 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=Db6GisAz3OBZ7FRoQgdVqCmStcAp2mEBFTTgDt3znGk-1762347922-1.0.1.1-8VO2VF.jmkxCp8sQ6cPxAHnZZXHBvEhFmLU9EnXXy0Slib08MknRLEEzmuK5C_tCZElkUA7g74wcbJHgOmJORW4N2HNQEHyADMS4pjbxjiM;
path=/; expires=Wed, 05-Nov-25 13:35:22 GMT; domain=.api.openai.com; HttpOnly;
Secure; SameSite=None
- _cfuvid=IvuD9I7gOh2LocvyUIHHVH7MdQVzhLVrSqThX9IPYTA-1762347922456-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:
- '366'
openai-project:
- proj_fL4UBWR1CMpAAdgzaSKqsVvA
openai-version:
- '2020-10-01'
x-envoy-upstream-service-time:
- '383'
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_8fe14054fcd74c5cbf4945d16cccc2b4
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=Db6GisAz3OBZ7FRoQgdVqCmStcAp2mEBFTTgDt3znGk-1762347922-1.0.1.1-8VO2VF.jmkxCp8sQ6cPxAHnZZXHBvEhFmLU9EnXXy0Slib08MknRLEEzmuK5C_tCZElkUA7g74wcbJHgOmJORW4N2HNQEHyADMS4pjbxjiM;
_cfuvid=IvuD9I7gOh2LocvyUIHHVH7MdQVzhLVrSqThX9IPYTA-1762347922456-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//jFLBTuMwFLznK6x3blDjTUvJlQvaGwckWECRsV9SL45t7Be0qOq/Iydt
ky67EhcfPG/GM+O3yxgDraBiILeCZOdNfv1wf3f7Ht7sw83PzS/f3qp7Xqzfluaj5HewSAz38hsl
HVkX0nXeIGlnR1gGFIRJtbhc8x/l5RXnA9A5hSbRWk95eVHknbY650u+ypdlXpQH+tZpiREq9pgx
xthuOJNRq/APVGy5ON50GKNoEarTEGMQnEk3IGLUkYQlWEygdJbQDt53TxClC/gEVbmfzwRs+iiS
UdsbMwOEtY5ECjq4ez4g+5Mf41of3Ev8iwqNtjpu64AiOpvejuQ8DOg+Y+x5yN2fRQEfXOepJveK
w3O8XI16MPU9oUeMHAkzI60OZZ3L1QpJaBNnxYEUcotqok4ti15pNwOyWeivZv6lPQbXtv2O/ARI
iZ5Q1T6g0vI88DQWMG3j/8ZOJQ+GIWJ41xJr0hjSRyhsRG/GFYH4EQm7utG2xeCDHvek8XUp+WZV
NJs1h2yffQIAAP//AwAEBrH/NgMAAA==
headers:
CF-RAY:
- 999c8ff37a78562b-EWR
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Wed, 05 Nov 2025 13:05:22 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:
- '329'
openai-project:
- proj_fL4UBWR1CMpAAdgzaSKqsVvA
openai-version:
- '2020-10-01'
x-envoy-upstream-service-time:
- '351'
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_c1eb4e14adfc4c2dbc6941bbe87572a6
status:
code: 200
message: OK
version: 1