updating tests

This commit is contained in:
João Moura
2024-09-23 17:45:20 -03:00
parent 493f046c03
commit 2d54b096af
96 changed files with 65055 additions and 30874 deletions

View File

@@ -1,70 +1,4 @@
interactions:
- request:
body: !!binary |
Cs4PCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSpQ8KEgoQY3Jld2FpLnRl
bGVtZXRyeRKcAQoQd0GBQZEUfvq4mjfV3e7G5BII5pDuMtcWiO0qClRvb2wgVXNhZ2UwATmofdB0
yMv3F0HwO9l0yMv3F0oaCg5jcmV3YWlfdmVyc2lvbhIICgYwLjYxLjBKKAoJdG9vbF9uYW1lEhsK
GURlbGVnYXRlIHdvcmsgdG8gY293b3JrZXJKDgoIYXR0ZW1wdHMSAhgBegIYAYUBAAEAABKQAgoQ
XvS6LvEr6QW9ju3FIaAkCxIIchDitvgejksqDlRhc2sgRXhlY3V0aW9uMAE56HS/d8fL9xdBeKqt
n8jL9xdKLgoIY3Jld19rZXkSIgogNWU2ZWZmZTY4MGE1ZDk3ZGMzODczYjE0ODI1Y2NmYTNKMQoH
Y3Jld19pZBImCiQ0ZmJhOGJjNS04YTM5LTQxNDUtYjU5OC1kNGZkODQ2ZjBlZGFKLgoIdGFza19r
ZXkSIgogMjdlZjM4Y2M5OWRhNGE4ZGVkNzBlZDQwNmU0NGFiODZKMQoHdGFza19pZBImCiRmOTAy
MDI0Mi1hZTI4LTQ4MWItOWU3ZC0xZmUwOTE3MDdiNDR6AhgBhQEAAQAAEssJChCyLlpy+g5WDsPh
+PDD+fEeEghWb44+kW9LOyoMQ3JldyBDcmVhdGVkMAE5qKZNocjL9xdBEE5SocjL9xdKGgoOY3Jl
d2FpX3ZlcnNpb24SCAoGMC42MS4wShoKDnB5dGhvbl92ZXJzaW9uEggKBjMuMTEuN0ouCghjcmV3
X2tleRIiCiA3NDI3NTczMTJlZjdiYjRlZTBiMDY2MmQxYzJlMjE3OUoxCgdjcmV3X2lkEiYKJDVm
MDA3MTljLWFj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rZXkiOiAiMjdlZjM4Y2M5OWRhNGE4ZGVkNzBlZDQwNmU0NGFiODYiLCAiaWQiOiAiOTA4
YzIxODMtM2E3NC00MmY0LTgyZDUtNTBhZTBiMGJjOWQ1IiwgImFzeW5jX2V4ZWN1dGlvbj8iOiBm
YWxzZSwgImh1bWFuX2lucHV0PyI6IGZhbHNlLCAiYWdlbnRfcm9sZSI6ICJNYW5hZ2VyIiwgImFn
ZW50X2tleSI6ICI4OWNmMzExYjQ4YjUyMTY5ZDQyZjM5MjVjNWJlMWM1YSIsICJ0b29sc19uYW1l
cyI6IFtdfV16AhgBhQEAAQAAEo4CChDAwiUSj0ww9+g5F7+o0HB7Eggx1lYQmmkduSoMVGFzayBD
cmVhdGVkMAE5GMq8o8jL9xdBSLy9o8jL9xdKLgoIY3Jld19rZXkSIgogNzQyNzU3MzEyZWY3YmI0
ZWUwYjA2NjJkMWMyZTIxNzlKMQoHY3Jld19pZBImCiQ1ZjAwNzE5Yy1hYzgyLTRiNGEtYjFkNy04
YzM0NGUwODNlMmZKLgoIdGFza19rZXkSIgogMjdlZjM4Y2M5OWRhNGE4ZGVkNzBlZDQwNmU0NGFi
ODZKMQoHdGFza19pZBImCiQ5MDhjMjE4My0zYTc0LTQyZjQtODJkNS01MGFlMGIwYmM5ZDV6AhgB
hQEAAQAA
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '2001'
Content-Type:
- 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 Sep 2024 06:30:46 GMT
status:
code: 200
message: OK
- request:
body: '{"messages": [{"role": "system", "content": "You are Manager. You''re great
at delegating work about scoring.\nYour personal goal is: Coordinate scoring
@@ -112,8 +46,8 @@ interactions:
content-type:
- application/json
cookie:
- __cf_bm=hYfEMfBWpIoRPjx9ZBZg6DVeMOMr1IZt9ioup8yWZs0-1727072673-1.0.1.1-Ro7GCLuWS0K5ob0mSTYSmovONKNyxsK6oSA5io_Vwqhe6P0G7Ow4CuZUaWAaCdFGQUd7XZiFH0mI_sQC3uqe0g;
_cfuvid=5cK2hfLqTXw1WjB81uT.sGmmA67JIxSKSQeEHQ3zOQw-1727071769966-0.0.1.1-604800000
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -137,25 +71,26 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAWsnQ1rNx2Ez1WLWXHXIWRmV2VWh\",\n \"object\":
\"chat.completion\",\n \"created\": 1727073045,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-AAjLg6n5xKbHFDalcGRka0fh2huR5\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120964,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I need to delegate the task
of scoring the title \\\"The impact of AI in the future of work\\\" to the Scorer
with the necessary context.\\n\\nAction: Delegate work to coworker\\nAction
Input: {\\\"task\\\": \\\"Score the title 'The impact of AI in the future of
work' with an integer between 1-5.\\\", \\\"context\\\": \\\"Please provide
an integer score between 1-5 for the given title, considering its relevance,
clarity, and impact.\\\", \\\"coworker\\\": \\\"Scorer\\\"}\",\n \"refusal\":
\"assistant\",\n \"content\": \"To provide a score for the given title
\\\"The impact of AI in the future of work,\\\" I will delegate this task to
the Scorer, who is responsible for scoring tasks based on specific guidelines.\\n\\nAction:
Delegate work to coworker\\nAction Input: {\\\"task\\\": \\\"Give a score for
the title 'The impact of AI in the future of work'\\\", \\\"context\\\": \\\"Please
provide an integer score between 1-5 for the title 'The impact of AI in the
future of work'. This score should reflect the relevance, clarity, and impact
of the title.\\\", \\\"coworker\\\": \\\"Scorer\\\"}\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 584,\n \"completion_tokens\":
107,\n \"total_tokens\": 691,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
124,\n \"total_tokens\": 708,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c787ce49a9da4ee-MIA
- 8c7d0ec849bea4c7-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -163,7 +98,7 @@ interactions:
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 06:30:49 GMT
- Mon, 23 Sep 2024 19:49:25 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -175,7 +110,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '3331'
- '1577'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -187,13 +122,13 @@ interactions:
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999362'
- '29999361'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 1ms
x-request-id:
- req_90101a01687742ed0ed5b80cf560f78e
- req_761304a27921f90b6b6515d5d59e611b
http_version: HTTP/1.1
status_code: 200
- request:
@@ -203,15 +138,15 @@ interactions:
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 an integer between 1-5.\n\nThis is the expect 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
provide an integer score between 1-5 for the given title, considering its relevance,
clarity, and impact.\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"}'
"content": "\nCurrent Task: Give a score for the title ''The impact of AI in
the future of work''\n\nThis is the expect 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 provide an integer score between
1-5 for the title ''The impact of AI in the future of work''. This score should
reflect the relevance, clarity, and impact 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-4o"}'
headers:
accept:
- application/json
@@ -220,12 +155,12 @@ interactions:
connection:
- keep-alive
content-length:
- '1118'
- '1162'
content-type:
- application/json
cookie:
- __cf_bm=hYfEMfBWpIoRPjx9ZBZg6DVeMOMr1IZt9ioup8yWZs0-1727072673-1.0.1.1-Ro7GCLuWS0K5ob0mSTYSmovONKNyxsK6oSA5io_Vwqhe6P0G7Ow4CuZUaWAaCdFGQUd7XZiFH0mI_sQC3uqe0g;
_cfuvid=5cK2hfLqTXw1WjB81uT.sGmmA67JIxSKSQeEHQ3zOQw-1727071769966-0.0.1.1-604800000
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -249,19 +184,19 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAWsrX8p5c3JDbpIDBTgsO7IiAj7Y\",\n \"object\":
\"chat.completion\",\n \"created\": 1727073049,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-AAjLhW1aEpXrcJ3xRtrjwmMPgNgdH\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120965,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I now can give a great answer\\nFinal
\"assistant\",\n \"content\": \"I now can give a great answer\\nFinal
Answer: 4\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
226,\n \"completion_tokens\": 15,\n \"total_tokens\": 241,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_52a7f40b0b\"\n}\n"
235,\n \"completion_tokens\": 13,\n \"total_tokens\": 248,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c787cfd5f71a4ee-MIA
- 8c7d0ed48baaa4c7-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -269,7 +204,7 @@ interactions:
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 06:30:49 GMT
- Mon, 23 Sep 2024 19:49:26 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -281,7 +216,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '336'
- '289'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -293,13 +228,13 @@ interactions:
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999732'
- '29999720'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_a6d3d67c58e6c7fd0e913d9d9cc33883
- req_d61278f225f5108015ec597e8a4adf3c
http_version: HTTP/1.1
status_code: 200
- request:
@@ -336,13 +271,14 @@ interactions:
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": "user", "content": "Thought: I need to delegate
the task of scoring the title \"The impact of AI in the future of work\" to
the Scorer with the necessary context.\n\nAction: Delegate work to coworker\nAction
Input: {\"task\": \"Score the title ''The impact of AI in the future of work''
with an integer between 1-5.\", \"context\": \"Please provide an integer score
between 1-5 for the given title, considering its relevance, clarity, and impact.\",
\"coworker\": \"Scorer\"}\nObservation: 4"}], "model": "gpt-4o"}'
on it!\n\nThought:"}, {"role": "user", "content": "To provide a score for the
given title \"The impact of AI in the future of work,\" I will delegate this
task to the Scorer, who is responsible for scoring tasks based on specific guidelines.\n\nAction:
Delegate work to coworker\nAction Input: {\"task\": \"Give a score for the title
''The impact of AI in the future of work''\", \"context\": \"Please provide
an integer score between 1-5 for the title ''The impact of AI in the future
of work''. This score should reflect the relevance, clarity, and impact of the
title.\", \"coworker\": \"Scorer\"}\nObservation: 4"}], "model": "gpt-4o"}'
headers:
accept:
- application/json
@@ -351,12 +287,12 @@ interactions:
connection:
- keep-alive
content-length:
- '3115'
- '3207'
content-type:
- application/json
cookie:
- __cf_bm=hYfEMfBWpIoRPjx9ZBZg6DVeMOMr1IZt9ioup8yWZs0-1727072673-1.0.1.1-Ro7GCLuWS0K5ob0mSTYSmovONKNyxsK6oSA5io_Vwqhe6P0G7Ow4CuZUaWAaCdFGQUd7XZiFH0mI_sQC3uqe0g;
_cfuvid=5cK2hfLqTXw1WjB81uT.sGmmA67JIxSKSQeEHQ3zOQw-1727071769966-0.0.1.1-604800000
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -380,19 +316,19 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAWssvvf1LmOPCojEzPzFBRhom1TF\",\n \"object\":
\"chat.completion\",\n \"created\": 1727073050,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-AAjLjakh08rGjqYokPVqY6xIpnih9\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120967,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I now know the final answer\\n\\nFinal
\"assistant\",\n \"content\": \"Thought: I now know the final answer\\nFinal
Answer: 4\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
699,\n \"completion_tokens\": 14,\n \"total_tokens\": 713,\n \"completion_tokens_details\":
716,\n \"completion_tokens\": 14,\n \"total_tokens\": 730,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c787d015913a4ee-MIA
- 8c7d0ed859a4a4c7-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -400,7 +336,7 @@ interactions:
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 06:30:50 GMT
- Mon, 23 Sep 2024 19:49:27 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -412,7 +348,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '296'
- '242'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -424,13 +360,13 @@ interactions:
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999248'
- '29999224'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 1ms
x-request-id:
- req_c096d76e3760eaeb1c85c7d206eaa1b6
- req_546662b9acd4b7af554b383f99f81974
http_version: HTTP/1.1
status_code: 200
version: 1