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 a1023739e0
commit cbb858d375
104 changed files with 56051 additions and 65319 deletions

View File

@@ -24,8 +24,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:
@@ -49,22 +49,19 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAjLVWVIbwjBEVXoYK4ValLzlCRI6\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120953,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-AB7gKOb785BSjHMwGUL7QpXJHDfmJ\",\n \"object\":
\"chat.completion\",\n \"created\": 1727214500,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"The title \\\"The impact of AI in the
future of work\\\" is both descriptive and engaging, giving a clear indication
of the scope and subject matter. It is relevant and precise, addressing a contemporary
and significant topic.\\n\\nFinal Answer: 5\",\n \"refusal\": null\n
\ },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n
\ ],\n \"usage\": {\n \"prompt_tokens\": 186,\n \"completion_tokens\":
48,\n \"total_tokens\": 234,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_52a7f40b0b\"\n}\n"
\"assistant\",\n \"content\": \"Thought: I now can give a great answer\\nFinal
Answer: 4\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
186,\n \"completion_tokens\": 15,\n \"total_tokens\": 201,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_52a7f40b0b\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d0e889810a4c7-MIA
- 8c85fa63ed091cf3-GRU
Connection:
- keep-alive
Content-Encoding:
@@ -72,7 +69,7 @@ interactions:
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:49:14 GMT
- Tue, 24 Sep 2024 21:48:21 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -84,11 +81,11 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '691'
- '199'
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,7 +99,7 @@ interactions:
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_c04b759b443c5ccbdacfdbaa378c30f2
- req_93411fed8e9bb5607df0dbc5d178f2cb
http_version: HTTP/1.1
status_code: 200
version: 1