updating tests

This commit is contained in:
João Moura
2024-09-23 03:58:41 -03:00
parent 7d981ba8ce
commit 59e51f18fd
98 changed files with 36353 additions and 16646 deletions

View File

@@ -18,7 +18,7 @@ interactions:
final answer: The result of the multiplication.\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", "stop": ["\nObservation:"]}'
job depends on it!\n\nThought:"}], "model": "gpt-4o"}'
headers:
accept:
- application/json
@@ -27,16 +27,16 @@ interactions:
connection:
- keep-alive
content-length:
- '1488'
- '1460'
content-type:
- application/json
cookie:
- __cf_bm=.8.5x0rqghNdtUCxfmwblfhuXiKyPm_cRq.NIa0heL0-1726642369-1.0.1.1-VbsAGqjOt45ZD50K2QW2oZrByLLIh6w8K4nAkLthTbXgU5qTgdf0mhvFId8Q2F3DcHUw9E72lVIZEN.YVlYINQ;
_cfuvid=o5s1Ux898x0eFNtzUCnG996iqyX3LgXDXq99C5oqnVE-1726642369248-0.0.1.1-604800000
- __cf_bm=MSMbC3L9m33fbO5Mdj70NJMu6kJCjhuwRcYuWJdJkYQ-1727071769-1.0.1.1-Dok5J431gUNvLRyLNrUo0A.FXXIuZUUooIMFSj74XUDgQJt0mlhf6QEEo6s9wXLhByXrdKr6cxYGBEkQoDslXg;
_cfuvid=5cK2hfLqTXw1WjB81uT.sGmmA67JIxSKSQeEHQ3zOQw-1727071769966-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.46.0
- OpenAI/Python 1.47.0
x-stainless-arch:
- arm64
x-stainless-async:
@@ -46,7 +46,7 @@ interactions:
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.46.0
- 1.47.0
x-stainless-raw-response:
- 'true'
x-stainless-runtime:
@@ -56,21 +56,20 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A8iqRqiESPIpRGqvW8U3QOh3GBT7i\",\n \"object\":
\"chat.completion\",\n \"created\": 1726642371,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-AAX07vqXF0y6c30BRAu1MmEL13cSH\",\n \"object\":
\"chat.completion\",\n \"created\": 1727073499,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"I need to find the product of 3 and 4.
To do this, I will use the multiplier tool.\\n\\nAction: multiplier\\nAction
Input: {\\\"first_number\\\": 3, \\\"second_number\\\": 4}\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 309,\n \"completion_tokens\":
45,\n \"total_tokens\": 354,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_a5d11b2ef2\"\n}\n"
\"assistant\",\n \"content\": \"Thought: I need to multiply 3 by 4 to
find the answer.\\nAction: multiplier\\nAction Input: {\\\"first_number\\\":
3, \\\"second_number\\\": 4}\",\n \"refusal\": null\n },\n \"logprobs\":
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
309,\n \"completion_tokens\": 37,\n \"total_tokens\": 346,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c4f6a6549bfa67a-MIA
- 8c7887fa2cef7461-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -78,21 +77,23 @@ interactions:
Content-Type:
- application/json
Date:
- Wed, 18 Sep 2024 06:52:52 GMT
- Mon, 23 Sep 2024 06:38:19 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=NWmPw03QmmBrmzmrwFLHNPR2YDJadYf_Y43muEwLZIQ-1727073499-1.0.1.1-1RWe4_mKmII8TI8dDIkwLavSlCBgjXDyLwk99rS.5CkqLS_nWYvRPLvvEO7QcC5Z9B3SUsjGBebmmv7Q3c8kLQ;
path=/; expires=Mon, 23-Sep-24 07:08:19 GMT; domain=.api.openai.com; HttpOnly;
Secure; SameSite=None
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '756'
- '533'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -110,7 +111,7 @@ interactions:
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_fe6684073255e997cfbafb897e562d44
- req_0425d030bff846d90ee77f73c6fb1efa
http_version: HTTP/1.1
status_code: 200
- request:
@@ -132,10 +133,9 @@ interactions:
final answer: The result of the multiplication.\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": "I need to find
the product of 3 and 4. To do this, I will use the multiplier tool.\n\nAction:
multiplier\nAction Input: {\"first_number\": 3, \"second_number\": 4}\nObservation:
12"}], "model": "gpt-4o", "stop": ["\nObservation:"]}'
job depends on it!\n\nThought:"}, {"role": "user", "content": "Thought: I need
to multiply 3 by 4 to find the answer.\nAction: multiplier\nAction Input: {\"first_number\":
3, \"second_number\": 4}\nObservation: 12"}], "model": "gpt-4o"}'
headers:
accept:
- application/json
@@ -144,16 +144,16 @@ interactions:
connection:
- keep-alive
content-length:
- '1701'
- '1643'
content-type:
- application/json
cookie:
- __cf_bm=.8.5x0rqghNdtUCxfmwblfhuXiKyPm_cRq.NIa0heL0-1726642369-1.0.1.1-VbsAGqjOt45ZD50K2QW2oZrByLLIh6w8K4nAkLthTbXgU5qTgdf0mhvFId8Q2F3DcHUw9E72lVIZEN.YVlYINQ;
_cfuvid=o5s1Ux898x0eFNtzUCnG996iqyX3LgXDXq99C5oqnVE-1726642369248-0.0.1.1-604800000
- __cf_bm=NWmPw03QmmBrmzmrwFLHNPR2YDJadYf_Y43muEwLZIQ-1727073499-1.0.1.1-1RWe4_mKmII8TI8dDIkwLavSlCBgjXDyLwk99rS.5CkqLS_nWYvRPLvvEO7QcC5Z9B3SUsjGBebmmv7Q3c8kLQ;
_cfuvid=5cK2hfLqTXw1WjB81uT.sGmmA67JIxSKSQeEHQ3zOQw-1727071769966-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.46.0
- OpenAI/Python 1.47.0
x-stainless-arch:
- arm64
x-stainless-async:
@@ -163,7 +163,7 @@ interactions:
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.46.0
- 1.47.0
x-stainless-raw-response:
- 'true'
x-stainless-runtime:
@@ -173,20 +173,20 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A8iqSRGQ0MRS9CE0TqBBpY9MQQTC8\",\n \"object\":
\"chat.completion\",\n \"created\": 1726642372,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-AAX08asL2vbNU1PjZDevzYleVSR7t\",\n \"object\":
\"chat.completion\",\n \"created\": 1727073500,\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.\\nFinal
Answer: The result of the multiplication is 12.\",\n \"refusal\": null\n
Answer: The result of multiplying 3 by 4 is 12.\",\n \"refusal\": null\n
\ },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n
\ ],\n \"usage\": {\n \"prompt_tokens\": 362,\n \"completion_tokens\":
21,\n \"total_tokens\": 383,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_a5d11b2ef2\"\n}\n"
\ ],\n \"usage\": {\n \"prompt_tokens\": 354,\n \"completion_tokens\":
25,\n \"total_tokens\": 379,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c4f6a6becb1a67a-MIA
- 8c7887ff6f487461-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -194,7 +194,7 @@ interactions:
Content-Type:
- application/json
Date:
- Wed, 18 Sep 2024 06:52:53 GMT
- Mon, 23 Sep 2024 06:38:20 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -208,7 +208,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '415'
- '360'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -220,13 +220,13 @@ interactions:
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999604'
- '29999612'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_78606000e4fa77552bb68932091b5bc1
- req_f370cdd959646dc9ab97f5d4a382737c
http_version: HTTP/1.1
status_code: 200
version: 1