Files
crewAI/lib/crewai/tests/cassettes/test_save_task_pydantic_output.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

241 lines
8.5 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 |
H4sIAAAAAAAAA4xSTU/cMBC951eMfN6gTch+KLeCQIDaC+XAtkWR15kkUxzbsh22Ldr/jpwsm1Co
1EukzJv3/N7MPEcAjEqWAxMN96I1Mj7fbM+vrs+qG3fbXdHtt+zz/X3z9cufzd3mYsdmgaG3P1H4
V9aJ0K2R6EmrARYWucegmqyW6ekyTVanPdDqEmWg1cbH2UkSt6QoTufpIp5ncZId6I0mgY7l8D0C
AHjuv8GoKvEXy2E+e6206ByvkeXHJgBmtQwVxp0j57nybDaCQiuPqvd+1+iubnwO16D0DgRXUNMT
Aoc6BACu3A7tD3VJikv41P/lkE3VLFad4yGS6qScAFwp7XkYSZ/j4YDsj86lro3VW/cXlVWkyDWF
Re60Ci6d14b16D4CeOgn1L0JzYzVrfGF14/YP5esV4MeGzczQRcH0GvP5VhP5+nsA72iRM9JusmM
meCiwXKkjgvhXUl6AkST1O/dfKQ9JCdV/4/8CAiBxmNZGIslibeJxzaL4XD/1Xaccm+YObRPJLDw
hDZsosSKd3K4JuZ+O49tUZGq0RpLw0lVpshEul4k1XqZsmgfvQAAAP//AwDqWlfDYQMAAA==
headers:
CF-RAY:
- 999debdd89d62223-EWR
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Wed, 05 Nov 2025 17:02:53 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=tfabkCaSRhhrfazOeTzwx40DBXVo2PjV9viPz7rNRSA-1762362173-1.0.1.1-448VqZWH1ZRKLLTCSb9Qezp9.0dIiDqeZ0CVT8Q.dmfbePuniUR.EDrrXv4lBIWqNgZ_yF1ety_tftCaKIm0Uq4ydaAKdcHVUoOMUjhtvY4;
path=/; expires=Wed, 05-Nov-25 17:32:53 GMT; domain=.api.openai.com; HttpOnly;
Secure; SameSite=None
- _cfuvid=l9MNhSJeUsRd3C2.MkHdNv0aEoH19qe6RpeKp4Gf.do-1762362173542-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:
- '408'
openai-project:
- proj_fL4UBWR1CMpAAdgzaSKqsVvA
openai-version:
- '2020-10-01'
x-envoy-upstream-service-time:
- '421'
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_f1d89dcf14e44e1590e646ecef55c6ff
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=tfabkCaSRhhrfazOeTzwx40DBXVo2PjV9viPz7rNRSA-1762362173-1.0.1.1-448VqZWH1ZRKLLTCSb9Qezp9.0dIiDqeZ0CVT8Q.dmfbePuniUR.EDrrXv4lBIWqNgZ_yF1ety_tftCaKIm0Uq4ydaAKdcHVUoOMUjhtvY4;
_cfuvid=l9MNhSJeUsRd3C2.MkHdNv0aEoH19qe6RpeKp4Gf.do-1762362173542-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//jFKxbtswFNz1FcSbrcBSJDvR6g5FliJj2wQCTT5JbCmSIJ9aF4b/vaBk
W3KSAl048N4d747vmDAGSkLFQHScRO90uvu6330+dNm37fr3ITx+eUYaxKen8rk77ApYRYbd/0BB
F9adsL3TSMqaCRYeOWFUzbab/H6TZ9v7EeitRB1praO0uMvSXhmV5uu8TNdFmp3VRWeVwAAV+54w
xthxPKNRI/EAFVuvLjc9hsBbhOo6xBh4q+MN8BBUIG4IVjMorCE0o/fjCwRhPb5AVZyWMx6bIfBo
1AxaLwBujCUeg47uXs/I6epH29Z5uw9vqNAoo0JXe+TBmvh2IOtgRE8JY69j7uEmCjhve0c12Z84
PpcX5aQHc98zesHIEtcLUnku61aulkhc6bAoDgQXHcqZOrfMB6nsAkgWod+b+Uh7Cq5M+z/yMyAE
OkJZO49SidvA85jHuI3/GruWPBqGgP6XEliTQh8/QmLDBz2tCIQ/gbCvG2Va9M6raU8aVxcifyiz
5mGTQ3JK/gIAAP//AwCqSfwtNgMAAA==
headers:
CF-RAY:
- 999debe15a932223-EWR
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Wed, 05 Nov 2025 17:02:54 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:
- '283'
openai-project:
- proj_fL4UBWR1CMpAAdgzaSKqsVvA
openai-version:
- '2020-10-01'
x-envoy-upstream-service-time:
- '445'
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_85126ec40c9942809be5f2cf8a5927dc
status:
code: 200
message: OK
version: 1