Bringing support to o1 family back + any models that don't support stop words

This commit is contained in:
João Moura
2024-09-24 22:18:20 -03:00
parent b8aa46a767
commit e19bdcb97d
104 changed files with 56051 additions and 65319 deletions

View File

@@ -22,8 +22,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:
@@ -47,8 +47,8 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAjHTuuV95QhBpmusGTtkHAAW5zoe\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120703,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-AB7dNDXti7bOsw9kra0QNMJNvOK8p\",\n \"object\":
\"chat.completion\",\n \"created\": 1727214317,\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: {name}\",\n \"refusal\": null\n },\n \"logprobs\":
@@ -59,7 +59,7 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d086e5883a4c7-MIA
- 8c85f5e9dbfb1cf3-GRU
Connection:
- keep-alive
Content-Encoding:
@@ -67,7 +67,7 @@ interactions:
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:45:04 GMT
- Tue, 24 Sep 2024 21:45:17 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -79,11 +79,11 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '260'
- '341'
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:
@@ -97,7 +97,7 @@ interactions:
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_7a592de255a2d10eb3d583a914aec4b9
- req_58f7c7076ac0f79f04a096a7555c9621
http_version: HTTP/1.1
status_code: 200
- request:
@@ -124,8 +124,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:
@@ -149,8 +149,8 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAjHUWJfJyP3WIQjcDbqKfS3BkFWR\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120704,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-AB7dNguikGmTEHJUzd7BpLiisSqmE\",\n \"object\":
\"chat.completion\",\n \"created\": 1727214317,\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: Hi {name}\",\n \"refusal\": null\n },\n \"logprobs\":
@@ -161,7 +161,7 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d0871ce3ba4c7-MIA
- 8c85f5edb9ea1cf3-GRU
Connection:
- keep-alive
Content-Encoding:
@@ -169,7 +169,7 @@ interactions:
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:45:04 GMT
- Tue, 24 Sep 2024 21:45:18 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -181,11 +181,11 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '229'
- '216'
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:
@@ -199,7 +199,7 @@ interactions:
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_aae1c8f1b09925e35896eb2b8919feef
- req_bdbcea773f09ad13e2e29a748696d898
http_version: HTTP/1.1
status_code: 200
- request:
@@ -226,8 +226,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:
@@ -251,19 +251,19 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAjHVdI9bmxP8VRAxensqHyWF3qWa\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120705,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-AB7dOMkHewDrIkagS04MkzAekcgrJ\",\n \"object\":
\"chat.completion\",\n \"created\": 1727214318,\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: Hi, {name}\",\n \"refusal\": null\n },\n \"logprobs\":
Answer: Hi {name}\",\n \"refusal\": null\n },\n \"logprobs\":
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
167,\n \"completion_tokens\": 18,\n \"total_tokens\": 185,\n \"completion_tokens_details\":
167,\n \"completion_tokens\": 17,\n \"total_tokens\": 184,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_52a7f40b0b\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d0875eccfa4c7-MIA
- 8c85f5f248211cf3-GRU
Connection:
- keep-alive
Content-Encoding:
@@ -271,7 +271,7 @@ interactions:
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:45:05 GMT
- Tue, 24 Sep 2024 21:45:19 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -283,11 +283,11 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '248'
- '228'
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:
@@ -301,7 +301,7 @@ interactions:
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_9d67362a27147db2f97f0090576860b8
- req_131d34341ba3bb2c52b0cb823246ec54
http_version: HTTP/1.1
status_code: 200
version: 1