mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-21 22:08:21 +00:00
Bringing support to o1 family back + any models that don't support stop words
This commit is contained in:
@@ -32,8 +32,8 @@ interactions:
|
||||
content-type:
|
||||
- application/json
|
||||
cookie:
|
||||
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
|
||||
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
|
||||
- __cf_bm=9.8sBYBkvBR8R1K_bVF7xgU..80XKlEIg3N2OBbTSCU-1727214102-1.0.1.1-.qiTLXbPamYUMSuyNsOEB9jhGu.jOifujOrx9E2JZvStbIZ9RTIiE44xKKNfLPxQkOi6qAT3h6htK8lPDGV_5g;
|
||||
_cfuvid=lbRdAddVWV6W3f5Dm9SaOPWDUOxqtZBSPr_fTW26nEA-1727213194587-0.0.1.1-604800000
|
||||
host:
|
||||
- api.openai.com
|
||||
user-agent:
|
||||
@@ -57,20 +57,20 @@ interactions:
|
||||
method: POST
|
||||
uri: https://api.openai.com/v1/chat/completions
|
||||
response:
|
||||
content: "{\n \"id\": \"chatcmpl-AAjGMCE3lCeQjPGnBjblFH5FkTP5y\",\n \"object\":
|
||||
\"chat.completion\",\n \"created\": 1727120634,\n \"model\": \"gpt-4o-2024-05-13\",\n
|
||||
content: "{\n \"id\": \"chatcmpl-AB7c8ieBqEbQdKzYTe6QChiS2830e\",\n \"object\":
|
||||
\"chat.completion\",\n \"created\": 1727214240,\n \"model\": \"gpt-4o-2024-05-13\",\n
|
||||
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
||||
\"assistant\",\n \"content\": \"Thought: I need to access the sales data
|
||||
to determine the total number of sales.\\n\\nAction: return_data\\nAction Input:
|
||||
{}\",\n \"refusal\": null\n },\n \"logprobs\": null,\n \"finish_reason\":
|
||||
\"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 316,\n \"completion_tokens\":
|
||||
26,\n \"total_tokens\": 342,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
||||
0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
|
||||
\"assistant\",\n \"content\": \"Thought: I need to retrieve the data
|
||||
related to sales to provide the total number of sales as an integer.\\n\\nAction:
|
||||
return_data\\nAction Input: {}\",\n \"refusal\": null\n },\n \"logprobs\":
|
||||
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
|
||||
316,\n \"completion_tokens\": 31,\n \"total_tokens\": 347,\n \"completion_tokens_details\":
|
||||
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 8c7d06b8886da4c7-MIA
|
||||
- 8c85f409ae4e1cf3-GRU
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Encoding:
|
||||
@@ -78,7 +78,7 @@ interactions:
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 23 Sep 2024 19:43:55 GMT
|
||||
- Tue, 24 Sep 2024 21:44:01 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Transfer-Encoding:
|
||||
@@ -90,11 +90,11 @@ interactions:
|
||||
openai-organization:
|
||||
- crewai-iuxna1
|
||||
openai-processing-ms:
|
||||
- '1090'
|
||||
- '508'
|
||||
openai-version:
|
||||
- '2020-10-01'
|
||||
strict-transport-security:
|
||||
- max-age=15552000; includeSubDomains; preload
|
||||
- max-age=31536000; includeSubDomains; preload
|
||||
x-ratelimit-limit-requests:
|
||||
- '10000'
|
||||
x-ratelimit-limit-tokens:
|
||||
@@ -102,15 +102,75 @@ interactions:
|
||||
x-ratelimit-remaining-requests:
|
||||
- '9999'
|
||||
x-ratelimit-remaining-tokens:
|
||||
- '29999621'
|
||||
- '29999622'
|
||||
x-ratelimit-reset-requests:
|
||||
- 6ms
|
||||
x-ratelimit-reset-tokens:
|
||||
- 0s
|
||||
x-request-id:
|
||||
- req_82f53b83b45ff38b5f35404967a82ea2
|
||||
- req_83f07f34517c5559eba83c0a1059de4c
|
||||
http_version: HTTP/1.1
|
||||
status_code: 200
|
||||
- request:
|
||||
body: !!binary |
|
||||
CpcNCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkS7gwKEgoQY3Jld2FpLnRl
|
||||
bGVtZXRyeRJ5ChBYs4zhwoXOQFfR3HwGmUeCEgjJAik1Lh4xXioQVG9vbCBVc2FnZSBFcnJvcjAB
|
||||
OWjpWrAyTPgXQfA9ZbAyTPgXShoKDmNyZXdhaV92ZXJzaW9uEggKBjAuNjEuMEoPCgNsbG0SCAoG
|
||||
Z3B0LTRvegIYAYUBAAEAABKQAgoQRXf2dhPAua74lNxhJK3uEhII9cI1Ij2yKBEqDlRhc2sgRXhl
|
||||
Y3V0aW9uMAE5KBckvidM+BdBWCiuRjNM+BdKLgoIY3Jld19rZXkSIgogNDk0ZjM2NTcyMzdhZDhh
|
||||
MzAzNWIyZjFiZWVjZGM2NzdKMQoHY3Jld19pZBImCiRlOGFhNGExNi04ZmIzLTRmYTQtYTMxMi0x
|
||||
MWYwM2ZjMDEwYTBKLgoIdGFza19rZXkSIgogZjI1OTdjNzg2N2ZiZTMyNGRjNjVkYzA4ZGZkYmZj
|
||||
NmNKMQoHdGFza19pZBImCiRjNDVjZGEyMi1iMmFiLTRlNDQtYWZiNC01Y2JjYTZkNzRiYmR6AhgB
|
||||
hQEAAQAAErgHChBqnF88QWTHsXDo7/m7vZesEgj2Jf82pBsJJCoMQ3JldyBDcmVhdGVkMAE56Oyh
|
||||
STNM+BdBcGulSTNM+BdKGgoOY3Jld2FpX3ZlcnNpb24SCAoGM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0PyI6IGZhbHNlLCAiYWdlbnRfcm9sZSI6
|
||||
ICJSZXNlYXJjaGVyIiwgImFnZW50X2tleSI6ICI4YmQyMTM5YjU5NzUxODE1MDZlNDFmZDljNDU2
|
||||
M2Q3NSIsICJ0b29sc19uYW1lcyI6IFsicmV0dXJuX2RhdGEiXX1degIYAYUBAAEAABKOAgoQWGIX
|
||||
4Xvhj/7+mp64g2/lmxIIn59S3sbsueQqDFRhc2sgQ3JlYXRlZDABOfjovUkzTPgXQXBSvkkzTPgX
|
||||
Si4KCGNyZXdfa2V5EiIKIDE3YTZjYTAzZDg1MGZlMmYzMGMwYTEwNTFhZDVmN2U0SjEKB2NyZXdf
|
||||
aWQSJgokYWZjMzJjNzMtOGEzNy00NjUyLTk2ZmItZjhjZjczODE2MTM5Si4KCHRhc2tfa2V5EiIK
|
||||
IGY1OTQ5MjA4ZDZmMzllZTkwYWQwMGU5NzFjMTRhZGQzSjEKB3Rhc2tfaWQSJgokOTQwNzQ0NjAt
|
||||
NTljMC00MGY1LTk0M2ItYjlhN2IyNjY1YTExegIYAYUBAAEAAA==
|
||||
headers:
|
||||
Accept:
|
||||
- '*/*'
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- '1690'
|
||||
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:
|
||||
- Tue, 24 Sep 2024 21:44:01 GMT
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
- request:
|
||||
body: '{"messages": [{"role": "system", "content": "You are Researcher. You''re
|
||||
an expert researcher, specialized in technology, software engineering, AI and
|
||||
@@ -131,10 +191,10 @@ interactions:
|
||||
criteria for your final answer: The total number of sales as an integer\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 access the sales data to determine the total number of sales.\n\nAction:
|
||||
return_data\nAction Input: {}\nObservation: January: 5, February: 10, March:
|
||||
15, April: 20, May: 25"}], "model": "gpt-4o"}'
|
||||
Answer, your job depends on it!\n\nThought:"}, {"role": "assistant", "content":
|
||||
"Thought: I need to retrieve the data related to sales to provide the total
|
||||
number of sales as an integer.\n\nAction: return_data\nAction Input: {}\nObservation:
|
||||
January: 5, February: 10, March: 15, April: 20, May: 25"}], "model": "gpt-4o"}'
|
||||
headers:
|
||||
accept:
|
||||
- application/json
|
||||
@@ -143,12 +203,12 @@ interactions:
|
||||
connection:
|
||||
- keep-alive
|
||||
content-length:
|
||||
- '1792'
|
||||
- '1822'
|
||||
content-type:
|
||||
- application/json
|
||||
cookie:
|
||||
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
|
||||
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
|
||||
- __cf_bm=9.8sBYBkvBR8R1K_bVF7xgU..80XKlEIg3N2OBbTSCU-1727214102-1.0.1.1-.qiTLXbPamYUMSuyNsOEB9jhGu.jOifujOrx9E2JZvStbIZ9RTIiE44xKKNfLPxQkOi6qAT3h6htK8lPDGV_5g;
|
||||
_cfuvid=lbRdAddVWV6W3f5Dm9SaOPWDUOxqtZBSPr_fTW26nEA-1727213194587-0.0.1.1-604800000
|
||||
host:
|
||||
- api.openai.com
|
||||
user-agent:
|
||||
@@ -172,19 +232,20 @@ interactions:
|
||||
method: POST
|
||||
uri: https://api.openai.com/v1/chat/completions
|
||||
response:
|
||||
content: "{\n \"id\": \"chatcmpl-AAjGNyaoO3HUYKnctOmcV8EJ2bOBc\",\n \"object\":
|
||||
\"chat.completion\",\n \"created\": 1727120635,\n \"model\": \"gpt-4o-2024-05-13\",\n
|
||||
content: "{\n \"id\": \"chatcmpl-AB7c94bEPIg4rOK2mD2QZ2Od5xIXs\",\n \"object\":
|
||||
\"chat.completion\",\n \"created\": 1727214241,\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
|
||||
Answer: 75\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
|
||||
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
|
||||
372,\n \"completion_tokens\": 14,\n \"total_tokens\": 386,\n \"completion_tokens_details\":
|
||||
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
|
||||
\"assistant\",\n \"content\": \"Thought: I now know the final answer.\\n\\nFinal
|
||||
Answer: The total number of sales is 75.\",\n \"refusal\": null\n },\n
|
||||
\ \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n
|
||||
\ \"usage\": {\n \"prompt_tokens\": 377,\n \"completion_tokens\": 21,\n
|
||||
\ \"total_tokens\": 398,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
||||
0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 8c7d06c34819a4c7-MIA
|
||||
- 8c85f410f9931cf3-GRU
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Encoding:
|
||||
@@ -192,7 +253,7 @@ interactions:
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Mon, 23 Sep 2024 19:43:56 GMT
|
||||
- Tue, 24 Sep 2024 21:44:02 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Transfer-Encoding:
|
||||
@@ -204,11 +265,11 @@ interactions:
|
||||
openai-organization:
|
||||
- crewai-iuxna1
|
||||
openai-processing-ms:
|
||||
- '295'
|
||||
- '318'
|
||||
openai-version:
|
||||
- '2020-10-01'
|
||||
strict-transport-security:
|
||||
- max-age=15552000; includeSubDomains; preload
|
||||
- max-age=31536000; includeSubDomains; preload
|
||||
x-ratelimit-limit-requests:
|
||||
- '10000'
|
||||
x-ratelimit-limit-tokens:
|
||||
@@ -216,13 +277,13 @@ interactions:
|
||||
x-ratelimit-remaining-requests:
|
||||
- '9999'
|
||||
x-ratelimit-remaining-tokens:
|
||||
- '29999573'
|
||||
- '29999567'
|
||||
x-ratelimit-reset-requests:
|
||||
- 6ms
|
||||
x-ratelimit-reset-tokens:
|
||||
- 0s
|
||||
x-request-id:
|
||||
- req_ad5bc156d54da15d37129e4838944e90
|
||||
- req_6359d0b5a619bc298105eef983d1e3f6
|
||||
http_version: HTTP/1.1
|
||||
status_code: 200
|
||||
version: 1
|
||||
|
||||
Reference in New Issue
Block a user