mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 00:58:30 +00:00
updating tests
This commit is contained in:
@@ -11,7 +11,7 @@ interactions:
|
||||
final answer: The calculated area of the circle in square centimeters.\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-3.5-turbo", "temperature":
|
||||
Answer, your job depends on it!\n\nThought:"}], "model": "gpt-4o-mini", "temperature":
|
||||
0.7}'
|
||||
headers:
|
||||
accept:
|
||||
@@ -21,7 +21,7 @@ interactions:
|
||||
connection:
|
||||
- keep-alive
|
||||
content-length:
|
||||
- '971'
|
||||
- '969'
|
||||
content-type:
|
||||
- application/json
|
||||
host:
|
||||
@@ -47,23 +47,30 @@ interactions:
|
||||
method: POST
|
||||
uri: https://api.openai.com/v1/chat/completions
|
||||
response:
|
||||
content: "{\n \"id\": \"chatcmpl-AAS0lhHgefJ8xPU6zCPtob5F78940\",\n \"object\":
|
||||
\"chat.completion\",\n \"created\": 1727054319,\n \"model\": \"gpt-3.5-turbo-0125\",\n
|
||||
content: "{\n \"id\": \"chatcmpl-AAWc3f0wdIr8yohCeoM8A3NkxSS1V\",\n \"object\":
|
||||
\"chat.completion\",\n \"created\": 1727072007,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n
|
||||
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
||||
\"assistant\",\n \"content\": \"I now can give a great answer\\n\\nFinal
|
||||
Answer: The area of a circle with a radius of 5 cm is calculated using the formula
|
||||
A = \u03C0r^2, where A is the area and r is the radius. Plugging in the values,
|
||||
we get A = \u03C0*5^2 = 25\u03C0 square centimeters. Therefore, the area of
|
||||
the circle is 25\u03C0 square centimeters.\",\n \"refusal\": null\n },\n
|
||||
\"assistant\",\n \"content\": \"I now can give a great answer. \\n\\nTo
|
||||
calculate the area of a circle, we use the formula:\\n\\n\\\\[ \\n\\\\text{Area}
|
||||
= \\\\pi r^2 \\n\\\\]\\n\\nwhere \\\\( r \\\\) is the radius of the circle.
|
||||
In this case, the radius \\\\( r = 5 \\\\) cm.\\n\\nNow, substituting the value
|
||||
of the radius into the formula:\\n\\n\\\\[\\n\\\\text{Area} = \\\\pi (5 \\\\,
|
||||
\\\\text{cm})^2 \\n\\\\]\\n\\\\[\\n\\\\text{Area} = \\\\pi (25 \\\\, \\\\text{cm}^2)
|
||||
\\n\\\\]\\n\\\\[\\n\\\\text{Area} = 25\\\\pi \\\\, \\\\text{cm}^2 \\n\\\\]\\n\\nUsing
|
||||
\\\\( \\\\pi \\\\approx 3.14 \\\\) for approximation:\\n\\n\\\\[\\n\\\\text{Area}
|
||||
\\\\approx 25 \\\\times 3.14 \\\\, \\\\text{cm}^2 \\n\\\\]\\n\\\\[\\n\\\\text{Area}
|
||||
\\\\approx 78.5 \\\\, \\\\text{cm}^2 \\n\\\\]\\n\\nThus, the area of the circle
|
||||
with a radius of 5 cm is:\\n\\nFinal Answer: The calculated area of the circle
|
||||
is approximately 78.5 square centimeters.\",\n \"refusal\": null\n },\n
|
||||
\ \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n
|
||||
\ \"usage\": {\n \"prompt_tokens\": 183,\n \"completion_tokens\": 84,\n
|
||||
\ \"total_tokens\": 267,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
||||
0\n }\n },\n \"system_fingerprint\": null\n}\n"
|
||||
\ \"usage\": {\n \"prompt_tokens\": 182,\n \"completion_tokens\": 254,\n
|
||||
\ \"total_tokens\": 436,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
||||
0\n }\n },\n \"system_fingerprint\": \"fp_1bb46167f9\"\n}\n"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 8c76b3b72c793349-MIA
|
||||
- 8c78638c3f388d9d-MIA
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Encoding:
|
||||
@@ -71,14 +78,14 @@ interactions:
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 23 Sep 2024 01:18:40 GMT
|
||||
- Mon, 23 Sep 2024 06:13:29 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Set-Cookie:
|
||||
- __cf_bm=TeTRbPiJaFK4ahD.Jcn.OXJKBhZ9em1uRlh96HCWPrw-1727054320-1.0.1.1-wynsdWOtpQFneOccmdqt94MLYqbP4aS3uErVbl5gzBp48yD2CWJx.S83LGs73v2rv70MrWf67VaH_Df8zmYvFA;
|
||||
path=/; expires=Mon, 23-Sep-24 01:48:40 GMT; domain=.api.openai.com; HttpOnly;
|
||||
- __cf_bm=vmaz6ybk30RNoJyL.2DOjggLzTpOa2A4xrXKEtywCGI-1727072009-1.0.1.1-547._RUGUXsM4GWm43lLDGO1XQxBJLlrryLjl4NnQUUpPmtnWpkTmEzKjDsIbrCu8HqE_48urIKNj7tYwQcJpQ;
|
||||
path=/; expires=Mon, 23-Sep-24 06:43:29 GMT; domain=.api.openai.com; HttpOnly;
|
||||
Secure; SameSite=None
|
||||
- _cfuvid=ufNZ8SuxXI8q3rj.hIWfLMY49QRTHLKc5qY0rZhKi9Y-1727054320731-0.0.1.1-604800000;
|
||||
- _cfuvid=us4l1LvU9c9.1Ixmndsq37GYds_z2WTzBYtSSWYHEyg-1727072009986-0.0.1.1-604800000;
|
||||
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
|
||||
Transfer-Encoding:
|
||||
- chunked
|
||||
@@ -89,25 +96,25 @@ interactions:
|
||||
openai-organization:
|
||||
- crewai-iuxna1
|
||||
openai-processing-ms:
|
||||
- '1390'
|
||||
- '2714'
|
||||
openai-version:
|
||||
- '2020-10-01'
|
||||
strict-transport-security:
|
||||
- max-age=15552000; includeSubDomains; preload
|
||||
x-ratelimit-limit-requests:
|
||||
- '10000'
|
||||
- '30000'
|
||||
x-ratelimit-limit-tokens:
|
||||
- '50000000'
|
||||
- '150000000'
|
||||
x-ratelimit-remaining-requests:
|
||||
- '9999'
|
||||
- '29999'
|
||||
x-ratelimit-remaining-tokens:
|
||||
- '49999774'
|
||||
- '149999775'
|
||||
x-ratelimit-reset-requests:
|
||||
- 6ms
|
||||
- 2ms
|
||||
x-ratelimit-reset-tokens:
|
||||
- 0s
|
||||
x-request-id:
|
||||
- req_55824505fec1d9fbaa123884d57d4a75
|
||||
- req_b33d286ea9a1f6f9023047812a492076
|
||||
http_version: HTTP/1.1
|
||||
status_code: 200
|
||||
version: 1
|
||||
|
||||
Reference in New Issue
Block a user