fixing parser, tools and executor

This commit is contained in:
João Moura
2024-09-15 18:41:59 -03:00
parent c2795307f6
commit f216b0a78c
98 changed files with 21270 additions and 26437 deletions

View File

@@ -9,7 +9,7 @@ interactions:
is the expect criteria for your final answer: the result of the math operation.\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"]}'
Answer, your job depends on it!\n\nThought:"}], "model": "gpt-4o", "stop": ["\nResult"]}'
headers:
accept:
- application/json
@@ -18,7 +18,7 @@ interactions:
connection:
- keep-alive
content-length:
- '824'
- '819'
content-type:
- application/json
host:
@@ -44,20 +44,20 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A6vVMzM73rBd8lIL6xiNCIahy03M2\",\n \"object\":
\"chat.completion\",\n \"created\": 1726214380,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-A7cVp8LQJstMjidnGAMxUm02nfaRC\",\n \"object\":
\"chat.completion\",\n \"created\": 1726379701,\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
Answer: The result of the math operation 1 + 1 is 2.\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 163,\n \"completion_tokens\":
28,\n \"total_tokens\": 191,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
\"assistant\",\n \"content\": \"Thought: I now can give a great answer\\nFinal
Answer: The result of 1 + 1 is 2.\",\n \"refusal\": null\n },\n
\ \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n
\ \"usage\": {\n \"prompt_tokens\": 163,\n \"completion_tokens\": 25,\n
\ \"total_tokens\": 188,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c2699624b2914f2-LAX
- 8c365d8ede6e221a-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -65,14 +65,14 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 13 Sep 2024 07:59:40 GMT
- Sun, 15 Sep 2024 05:55:02 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=r6BNUnXat.26mviZiJYUf7Qj4ea5gbt_oPxyClKcVOE-1726214380-1.0.1.1-2S3G10sPdiG2syQSO8wKWXE7Nmdgt88imgakr81w9DemMH8mVDg0q6r9ANx6tM4_CPvgGQlMVstDhDRkIDwhzg;
path=/; expires=Fri, 13-Sep-24 08:29:40 GMT; domain=.api.openai.com; HttpOnly;
- __cf_bm=J1VIPhfusyyXtwM.1L9zbe3jdnU7NVyHC3AWiKXO280-1726379702-1.0.1.1-LDa9RyXFli18t4ZEuVAENTChdNAkRtdWXRkRLbBHbCXdobugQ3T.arhMpSKwtnBRXKPcC4b66UA7BsSy1VXDHQ;
path=/; expires=Sun, 15-Sep-24 06:25:02 GMT; domain=.api.openai.com; HttpOnly;
Secure; SameSite=None
- _cfuvid=dp2yoCmGHVlURh_U78_UoIfnhcO5UhufnL5whkUSMTQ-1726214380689-0.0.1.1-604800000;
- _cfuvid=Bz2zevKuFYZqnEFwqmqVHcRo5pT0fm0fTtc_6_VQs4g-1726379702153-0.0.1.1-604800000;
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
Transfer-Encoding:
- chunked
@@ -85,7 +85,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '391'
- '320'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -103,7 +103,7 @@ interactions:
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_ee64113c0ccf03c69b2cb1911423a3a2
- req_ffd50c50c8e0706b3829f93c630791d6
http_version: HTTP/1.1
status_code: 200
version: 1