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

@@ -29,8 +29,8 @@ interactions:
content-type:
- application/json
cookie:
- __cf_bm=4rzJDR3F8S3Dp4B_qwylZU0mdm_WUwmv8vNHHp3IplM-1727119501-1.0.1.1-qobO_Sf88yG1qtXFnLgykvyc9YXR_fm1J7ZpXIhvtynVnsz67Uwcf4122PgHs4GMrlvZMaL6z_UVcVYSYUJOKQ;
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
- _cfuvid=ePJSDFdHag2D8lj21_ijAMWjoA6xfnPNxN4uekvC728-1727226247743-0.0.1.1-604800000;
__cf_bm=3giyBOIM0GNudFELtsBWYXwLrpLBTNLsh81wfXgu2tg-1727226247-1.0.1.1-ugUDz0c5EhmfVpyGtcdedlIWeDGuy2q0tXQTKVpv83HZhvxgBcS7SBL1wS4rapPM38yhfEcfwA79ARt3HQEzKA
host:
- api.openai.com
user-agent:
@@ -54,11 +54,11 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAj0h7JgOaU39gS24GO3Wjmj3ypdN\",\n \"object\":
\"chat.completion\",\n \"created\": 1727119663,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-ABAtOWmVjvzQ9X58tKAUcOF4gmXwx\",\n \"object\":
\"chat.completion\",\n \"created\": 1727226842,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I need to use the get_final_answer
tool to gather the final answer.\\n\\nAction: get_final_answer\\nAction Input:
tool to determine the final answer.\\nAction: get_final_answer\\nAction Input:
{}\",\n \"refusal\": null\n },\n \"logprobs\": null,\n \"finish_reason\":
\"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 274,\n \"completion_tokens\":
27,\n \"total_tokens\": 301,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
@@ -67,7 +67,7 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7cef03c983228a-MIA
- 8c8727b3492f31e6-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -75,7 +75,7 @@ interactions:
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:27:43 GMT
- Wed, 25 Sep 2024 01:14:03 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -87,11 +87,11 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '439'
- '348'
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:
@@ -105,7 +105,7 @@ interactions:
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_08a532f2dcf536d7aecb6dd7fd3fede5
- req_be929caac49706f487950548bdcdd46e
http_version: HTTP/1.1
status_code: 200
- request:
@@ -126,7 +126,7 @@ interactions:
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 use the
get_final_answer tool to gather the final answer.\n\nAction: get_final_answer\nAction
get_final_answer tool to determine the final answer.\nAction: get_final_answer\nAction
Input: {}\nObservation: I encountered an error: Error on parsing tool.\nMoving
on then. I MUST either use a tool (use one at time) OR give my best final answer
not both at the same time. To Use the following format:\n\nThought: you should
@@ -146,12 +146,12 @@ interactions:
connection:
- keep-alive
content-length:
- '2319'
- '2320'
content-type:
- application/json
cookie:
- __cf_bm=4rzJDR3F8S3Dp4B_qwylZU0mdm_WUwmv8vNHHp3IplM-1727119501-1.0.1.1-qobO_Sf88yG1qtXFnLgykvyc9YXR_fm1J7ZpXIhvtynVnsz67Uwcf4122PgHs4GMrlvZMaL6z_UVcVYSYUJOKQ;
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
- _cfuvid=ePJSDFdHag2D8lj21_ijAMWjoA6xfnPNxN4uekvC728-1727226247743-0.0.1.1-604800000;
__cf_bm=3giyBOIM0GNudFELtsBWYXwLrpLBTNLsh81wfXgu2tg-1727226247-1.0.1.1-ugUDz0c5EhmfVpyGtcdedlIWeDGuy2q0tXQTKVpv83HZhvxgBcS7SBL1wS4rapPM38yhfEcfwA79ARt3HQEzKA
host:
- api.openai.com
user-agent:
@@ -175,8 +175,8 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAj0h1gayIfGVxX5afG8s1EMzVDfE\",\n \"object\":
\"chat.completion\",\n \"created\": 1727119663,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-ABAtPaaeRfdNsZ3k06CfAmrEW8IJu\",\n \"object\":
\"chat.completion\",\n \"created\": 1727226843,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Final Answer: The final answer\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
@@ -187,7 +187,7 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7cef0a7c17228a-MIA
- 8c8727b9da1f31e6-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -195,7 +195,7 @@ interactions:
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:27:44 GMT
- Wed, 25 Sep 2024 01:14:03 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -209,11 +209,11 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '171'
- '188'
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:
@@ -221,13 +221,13 @@ interactions:
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999444'
- '29999445'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 1ms
x-request-id:
- req_236879ff29af3c8d564c8b2c282f90c5
- req_d8e32538689fe064627468bad802d9a8
http_version: HTTP/1.1
status_code: 200
version: 1