From ad3f6b1f234934d765de8685675e817569eb11ef Mon Sep 17 00:00:00 2001 From: Joao Moura Date: Fri, 10 Nov 2023 18:32:49 -0300 Subject: [PATCH] removing cassetes --- .../cassettes/test_ask_question.yaml | 207 ------- .../cassettes/test_delegate_work.yaml | 215 ------- tests/cassettes/test_agent_execution.yaml | 195 ------ ...t_agent_execution_with_specific_tools.yaml | 303 --------- .../test_agent_execution_with_tools.yaml | 299 --------- tests/cassettes/test_crew_creation.yaml | 471 -------------- .../test_crew_with_delegating_agents.yaml | 579 ------------------ 7 files changed, 2269 deletions(-) delete mode 100644 tests/agent_tools/cassettes/test_ask_question.yaml delete mode 100644 tests/agent_tools/cassettes/test_delegate_work.yaml delete mode 100644 tests/cassettes/test_agent_execution.yaml delete mode 100644 tests/cassettes/test_agent_execution_with_specific_tools.yaml delete mode 100644 tests/cassettes/test_agent_execution_with_tools.yaml delete mode 100644 tests/cassettes/test_crew_creation.yaml delete mode 100644 tests/cassettes/test_crew_with_delegating_agents.yaml diff --git a/tests/agent_tools/cassettes/test_ask_question.yaml b/tests/agent_tools/cassettes/test_ask_question.yaml deleted file mode 100644 index f25aa1e70..000000000 --- a/tests/agent_tools/cassettes/test_ask_question.yaml +++ /dev/null @@ -1,207 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"role": "user", "content": "You are researcher.\nYou''re - an expert researcher, specialized in technology\n\nYour personal goal is: make - the best research and analysis on content about AI and AI agents\nTOOLS:\n------\n\nYou - have access to the following tools:\n\n\n\nTo use a tool, please use the following - format:\n\n```\nThought: Do I need to use a tool? Yes\nAction: the action to - take, should be one of []\nAction Input: the input to the action\nObservation: - the result of the action\n```\n\nWhen you have a response for your task, or - if you do not need to use a tool, you MUST use the format:\n\n```\nThought: - Do I need to use a tool? No\nFinal Answer: [your response here]\n```\n\t\tThis - is the summary of your work so far:\n \nBegin! This is VERY important - to you, your job depends on it!\n\nCurrent Task: do you hate AI Agents?\n\nThis - is the context you are working with:\nI heard you LOVE them\n\n"}], "model": - "gpt-4", "max_tokens": null, "stream": false, "n": 1, "temperature": 0.7, "stop": - ["\nObservation"]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '1042' - Content-Type: - - application/json - Cookie: - - __cf_bm=tK5mxmIOd60ucoQKATtbR8SRQ_JqyXuQNF3_REtUp8Y-1699495558-0-AYxCQwfqvfsWejuO19whuBqtsq2nrXi+wWcAirvErhN24TrrInAJKVGS9DLI/ZeUJPnfoX8EyTWdV32kPHM68cM= - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA1RSy24bMRC7+ysInR0jLyexL4WLooBboJemL7RFMNGOvXK1M4I0TuoE+fdAu07c - XnQQRQ4pzuMIcKFxczjfkvkuxaOrpcbrjx/o83RWNl/F0oP8+N58eVvCw2bmxpWhtxv29sKaeO1S - ZAsqA+wzk3FVPbmYzc5n08uzaQ902nCstHWyo/Oj44uTsz2j1eC5uDl+jgDgsT+rN2n4r5vjePxy - 03EptGY3f30EuKyx3jgqJRQjMTc+gF7FWHq7161u163N8U6xhDA3MMW2MAimGt/gk/6S90EoYiHl - nvMciwJC5sKUfct5jG6HFXMMsi4wvafcFCyWWKxZrIAyQ3hrmeKknxGs5YyodwzRjJaMYS13FS22 - bXYgaUBCcfcwIBj+N9xx3PX+pOFcYzUVDhlJa6BAcQxPiW5DDBa4jHulGLpgVNsoE3xrQ2QsQSll - 9mE/G8a+FY26Dp4iqLkj8dyxWEV3yJxqYLE+7EZvEWrUXkXJt4PLVdYOJIN1G5SkQfGhmlsFj8S5 - pCHJxO0LeXptchUklPYmMxWV2k4xTcOzpxHwu9+M7X9lu5S1S3Zj+oelrsvp8WzQc4clPKCXp3vQ - 1Cj+w7o6GdUhT6NnAAAA//8DAPOW3RcBAwAA - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 823282bba87b1ceb-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 09 Nov 2023 02:08:59 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '3917' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '100' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '99' - x-ratelimit-remaining-tokens: - - '299770' - x-ratelimit-reset-requests: - - 600ms - x-ratelimit-reset-tokens: - - 45ms - x-request-id: - - 9ddc4f75922fceafc44487e8f65707eb - status: - code: 200 - message: OK -- request: - body: '{"messages": [{"role": "user", "content": "Progressively summarize the - lines of conversation provided, adding onto the previous summary returning a - new summary.\n\nEXAMPLE\nCurrent summary:\nThe human asks what the AI thinks - of artificial intelligence. The AI thinks artificial intelligence is a force - for good.\n\nNew lines of conversation:\nHuman: Why do you think artificial - intelligence is a force for good?\nAI: Because artificial intelligence will - help humans reach their full potential.\n\nNew summary:\nThe human asks what - the AI thinks of artificial intelligence. The AI thinks artificial intelligence - is a force for good because it will help humans reach their full potential.\nEND - OF EXAMPLE\n\nCurrent summary:\n\n\nNew lines of conversation:\nHuman: do you - hate AI Agents?\n\nThis is the context you are working with:\nI heard you LOVE - them\nAI: As a researcher, my feelings towards AI Agents are neutral. I neither - love nor hate them. I study and analyze them objectively to understand their - potential, capabilities, and limitations. While I appreciate the technological - advancement they represent, my job is to approach them from an analytical and - scientific perspective.\n\nNew summary:"}], "model": "gpt-4", "max_tokens": - null, "stream": false, "n": 1, "temperature": 0.7}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '1289' - Content-Type: - - application/json - Cookie: - - __cf_bm=tK5mxmIOd60ucoQKATtbR8SRQ_JqyXuQNF3_REtUp8Y-1699495558-0-AYxCQwfqvfsWejuO19whuBqtsq2nrXi+wWcAirvErhN24TrrInAJKVGS9DLI/ZeUJPnfoX8EyTWdV32kPHM68cM= - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA1RSwY4aMQy98xVWzgOCXUqBW08VUttDu6pWqqqVSQxxN5NEsYeWrvj3KjPMsr1E - ip/fy3OeXyYAhp3ZgrEe1bY5TNe7FB43vP7mvuN5uX7UT93xy5Lmn7+Gj2Saykj7X2R1ZM1sanMg - 5RQH2BZCpaq6WG02y8279/ebHmiTo1Bpx6zT5XS+WtxfGT6xJTFb+DEBAHjpz+otOvpjtjBvxkpL - Ingks31tAjAlhVoxKMKiGNU0N9CmqBR7uw+ewHctRkB5FlBP8GEHfABW8Kgk9YpHiioNaILfnq0f - 2wpJTtFVGiqgANYSYbGeSlMlIrF6KhDSiQRiKldR9dTOYBdFCV3fKdo5JgGMDjBiOP+9tsHwt3yi - cK4Ouuio1JFchblATnUYxtCAxYx7DqxM0vRSgVtWrEnIDB4G25hzIcujEVCyPqaQjmwxALoTRkst - Ra3oGQrlOlXUBvad9uyE1o/2DiW1UP+vmtZBIjoQy9XVgS1kKpKHEWbmmsLlNb4DRxb/VAglxRqJ - aMpD22UC8LNfh+6/hE0uqc36pOmZYt2Ru8Vq0DO3zbuhqxHUpBjesNZ3k/rIZfIPAAD//wMA5pC0 - w/YCAAA= - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 823282d5cdcc1ceb-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 09 Nov 2023 02:09:03 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '3310' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '100' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '99' - x-ratelimit-remaining-tokens: - - '299699' - x-ratelimit-reset-requests: - - 600ms - x-ratelimit-reset-tokens: - - 60ms - x-request-id: - - 3f90abfc5a4c9e1c14f2502f88195bbd - status: - code: 200 - message: OK -version: 1 diff --git a/tests/agent_tools/cassettes/test_delegate_work.yaml b/tests/agent_tools/cassettes/test_delegate_work.yaml deleted file mode 100644 index c22bac314..000000000 --- a/tests/agent_tools/cassettes/test_delegate_work.yaml +++ /dev/null @@ -1,215 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"role": "user", "content": "You are researcher.\nYou''re - an expert researcher, specialized in technology\n\nYour personal goal is: make - the best research and analysis on content about AI and AI agents\nTOOLS:\n------\n\nYou - have access to the following tools:\n\n\n\nTo use a tool, please use the following - format:\n\n```\nThought: Do I need to use a tool? Yes\nAction: the action to - take, should be one of []\nAction Input: the input to the action\nObservation: - the result of the action\n```\n\nWhen you have a response for your task, or - if you do not need to use a tool, you MUST use the format:\n\n```\nThought: - Do I need to use a tool? No\nFinal Answer: [your response here]\n```\n\t\tThis - is the summary of your work so far:\n \nBegin! This is VERY important - to you, your job depends on it!\n\nCurrent Task: share your take on AI Agents\n\nThis - is the context you are working with:\nI heard you hate them\n\n"}], "model": - "gpt-4", "max_tokens": null, "stream": false, "n": 1, "temperature": 0.7, "stop": - ["\nObservation"]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '1048' - Content-Type: - - application/json - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA1RTy47jRgy8+ysKuuxFNtbzSsa3uSziBHkiQQJkgwXdoqReS6TQpOwoi/n3oGV5 - jL000Cyyq1hNflkBRayKHYrQkod+6Nbf7tVVp++/+eHDr78Y/3n87aft/mkfxjr88VdR5go9fObg - 16pN0H7o2KPKBQ6JyTm/un16fn54frp7vJuBXivuclkz+Pph/f5pe79UtBoDW7HD3ysA+DKfWZtU - /G+xw/vyGunZjBoudm9JQJG0y5GCzKI5iRflDQwqzjLL/b3VsWl9hx8nDJxMhTrUzF2UxuB6plQZ - XvZ4aVjcYK2OXSXvHFTXHBz9hCFpzWZxriWhbrJoG7wYCImNKYWWU4k9hLmCa644xYpBEB49zWUV - LibGE+MU+TxoFMeBjCuooKbgNqdV5LT5KB/lQ8yEL2JnTrsLnXNoRTttpq+Yo78zxH7QlK3ICnqK - 4hTljTT6tMl90qXPlk4Mbzkm6FnQc4pXer5cNvhZcgYGtTirtlhxmUMTAglodO3JGUlHj8JwsqOV - WUfSE4PrOobIEqZyfpiFDh1D+IxaU2/QGkH7fpQYKM/SQh9itnrd0zFKs8F3euZTbtJbTgxKWVH+ - 3kgdKj1LlmUlunhkfNYDqmhDR4F7Fkc1crZj0XolCSqBkxjooKNjSPFEYZoh4zCm2ax9NlXUQSGM - KTfqCqMJ3pJjj3YOtdyXOIyORL5MQeKgjcT/eLHvKjb2Q7e0aljjoN7ezM3cwg3Nl3X25vI7o/Gm - WEb79W0n6ijR2k+JyVTynJvrcEl7XQH/zDs2frU2xZC0H/yT65ElL97ddtmx4rbON3R7/7igrk7d - Dbh/eFxlltfV/wAAAP//AwAfk8xeTAQAAA== - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 82328f5b5d5a013b-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 09 Nov 2023 02:17:38 GMT - Server: - - cloudflare - Set-Cookie: - - __cf_bm=Kok7joFOxdnT4Rx42sui.msFN7jEZTBCOWV7KIuNoRU-1699496258-0-AWKfmFHxH6JvrxGRge6CrVDGH8NMMnlPoiNxVrU67tDkND02pVJemu65mT6VtMZ2t9HbOQUO+GHsKxUfpQh3BXI=; - path=/; expires=Thu, 09-Nov-23 02:47:38 GMT; domain=.api.openai.com; HttpOnly; - Secure; SameSite=None - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '5497' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '100' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '99' - x-ratelimit-remaining-tokens: - - '299769' - x-ratelimit-reset-requests: - - 600ms - x-ratelimit-reset-tokens: - - 46ms - x-request-id: - - cb70f6cd3ef05277cf4d4b56d0bf5595 - status: - code: 200 - message: OK -- request: - body: '{"messages": [{"role": "user", "content": "Progressively summarize the - lines of conversation provided, adding onto the previous summary returning a - new summary.\n\nEXAMPLE\nCurrent summary:\nThe human asks what the AI thinks - of artificial intelligence. The AI thinks artificial intelligence is a force - for good.\n\nNew lines of conversation:\nHuman: Why do you think artificial - intelligence is a force for good?\nAI: Because artificial intelligence will - help humans reach their full potential.\n\nNew summary:\nThe human asks what - the AI thinks of artificial intelligence. The AI thinks artificial intelligence - is a force for good because it will help humans reach their full potential.\nEND - OF EXAMPLE\n\nCurrent summary:\n\n\nNew lines of conversation:\nHuman: share - your take on AI Agents\n\nThis is the context you are working with:\nI heard - you hate them\nAI: As a technology researcher, it''s important to maintain objectivity. - AI agents have their own merits and demerits. On the positive side, they can - automate routine tasks, improve efficiency, and enable new forms of communication - and decision-making. However, there are potential downsides, like job displacement - due to automation and concerns about privacy and security. It''s not accurate - to say that I hate them, but rather, I recognize the potential implications - - both positive and negative - of their use.\n\nNew summary:"}], "model": "gpt-4", - "max_tokens": null, "stream": false, "n": 1, "temperature": 0.7}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '1475' - Content-Type: - - application/json - Cookie: - - __cf_bm=Kok7joFOxdnT4Rx42sui.msFN7jEZTBCOWV7KIuNoRU-1699496258-0-AWKfmFHxH6JvrxGRge6CrVDGH8NMMnlPoiNxVrU67tDkND02pVJemu65mT6VtMZ2t9HbOQUO+GHsKxUfpQh3BXI= - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA1RTsW7bQAzd/RWEli6yESepkXjLVg9dmixpUQTUiZYY60jhSDl1gvx7cbIcJ4uA - 4zuS7717epsBFFwXayhCix5i381vNurDJtzXe7m/271Wd031+Pvh8qc/Hn78KsrcodUzBT91LYLG - viNnlSMcEqFTnrpc3d5e364uv9+MQNSautzW9D6/nl+slldTR6scyIo1/JkBALyN38xNavpXrOGi - PFUimWFDxfrjEkCRtMuVAs3YHMWL8gwGFScZ6T60BO0QUQBtZ+Atwd0GtpqA3UB7FlYBlVzFhsSt - BKzrRGYsDSCkIWoCb9GBHVp0GqfEBTyMs0pAAwSn0Ip22hwgkRGm0FIqISKLI4vB0UHesx8ApQYd - vGMhg0q9HXlFSplTBmuaDro9E1vAxoFi36Lx68gC/YxCyBoH14hO4FltCRz7pHsC2m45MEk4lON8 - Eqw6AqGXbEUc9wSNcRAOmJ91YhHYWGUeccfSlFANDtiZgmi2odfsMmMHtb6IcU0GHe8InrWCmq3v - MFAk8ePSPvEew1G9URhStiKoBEpiJzshdJh4yyd97FArmXw7ev/5mTKbREEbmeygT4w49t2kZVTn - LXGCwWhRTDl5/wjYloWtfUqEppJDY6798dr7DODvGNjhSwaLPmns/cl1R5JTPAV+DN/p3zijy4ur - CXV17M7A1Wo5y1veZ/8BAAD//wMAkERfVZkDAAA= - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 82328f7f6eae013b-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 09 Nov 2023 02:17:44 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '5386' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '100' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '99' - x-ratelimit-remaining-tokens: - - '299652' - x-ratelimit-reset-requests: - - 600ms - x-ratelimit-reset-tokens: - - 69ms - x-request-id: - - 1a9f4c2a0146fabe806e3bd5a30018d8 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/cassettes/test_agent_execution.yaml b/tests/cassettes/test_agent_execution.yaml deleted file mode 100644 index c827e0ead..000000000 --- a/tests/cassettes/test_agent_execution.yaml +++ /dev/null @@ -1,195 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour - personal goal is: test goal\nTOOLS:\n------\n\nYou have access to the following - tools:\n\n\n\nTo use a tool, please use the following format:\n\n```\nThought: - Do I need to use a tool? Yes\nAction: the action to take, should be one of []\nAction - Input: the input to the action\nObservation: the result of the action\n```\n\nWhen - you have a response for your task, or if you do not need to use a tool, you - MUST use the format:\n\n```\nThought: Do I need to use a tool? No\nFinal Answer: - [your response here]\n```\n\t\tThis is the summary of your work so far:\n \nBegin! - This is VERY important to you, your job depends on it!\n\nCurrent Task: How - much is 1 + 1?\n\n"}], "model": "gpt-4", "max_tokens": null, "stream": false, - "n": 1, "temperature": 0.7, "stop": ["\nObservation"]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '869' - Content-Type: - - application/json - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA1RQwUrDQBC95yuGvZpK0pTSBEQkpZhLFSp4UCnrZky2bnZCdkrV0n+XTdNWL3N4 - b96b92YfAAhdigyEqiWrpjWjWUHTTb7KV8+P8TJfRPPiXv58d6uK5rsHEXoFvW9Q8Ul1rahpDbIm - e6RVh5LRu8bTNJ2kyThKe6KhEo2XVS2PJqNoGieDoiat0IkMXgIAgH0/fTZb4pfIIApPSIPOyQpF - dl4CEB0ZjwjpnHYsLYvwQiqyjLaP+1TTtqo5gzlBARaxBCbYOgQJTGRuYUmvdqGtNHBn3Q67DGK4 - ghhuYCwGy8M5y4e22tXrDqUj6/0dU3tcOwQAb3237b+4ou2oaXnN9InWF45nQzdxeeOFHScDycTS - /MGjJPBHDsEvAAAA//8DANNUqtjDAQAA - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 8232450e7c33016c-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 09 Nov 2023 01:26:50 GMT - Server: - - cloudflare - Set-Cookie: - - __cf_bm=gkc3fZTvDPQQcvL6AsOb5ZabV_BJygyXmsJKgi0mtCU-1699493210-0-AWKdSYb5U/QGRawJ4wWK6DvEWiy6+l7vXFmP3RnnSvAVR+kc3AFmDrcnMowxNcJdOH8DqFD/H8jQAb6ZfMNSE3E=; - path=/; expires=Thu, 09-Nov-23 01:56:50 GMT; domain=.api.openai.com; HttpOnly; - Secure; SameSite=None - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '911' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '100' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '99' - x-ratelimit-remaining-tokens: - - '299813' - x-ratelimit-reset-requests: - - 600ms - x-ratelimit-reset-tokens: - - 37ms - x-request-id: - - 57fa8c5d7c0ca15499c9624bb1a13c0f - status: - code: 200 - message: OK -- request: - body: '{"messages": [{"role": "user", "content": "Progressively summarize the - lines of conversation provided, adding onto the previous summary returning a - new summary.\n\nEXAMPLE\nCurrent summary:\nThe human asks what the AI thinks - of artificial intelligence. The AI thinks artificial intelligence is a force - for good.\n\nNew lines of conversation:\nHuman: Why do you think artificial - intelligence is a force for good?\nAI: Because artificial intelligence will - help humans reach their full potential.\n\nNew summary:\nThe human asks what - the AI thinks of artificial intelligence. The AI thinks artificial intelligence - is a force for good because it will help humans reach their full potential.\nEND - OF EXAMPLE\n\nCurrent summary:\n\n\nNew lines of conversation:\nHuman: How much - is 1 + 1?\nAI: 1 + 1 = 2\n\nNew summary:"}], "model": "gpt-4", "max_tokens": - null, "stream": false, "n": 1, "temperature": 0.7}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '899' - Content-Type: - - application/json - Cookie: - - __cf_bm=gkc3fZTvDPQQcvL6AsOb5ZabV_BJygyXmsJKgi0mtCU-1699493210-0-AWKdSYb5U/QGRawJ4wWK6DvEWiy6+l7vXFmP3RnnSvAVR+kc3AFmDrcnMowxNcJdOH8DqFD/H8jQAb6ZfMNSE3E= - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA1SQT08CMRDF7/spJr0KhF2QuHvzpESjHsCLMaSUkdZtO2s7CEL47qbLP73MYd77 - zbyZXQYgzEJUIJSWrFxjuzdjGtX2e/u8nk7u+vP66XVjXh7K6f2jLreikwiaf6LiE9VT5BqLbMgf - ZBVQMqap+agsh+WgyPut4GiBNmHLhrvDbn+UD46EJqMwigreMgCAXVtTNr/Ajaig5duOwxjlEkV1 - NgGIQDZ1hIzRRJaeReciKvKMvo070Qh65aQHGesIrBFuxyAhmnQBOMkamkBzi64DTLDWRumTTVEI - qNj+gPRxjSHxkiGHK8gBv1bSRih64rh4f078YbyJehZQRvIpRWRqDrZ9BvDefmD17yjRBHINz5hq - 9Okt+fXoME9cnn1Ri5PIxNL+oW6KLC3ZZ78AAAD//wMAQUWO/+kBAAA= - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 823245165c88016c-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 09 Nov 2023 01:26:52 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '1229' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '100' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '99' - x-ratelimit-remaining-tokens: - - '299795' - x-ratelimit-reset-requests: - - 600ms - x-ratelimit-reset-tokens: - - 40ms - x-request-id: - - 5a5b201eb4124de1372291f96d0142df - status: - code: 200 - message: OK -version: 1 diff --git a/tests/cassettes/test_agent_execution_with_specific_tools.yaml b/tests/cassettes/test_agent_execution_with_specific_tools.yaml deleted file mode 100644 index 92a7d7ca1..000000000 --- a/tests/cassettes/test_agent_execution_with_specific_tools.yaml +++ /dev/null @@ -1,303 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour - personal goal is: test goal\nTOOLS:\n------\n\nYou have access to the following - tools:\n\nmultiplier: multiplier(numbers) -> float - Useful for when you need - to multiply two numbers together. \n\t\t\tThe input to this tool should be a - comma separated list of numbers of \n\t\t\tlength two, representing the two - numbers you want to multiply together. \n\t\t\tFor example, `1,2` would be the - input if you wanted to multiply 1 by 2.\n\nTo use a tool, please use the following - format:\n\n```\nThought: Do I need to use a tool? Yes\nAction: the action to - take, should be one of [multiplier]\nAction Input: the input to the action\nObservation: - the result of the action\n```\n\nWhen you have a response for your task, or - if you do not need to use a tool, you MUST use the format:\n\n```\nThought: - Do I need to use a tool? No\nFinal Answer: [your response here]\n```\n\t\tThis - is the summary of your work so far:\n \nBegin! This is VERY important - to you, your job depends on it!\n\nCurrent Task: What is 3 times 4\n\n"}], "model": - "gpt-4", "max_tokens": null, "stream": false, "n": 1, "temperature": 0.7, "stop": - ["\nObservation"]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '1217' - Content-Type: - - application/json - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA1RQy2rDMBC8+ysWnZ1SN66JfSmBQHEOSaFpIW1KUORtrFbWCmsNgZB/L3Kevexh - ZmdnZvcRgNCVKECoWrJqnBmMpq9Juix3i810+TEr1aae5W8vz+P5/H3SijgoaPODis+qO0WNM8ia - 7JFWLUrGcDXJ8jxLsywZ9URDFZog2zoepIP7LBmeFDVphV4U8BkBAOz7GbLZCneigPv4jDTovdyi - KC5LAKIlExAhvdeepWURX0lFltH2cRc1dduaC5gQlGARK2CCziNIYCLzBEv0KztWoUwBTWdYO6Ox - PWNQWtdxAcM4XVlx8jhcwn1rq329blF6ssHQM7nj2iEC+OrLdv/yC9dS43jN9Is2fODhMT/eE9e/ - 3rDpiWRiaW7w0TAKJofoDwAA//8DAHj9RNPUAQAA - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 8240e667dda81d40-GIG - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Fri, 10 Nov 2023 20:03:40 GMT - Server: - - cloudflare - Set-Cookie: - - __cf_bm=qYjHtObHmnuj7bUr95x9cwbTcVmcUYOIypCLBKdVYs4-1699646620-0-AQeu11iFH6nTGNmgj6ZfcaJImCKZh6t5u20SP71vsQESEAE6zlxJ6ZkKJQmIkv3sR37LF/PKPhzLydE3f+srokY=; - path=/; expires=Fri, 10-Nov-23 20:33:40 GMT; domain=.api.openai.com; HttpOnly; - Secure; SameSite=None - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '1274' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '299729' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 54ms - x-request-id: - - dc4e4c53dc93ab456ba5f5f66282131f - status: - code: 200 - message: OK -- request: - body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour - personal goal is: test goal\nTOOLS:\n------\n\nYou have access to the following - tools:\n\nmultiplier: multiplier(numbers) -> float - Useful for when you need - to multiply two numbers together. \n\t\t\tThe input to this tool should be a - comma separated list of numbers of \n\t\t\tlength two, representing the two - numbers you want to multiply together. \n\t\t\tFor example, `1,2` would be the - input if you wanted to multiply 1 by 2.\n\nTo use a tool, please use the following - format:\n\n```\nThought: Do I need to use a tool? Yes\nAction: the action to - take, should be one of [multiplier]\nAction Input: the input to the action\nObservation: - the result of the action\n```\n\nWhen you have a response for your task, or - if you do not need to use a tool, you MUST use the format:\n\n```\nThought: - Do I need to use a tool? No\nFinal Answer: [your response here]\n```\n\t\tThis - is the summary of your work so far:\n \nBegin! This is VERY important - to you, your job depends on it!\n\nCurrent Task: What is 3 times 4\nThought: - Do I need to use a tool? Yes\nAction: multiplier\nAction Input: 3,4\n\nObservation: - multiplier is not a valid tool, try one of [].\nThought: \n"}], "model": "gpt-4", - "max_tokens": null, "stream": false, "n": 1, "temperature": 0.7, "stop": ["\nObservation"]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '1367' - Content-Type: - - application/json - Cookie: - - __cf_bm=qYjHtObHmnuj7bUr95x9cwbTcVmcUYOIypCLBKdVYs4-1699646620-0-AQeu11iFH6nTGNmgj6ZfcaJImCKZh6t5u20SP71vsQESEAE6zlxJ6ZkKJQmIkv3sR37LF/PKPhzLydE3f+srokY= - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA1SRS2/bMBCE7/oVA15ysQ3LsoVGlyJAUMQ9pK8UPTRBQElbizEfKncVpw383wvK - TtxcCHBnvuVw9zkDlGlVBdV0WhrX2+m7j9/y8lNx+bD6emWK1bWtzffVzfbvj4vPX+ZqkohQP1Aj - L9SsCa63JCb4g9xE0kKpa16en5fLslzMR8GFlmzCNr1Ml9N5mRdHogumIVYVfmYA8DyeKZtv6UlV - GPmx4ohZb0hVryZAxWBTRWlmw6K9qMlJbIIX8mPcm44igYkcQwJqgoZLxJZmWGOnGfTUUyPGb5Jh - 4OSQEGy6ucGK6e0fSEfwg6sp8gT1IDAC3fekIyct0hlDe1CMIUL7dgTGLob9mUA/amN1bWmGq7Cj - R4oTrLH1YQfptKCAGEeMJej3oC0jX8xu/WXAGp6ofZvsPa7Drf9gvLa48LyjWCFfqOP/96+D+2W8 - 4e4+kubg0zBYQn+w7TPgblzE8Ga2qo/B9XIvYUs+baeY54d+6rTzk1oujqIE0fY/qiyy9Mg++wcA - AP//AwAOHyo+cAIAAA== - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 8240e671495c1d40-GIG - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Fri, 10 Nov 2023 20:03:44 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '3513' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '299693' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 61ms - x-request-id: - - 4a2658b98a181b090c362f6ce027ab4b - status: - code: 200 - message: OK -- request: - body: '{"messages": [{"role": "user", "content": "Progressively summarize the - lines of conversation provided, adding onto the previous summary returning a - new summary.\n\nEXAMPLE\nCurrent summary:\nThe human asks what the AI thinks - of artificial intelligence. The AI thinks artificial intelligence is a force - for good.\n\nNew lines of conversation:\nHuman: Why do you think artificial - intelligence is a force for good?\nAI: Because artificial intelligence will - help humans reach their full potential.\n\nNew summary:\nThe human asks what - the AI thinks of artificial intelligence. The AI thinks artificial intelligence - is a force for good because it will help humans reach their full potential.\nEND - OF EXAMPLE\n\nCurrent summary:\n\n\nNew lines of conversation:\nHuman: What - is 3 times 4\nAI: 12\n\nNew summary:"}], "model": "gpt-4", "max_tokens": null, - "stream": false, "n": 1, "temperature": 0.7}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '891' - Content-Type: - - application/json - Cookie: - - __cf_bm=qYjHtObHmnuj7bUr95x9cwbTcVmcUYOIypCLBKdVYs4-1699646620-0-AQeu11iFH6nTGNmgj6ZfcaJImCKZh6t5u20SP71vsQESEAE6zlxJ6ZkKJQmIkv3sR37LF/PKPhzLydE3f+srokY= - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA1SQT0/DMAzF7/0UVs7dtG6lsN4GCI0dJiQQEkJoylKzhjZxlHgaY9p3R+n+wcWH - 9/Ozn71LAISuRAlC1ZKVcW3vZvacTWY/d3PVIMm3e5y+TR/o9nXerPhJpNFByy9UfHL1FRnXImuy - B6w8SsY4NSvG4yIvimHeAUMVttG2ctzLe4MiGx0dNWmFQZTwngAA7Loas9kKv0UJg/SkGAxBrlCU - 5yYA4amNipAh6MDSskgvUJFltF3clxqhXhtpQYYmANcIk0dgArNuWbt2CyNYbiFPQdrqhD0GR7YK - sNFcd6Ii71ExSBs26FPIhn1x3Lc/B/3UVod64VEGsnF5YHKHtn0C8NEdvv53i3CejOMFU4M2fiPL - x4d54vLjCx1eHSETy/aP6zpP4pJ98gsAAP//AwA0pTz34AEAAA== - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 8240e688ca6e1d40-GIG - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Fri, 10 Nov 2023 20:03:45 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '1515' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '299797' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 40ms - x-request-id: - - 76574b94ab5a1c54d1ac4d372a830eb9 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/cassettes/test_agent_execution_with_tools.yaml b/tests/cassettes/test_agent_execution_with_tools.yaml deleted file mode 100644 index 275364c46..000000000 --- a/tests/cassettes/test_agent_execution_with_tools.yaml +++ /dev/null @@ -1,299 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour - personal goal is: test goal\nTOOLS:\n------\n\nYou have access to the following - tools:\n\nmultiplier: multiplier(numbers) -> float - Useful for when you need - to multiply two numbers together. \n\t\t\tThe input to this tool should be a - comma separated list of numbers of \n\t\t\tlength two, representing the two - numbers you want to multiply together. \n\t\t\tFor example, `1,2` would be the - input if you wanted to multiply 1 by 2.\n\nTo use a tool, please use the following - format:\n\n```\nThought: Do I need to use a tool? Yes\nAction: the action to - take, should be one of [multiplier]\nAction Input: the input to the action\nObservation: - the result of the action\n```\n\nWhen you have a response for your task, or - if you do not need to use a tool, you MUST use the format:\n\n```\nThought: - Do I need to use a tool? No\nFinal Answer: [your response here]\n```\n\t\tThis - is the summary of your work so far:\n \nBegin! This is VERY important - to you, your job depends on it!\n\nCurrent Task: What is 3 times 4\n\n"}], "model": - "gpt-4", "max_tokens": null, "stream": false, "n": 1, "temperature": 0.7, "stop": - ["\nObservation"]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '1217' - Content-Type: - - application/json - Cookie: - - __cf_bm=gkc3fZTvDPQQcvL6AsOb5ZabV_BJygyXmsJKgi0mtCU-1699493210-0-AWKdSYb5U/QGRawJ4wWK6DvEWiy6+l7vXFmP3RnnSvAVR+kc3AFmDrcnMowxNcJdOH8DqFD/H8jQAb6ZfMNSE3E= - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA1RQTUvDQBC951cMe06lTWJo9iKlglQEL2IRLWW7GZvVzc6SnYBS+t9l008vc3hv - 3rz3ZpcACFMLCUI3inXr7Wi6oLJ9yuduWWavv3OznD0/Fo3ql25TP4g0KmjzhZpPqhtNrbfIhtyB - 1h0qxnh1UlZVUeXZJBuIlmq0Ubb1PCpG43KSHxUNGY1BSHhPAAB2w4zZXI0/QsI4PSEthqC2KOR5 - CUB0ZCMiVAgmsHIs0gupyTG6Ie5LQ/22YQn3BAtwiDUwQR8QFDCRvYM3DB9upmMZCW1v2XhrsDth - sHC+Zwl5Woijw/4c7dM4E5p1hyqQi3aByR/W9gnAaqja/0svfEet5zXTN7rYP7utDvfE5atXbH4k - mVjZK3yaJdFkn/wBAAD//wMAU+pOotIBAAA= - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 823245216f2f520b-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 09 Nov 2023 01:26:53 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '1105' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '100' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '99' - x-ratelimit-remaining-tokens: - - '299729' - x-ratelimit-reset-requests: - - 600ms - x-ratelimit-reset-tokens: - - 54ms - x-request-id: - - 951ac7b6b78d0178415f15e6576c49e6 - status: - code: 200 - message: OK -- request: - body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour - personal goal is: test goal\nTOOLS:\n------\n\nYou have access to the following - tools:\n\nmultiplier: multiplier(numbers) -> float - Useful for when you need - to multiply two numbers together. \n\t\t\tThe input to this tool should be a - comma separated list of numbers of \n\t\t\tlength two, representing the two - numbers you want to multiply together. \n\t\t\tFor example, `1,2` would be the - input if you wanted to multiply 1 by 2.\n\nTo use a tool, please use the following - format:\n\n```\nThought: Do I need to use a tool? Yes\nAction: the action to - take, should be one of [multiplier]\nAction Input: the input to the action\nObservation: - the result of the action\n```\n\nWhen you have a response for your task, or - if you do not need to use a tool, you MUST use the format:\n\n```\nThought: - Do I need to use a tool? No\nFinal Answer: [your response here]\n```\n\t\tThis - is the summary of your work so far:\n \nBegin! This is VERY important - to you, your job depends on it!\n\nCurrent Task: What is 3 times 4\nThought: - Do I need to use a tool? Yes\nAction: multiplier\nAction Input: 3,4\nObservation: - 12\nThought: \n"}], "model": "gpt-4", "max_tokens": null, "stream": false, "n": - 1, "temperature": 0.7, "stop": ["\nObservation"]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '1321' - Content-Type: - - application/json - Cookie: - - __cf_bm=gkc3fZTvDPQQcvL6AsOb5ZabV_BJygyXmsJKgi0mtCU-1699493210-0-AWKdSYb5U/QGRawJ4wWK6DvEWiy6+l7vXFmP3RnnSvAVR+kc3AFmDrcnMowxNcJdOH8DqFD/H8jQAb6ZfMNSE3E= - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA1SQS0/DQAyE7/kV1p5b1DwUSC6oqKpUIXHgCqhaNibdNrFD7NJKVf872vQFlz3M - 55kd+xABGF+ZEoxbWXVt14wfFpyT/DzNdt9I06zevM6f11b32/t57c0oOPhzjU4vrjvHbdegeqYT - dj1axZAa50WRFWkSpwNoucIm2OpOx9l4ksfp2bFi71BMCW8RAMBheEM3qnBvSpiMLkqLIrZGU16H - AEzPTVCMFfGiltSMbtAxKdJQd8awAEKsQBm2gmBBmZtHeOF3mnuyDUxJdtiXkIL6FgUy8AJxYs55 - x2uRL09eVsserTCFcFHuTmPHCOBjWGz7r6vpem47XSpvkMK2SZGc8szthn9ofIbKapubnsZpFD45 - Rr8AAAD//wMAIwC1ssABAAA= - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 8232452a2e6e520b-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 09 Nov 2023 01:26:55 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '1095' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '100' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '99' - x-ratelimit-remaining-tokens: - - '299704' - x-ratelimit-reset-requests: - - 600ms - x-ratelimit-reset-tokens: - - 59ms - x-request-id: - - aa5df5b29842f6d68339b5c4887eeecc - status: - code: 200 - message: OK -- request: - body: '{"messages": [{"role": "user", "content": "Progressively summarize the - lines of conversation provided, adding onto the previous summary returning a - new summary.\n\nEXAMPLE\nCurrent summary:\nThe human asks what the AI thinks - of artificial intelligence. The AI thinks artificial intelligence is a force - for good.\n\nNew lines of conversation:\nHuman: Why do you think artificial - intelligence is a force for good?\nAI: Because artificial intelligence will - help humans reach their full potential.\n\nNew summary:\nThe human asks what - the AI thinks of artificial intelligence. The AI thinks artificial intelligence - is a force for good because it will help humans reach their full potential.\nEND - OF EXAMPLE\n\nCurrent summary:\n\n\nNew lines of conversation:\nHuman: What - is 3 times 4\nAI: 3 times 4 is 12\n\nNew summary:"}], "model": "gpt-4", "max_tokens": - null, "stream": false, "n": 1, "temperature": 0.7}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '904' - Content-Type: - - application/json - Cookie: - - __cf_bm=gkc3fZTvDPQQcvL6AsOb5ZabV_BJygyXmsJKgi0mtCU-1699493210-0-AWKdSYb5U/QGRawJ4wWK6DvEWiy6+l7vXFmP3RnnSvAVR+kc3AFmDrcnMowxNcJdOH8DqFD/H8jQAb6ZfMNSE3E= - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA1SQu27DMAxFd38FodkJYuftrR1aZAzarSgCRWZsNbIomHQfCPLvhZyH24UD7z3k - JU8JgLKlKkCZWotpghutNrQIj9q9PG+PT9uKpeoO9udrv/zMNlalkaD9Bxq5UWNDTXAolvxFNi1q - wTg1W6zXs/U0z+a90FCJLmJVkNFsNFlk0ytRkzXIqoC3BADg1NeYzZf4rQqYpLdOg8y6QlXcTQCq - JRc7SjNbFu1FpYNoyAv6Pu5rjVB3jfag+cggNcLDBoTAaGc6pwVhCmIbZJiloH15s7TIgXwZES2D - ByxDlo/Vddn5nvJgveV616Jm8nEzC4WL7ZwAvPdXd/8OUaGlJshO6Ig+viKbzy/z1PDgQc2XV1FI - tPtDrfIkLjknvwAAAP//AwC2/4B/3QEAAA== - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 823245332d7b520b-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 09 Nov 2023 01:26:56 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '1275' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '100' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '99' - x-ratelimit-remaining-tokens: - - '299794' - x-ratelimit-reset-requests: - - 600ms - x-ratelimit-reset-tokens: - - 41ms - x-request-id: - - ac804646da74e95835f869ebd5313225 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/cassettes/test_crew_creation.yaml b/tests/cassettes/test_crew_creation.yaml deleted file mode 100644 index 14187ffd2..000000000 --- a/tests/cassettes/test_crew_creation.yaml +++ /dev/null @@ -1,471 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"role": "user", "content": "You are Researcher.\nYou''re - an expert researcher, specialized in technology, software engineering, AI and - startups. You work as a freelancer and is now working on doing research and - analysis for a new customer.\n\nYour personal goal is: Make the best research - and analysis on content about AI and AI agents\nTOOLS:\n------\n\nYou have access - to the following tools:\n\n\n\nTo use a tool, please use the following format:\n\n```\nThought: - Do I need to use a tool? Yes\nAction: the action to take, should be one of []\nAction - Input: the input to the action\nObservation: the result of the action\n```\n\nWhen - you have a response for your task, or if you do not need to use a tool, you - MUST use the format:\n\n```\nThought: Do I need to use a tool? No\nFinal Answer: - [your response here]\n```\n\t\tThis is the summary of your work so far:\n \nBegin! - This is VERY important to you, your job depends on it!\n\nCurrent Task: Give - me a list of 5 interesting ideas to explore for na article, what makes them - unique and interesting.\n\n"}], "model": "gpt-4", "max_tokens": null, "stream": - false, "n": 1, "temperature": 0.7, "stop": ["\nObservation"]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '1191' - Content-Type: - - application/json - Cookie: - - __cf_bm=gkc3fZTvDPQQcvL6AsOb5ZabV_BJygyXmsJKgi0mtCU-1699493210-0-AWKdSYb5U/QGRawJ4wWK6DvEWiy6+l7vXFmP3RnnSvAVR+kc3AFmDrcnMowxNcJdOH8DqFD/H8jQAb6ZfMNSE3E= - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA5RWTW8bRwy9+1cQe8llJdix69S6FGkSJ27RBk2d5lAXATVLaRnPDrczXCmbIP+9 - 4Iw+asdK0YsOS/IN+R4/9PkIoOKmmkHlWlTX9X7y/ZWcx5f+l7fvfn7+9rc/Ll/7n85f/njavaG3 - ry+r2iJk/oGcbqOmTrrek7KEYnaRUMlQT84vLs4uTh+fPMmGThryFrbsdXI2OT4/Od1EtMKOUjWD - P48AAD7nX8stNPSxmsFxvf3SUUq4pGq2cwKoonj7UmFKnBSDVvXe6CQohZzudSvDstUZXEEgakAF - hkTQjUAfe4rKiYADPL0yi5OOYOhhzdrCEPjvgQBDAxyUIiXlsARuCJM508feS6Qp3ISbcDI1CPN9 - oS27BBO4btn8enbA6RDanBxaPqxbvATaUvFJ5IxikAUouTaIl+WYITqJ6FnH/GqLJaYXK5rRW3Zz - w3CRGp77EeYUaMHObPNBAX2SvbsfocXYLQZfZ3DdJ76WwTfQkF/llCS/Q1YheuCu9+zQUkyW49Or - GtLgWsAEc8ZEyZhFv5TI2nZpA04WiE4tBAeVDkuRAT7IPE2NzcdTuG4J3oinAmxAzzx3qATPWgxL - gkn+nGBOxuOQira9Vey0ho6Vl6hUShpCQ9HapAG3gXEZZvqwTIdkiZuM/iUHB0jiV5aEhGJsCea8 - XFJS6KPMPXUJFujMpR06DCaclXk63ZT2itBr6zAeKivSSvxgPPEngnbnXsMiSret2iIaTpSpVzGe - o+TMelSmoGAx90s+0I4PdlXDkZz6cSshrSiOEuhRAs8rKhJzAtQcu5BIiyhB73BWmicEWWXlMxVn - RfHLQYe41dyw3km83XGSJbM0DXuNI6wJ1hJvD7TtRjloZW0FcYJIqcXeEFYYWQYrvhmSRqZUZ1Qd - e8rNbL0I2qKCqVLU2Gy5etfI6Za937it2XubOtsyZENeGMgF5RK/26r9e4+O4EXOrvT+/18WTro5 - B5N5LeAGNfuEmiXBgsk3abYlMOXHaP/Y9MEGw4B+/ETQoGLpqRxYQ8BVniOIsqKYbExFW4rQewyk - qZDhCuErCvZ9BCyTwmFDAHQYAjXQcUq2LjIhu9X8XO5tZwQV8T/Ar3ITLjmgh6chrSnO4BVFyoos - eEXfXtELiYBR2Xna01G2c9H6W+ul/moyS8yDDVo4OCBubuxERdyUc/8PebWlcde894/BZtOWE7U9 - A/W9rVbfWRH7EfmqGWAC6D24yFqmMqWhrG2VBsdHyYJ9M602t/XL7igvOHBq30fCJMEObVLpi9uX - I4C/8pEf7tztqo/S9fpe5ZaCXf7Hp08KXrX/P7G3np5vrSqKfm84Pz47sle+HP0DAAD//wMA1iHm - eM0IAAA= - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 8232453dfc6d00fe-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 09 Nov 2023 01:27:13 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '15994' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '100' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '99' - x-ratelimit-remaining-tokens: - - '299733' - x-ratelimit-reset-requests: - - 600ms - x-ratelimit-reset-tokens: - - 53ms - x-request-id: - - bd3db2e14641121a223cd515692a309e - status: - code: 200 - message: OK -- request: - body: '{"messages": [{"role": "user", "content": "Progressively summarize the - lines of conversation provided, adding onto the previous summary returning a - new summary.\n\nEXAMPLE\nCurrent summary:\nThe human asks what the AI thinks - of artificial intelligence. The AI thinks artificial intelligence is a force - for good.\n\nNew lines of conversation:\nHuman: Why do you think artificial - intelligence is a force for good?\nAI: Because artificial intelligence will - help humans reach their full potential.\n\nNew summary:\nThe human asks what - the AI thinks of artificial intelligence. The AI thinks artificial intelligence - is a force for good because it will help humans reach their full potential.\nEND - OF EXAMPLE\n\nCurrent summary:\n\n\nNew lines of conversation:\nHuman: Give - me a list of 5 interesting ideas to explore for na article, what makes them - unique and interesting.\nAI: Here are five unique and interesting ideas for - articles: AI and Ethics, the Role of AI in Climate Change, AI in Healthcare, - the Future of AI and Work, and AI in Space Exploration. These topics are unique - and interesting because they explore the intersections of AI with morality, - climate change, healthcare, work, and space exploration - all critical issues - in today''s world.\n\nNew summary:"}], "model": "gpt-4", "max_tokens": null, - "stream": false, "n": 1, "temperature": 0.7}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '1351' - Content-Type: - - application/json - Cookie: - - __cf_bm=gkc3fZTvDPQQcvL6AsOb5ZabV_BJygyXmsJKgi0mtCU-1699493210-0-AWKdSYb5U/QGRawJ4wWK6DvEWiy6+l7vXFmP3RnnSvAVR+kc3AFmDrcnMowxNcJdOH8DqFD/H8jQAb6ZfMNSE3E= - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA3RSTW/bMAy951cQuuziBEmdNUtuW5GiBbbL1mEDhqLgZMbSIouOSK/pivz3QnbS - oIddDON98UnU8wjA+MqswFiHaps2jD/c8mJxvdt/fvoeXVd98esF7n427t/N4/yTKbKDf/8hqyfX - xHLTBlLPcaBtIlTKqbPL5XK+LC/KsicarihkW93qeD6eXs7Ko8OxtyRmBb9GAADP/Td3ixXtzQqm - xQlpSARrMqtXEYBJHDJiUMSLYlRTnEnLUSn2de8cgesajICyFVBH8PEWNpxg4/8SdNHvOgKMFfio - lEjUxxp8RSigDLRvAyfqDTkjqbeBJnA35EhX1ySapa23AhwzmtPW6ryVoh/4lQMBbzLlI1wF36AS - XDmMNRVH9IYwqLOYaPBcd9qlkysH/uC0Lfq/wfCtRUuw7vth3kQBoti3V4eaQ4ROvTD996hVl1VZ - 7tPxuH1cHm2TV28xgBfpSPJY5Qqf3gk8cgrVxBzv/PC6rI2PXtxDIhSOeQGi3A6ywwjgvl9+92af - pk3ctPqgvKWYX8RFOR/yzPmdndnF7EgqK4YzXk7fj/KQw+gFAAD//wMAExpST+QCAAA= - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 823245a39dad00fe-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 09 Nov 2023 01:27:16 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '2657' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '100' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '99' - x-ratelimit-remaining-tokens: - - '299683' - x-ratelimit-reset-requests: - - 600ms - x-ratelimit-reset-tokens: - - 63ms - x-request-id: - - 2573ba1c1be50df244d762fa5cad21a1 - status: - code: 200 - message: OK -- request: - body: '{"messages": [{"role": "user", "content": "You are Senior Content Officer.\nYou''re - a senior content officer, specialized in technology, software engineering, AI - and startups. You work as a freelancer and are now working on writing content - for a new customer.\n\nYour personal goal is: Write the best content about AI - and AI agents.\nTOOLS:\n------\n\nYou have access to the following tools:\n\n\n\nTo - use a tool, please use the following format:\n\n```\nThought: Do I need to use - a tool? Yes\nAction: the action to take, should be one of []\nAction Input: - the input to the action\nObservation: the result of the action\n```\n\nWhen - you have a response for your task, or if you do not need to use a tool, you - MUST use the format:\n\n```\nThought: Do I need to use a tool? No\nFinal Answer: - [your response here]\n```\n\t\tThis is the summary of your work so far:\n \nBegin! - This is VERY important to you, your job depends on it!\n\nCurrent Task: Write - a 1 amazing paragraph highlight for each idea that showcases how good an article - about this topic could be. Return the list of ideas with their paragraph and - your notes.\n\nThis is the context you are working with:\nHere are five unique - and interesting ideas for articles: AI and Ethics, the Role of AI in Climate - Change, AI in Healthcare, the Future of AI and Work, and AI in Space Exploration. - These topics are unique and interesting because they explore the intersections - of AI with morality, climate change, healthcare, work, and space exploration - - all critical issues in today''s world.\n\n"}], "model": "gpt-4", "max_tokens": - null, "stream": false, "n": 1, "temperature": 0.7, "stop": ["\nObservation"]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '1666' - Content-Type: - - application/json - Cookie: - - __cf_bm=gkc3fZTvDPQQcvL6AsOb5ZabV_BJygyXmsJKgi0mtCU-1699493210-0-AWKdSYb5U/QGRawJ4wWK6DvEWiy6+l7vXFmP3RnnSvAVR+kc3AFmDrcnMowxNcJdOH8DqFD/H8jQAb6ZfMNSE3E= - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA4xWUW/bRgx+z68g/OwYbdNmjV+GrGs3b1gHrAUGbB0K6kRLTE6kdkfZ8Yr+94En - yXaAYNiLAR/v+JEfP5L6cgGw4HqxhkVo0ULXx8vXG/3m9ufwx0933/36wwd5dc2/vD/Ud8+wS1EX - S3+h1R0Fm1+tgnZ9JGOV0RwSoZF7fX59c/Py5urF1XUxdFpT9GdNb5cvL59dP7+aXrTKgfJiDX9e - AAB8Kb8em9T0sFjDs+V80lHO2NBifbwEsEga/WSBOXM2FFssT8agYiQl3I+tDk1ra/heYQNCVIMp - DJkAwVTjt/BeP8kneceCEW4l7ymt/eD5Cm43gFLDW2s55DVsBBD2mmIN1qIBZ2DxzDNLEw9QEUsD - tXYsTgZUB7hNxlsOjBE2YhQjNySBlmAtwd8DZacQdAtUMNwl7ShBp4mAu16Tp7aCjy1nwGQcIsGe - Y4Sa4o6AxbT4Ggvy4AeUMoXZ75TC6H4J9NBHTR5mq/vysKbAmVUydFhTiXkDAcXRMRhkDUx2WMG7 - pB30iXcYDhBUAiXJMMFjCDqIYcWR7TABH117upyhZwpT9H3SHdcEibCmlGHP1gKWLBK1JJl3BIO4 - zVBqD1i3BalkghFqjtR1mKHXPHG9WXndXjhbBL9ppCkOFngTuUMjeNOiNLQ+/g/lv9M+crFlcSzO - eSivdUhg3NFTFaAH7FioMOkoGfqIB3+O0PNODSO4Sh0/aFehua0w0UStMDp6jCQNHdmlmkO5FqYA - ezSbidbeuON/3JxIaI9VJCCh1Bxc0KOozkhuuWkjN62dhShqcDdk8xgx2cxqn7SK1C2hGgwwZvVi - pKEI9/xe1ji4tArTV6uJ3R8Jo7UBE60L99shP5Zfe7wArcY6e+8llLzV1KF5rXv1hmWMTzPtqj1n - OtFuimTk4wSwhK1TyV2RmPcjYyOa3afUYD6oOhJzQklalOCXejT2wxJiiVhzz17BDgUb8hcr2NgY - T/ZAnuD0BHqWsA4WtKN8orZOvBtlUtqctj4hHN2Bp0guA3kn0yPu8iEbdYX7l6PK3w02JDpj+ndN - 92MREufZ0GKG3GO6pxoQIu8oHqCmygWmAmx57nYVuNNqoqpUcva/13T/X7UpujbtOQDLZU29tcup - RTzXSq0dlTYX2oEgas50ghPag/Y+9QZhY8owLZapv48VmOcHQoURJXhiUgNLdr1vhwgoGA9edd0+ - 0k1usR/7kKZZPifntL6aJf2hx0DwtiSHrrNJ2WVLbJOKMaW5+BUddMogEYZ2pP0ptnKvNrZkufxo - RuUCSSfIScolk6LyHXrjdj5pS16YLaloNw5ENN9ogIP5mQ559BgSbg0Ed9zME4hGT/TQo4wiKTdH - Sf3vAcJlLJ8GRggUKY0YPjfLeittdpSIz3Te+YJaLaZt/fW45n325vaz71MVX93ZtB+vfb0A+Kt8 - NgyPvgQWfdKut8+m9yT+LXH14vXob3H6QjmzXs9W8+l8MlzfXF84yteLfwEAAP//AwC/r3vCHwkA - AA== - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 823245b5db7200fe-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 09 Nov 2023 01:27:30 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '14290' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '100' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '99' - x-ratelimit-remaining-tokens: - - '299615' - x-ratelimit-reset-requests: - - 600ms - x-ratelimit-reset-tokens: - - 77ms - x-request-id: - - 7351da9765d96802700d9758acf9cf00 - status: - code: 200 - message: OK -- request: - body: '{"messages": [{"role": "user", "content": "Progressively summarize the - lines of conversation provided, adding onto the previous summary returning a - new summary.\n\nEXAMPLE\nCurrent summary:\nThe human asks what the AI thinks - of artificial intelligence. The AI thinks artificial intelligence is a force - for good.\n\nNew lines of conversation:\nHuman: Why do you think artificial - intelligence is a force for good?\nAI: Because artificial intelligence will - help humans reach their full potential.\n\nNew summary:\nThe human asks what - the AI thinks of artificial intelligence. The AI thinks artificial intelligence - is a force for good because it will help humans reach their full potential.\nEND - OF EXAMPLE\n\nCurrent summary:\n\n\nNew lines of conversation:\nHuman: Write - a 1 amazing paragraph highlight for each idea that showcases how good an article - about this topic could be. Return the list of ideas with their paragraph and - your notes.\n\nThis is the context you are working with:\nHere are five unique - and interesting ideas for articles: AI and Ethics, the Role of AI in Climate - Change, AI in Healthcare, the Future of AI and Work, and AI in Space Exploration. - These topics are unique and interesting because they explore the intersections - of AI with morality, climate change, healthcare, work, and space exploration - - all critical issues in today''s world.\nAI: 1. AI and Ethics: In a world that - is increasingly being dominated by Artificial Intelligence, the question of - ethics is ever more important. This article will delve into the complex intersection - of AI and ethics, exploring how the decisions made by AI can impact society. - From privacy concerns to the accountability of AI decisions, this piece will - provide readers with a comprehensive understanding of the ethical dilemmas posed - by AI.\n\n2. The Role of AI in Climate Change: Climate change is the defining - issue of our time. This article will examine how AI is playing a pivotal role - in combating this global challenge. From predicting climate patterns to optimizing - renewable energy use, the piece will highlight how AI is not just a part of - the problem, but also a crucial part of the solution.\n\n3. AI in Healthcare: - The fusion of AI and healthcare holds a transformative potential. This article - will explore how AI is revolutionizing healthcare, from improving diagnosis - and treatment to enhancing patient care and hospital management. It will show - how AI is not just improving healthcare outcomes but also driving a more efficient - and patient-centered healthcare system.\n\n4. The Future of AI and Work: The - rise of AI has sparked a lively debate on its impact on jobs and the future - of work. This article will explore this topic in-depth, examining both the potential - job losses and the new opportunities created by AI. It will provide a balanced - and insightful analysis of how AI is reshaping the world of work.\n\n5. AI in - Space Exploration: The final frontier is not beyond the reach of AI. This article - will spotlight the role of AI in space exploration, from analyzing vast amounts - of astronomical data to autonomous spacecraft navigating the vast expanse of - space. The piece will highlight how AI is not just aiding but also accelerating - our quest to explore the universe.\n\nNew summary:"}], "model": "gpt-4", "max_tokens": - null, "stream": false, "n": 1, "temperature": 0.7}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '3356' - Content-Type: - - application/json - Cookie: - - __cf_bm=gkc3fZTvDPQQcvL6AsOb5ZabV_BJygyXmsJKgi0mtCU-1699493210-0-AWKdSYb5U/QGRawJ4wWK6DvEWiy6+l7vXFmP3RnnSvAVR+kc3AFmDrcnMowxNcJdOH8DqFD/H8jQAb6ZfMNSE3E= - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA3xUwW7bSAy9+ysIXfbiGEmbOhvfDG+KGii2wG6BFlgUBT2iNGxGw+mQcpIt8u/F - jBy7AdpeBGkeH/nmkdS3GUDDbbOCxnk0N6Rw9udWrt69c+dpc7O+7y7dX+/Dx9D9zeI3V5tmXhiy - +0LOnlgLJ0MKZCxxgl0mNCpZL5bX15fXL1+8Oq/AIC2FQuuTnV2enS8vXh4YXtiRNiv4bwYA8K0+ - i7bY0n2zgsqvJwOpYk/N6hgE0GQJ5aRBVVbDaM38BDqJRrHKfe8J/DhghJRlzy0pdLwnGCN/HQkw - tsDRKJMaxx4wG7tAwC2hrmC9rRE35tnpHMwT/COBQLoCcYRN4AGNYOMx9jQ/nL4hDOYdZpo4r0cb - 8xOrJPwg+XZe3ybCvwkdwc19CpKx2LqAIny9LfQIPUXKaKSA4DAZ77GqTZixz5g8dJKB0HkwSewW - 8Fryz8R34kYFVpBYv6lgGKDlQMOACkmUWtg9wHp7lKBj35OaAsajPwf+78yAOw4BPPc+cO8N1ts/ - FFweHWMoyq1QnAy76S59kB0GcIccrDqSHjU8M/WoolZoWd2oCl7uaqRCpr2EsdjI/5fU/sTcPQAP - dRJiDy1jH0W5mFMGeKBoU1cSGlM0KJxJw09b+FzIYcAAYYcBo6MWMGJ40OJ3N92fh4TOin1fZKc1 - 0Z3k2wW8RbXwMHXpFzPxvJomsR+MLftQWLVivTWqZYkyTA1Gw1ot4p77yXEtBVzGzhbNYXcej0vX - cWT1nzOhSiyLpCZpCnucAXyqSzw+28smZRmSfTa5pVg2e3l+PeVrTv+LE3rx6uqAmhiGE3C1XM5K - lcfZdwAAAP//AwCcDWu7rQQAAA== - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 823246112af700fe-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Thu, 09 Nov 2023 01:27:37 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '6154' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '100' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '99' - x-ratelimit-remaining-tokens: - - '299184' - x-ratelimit-reset-requests: - - 600ms - x-ratelimit-reset-tokens: - - 163ms - x-request-id: - - 73d455e4bb5dda535fe3363b0147fbc3 - status: - code: 200 - message: OK -version: 1 diff --git a/tests/cassettes/test_crew_with_delegating_agents.yaml b/tests/cassettes/test_crew_with_delegating_agents.yaml deleted file mode 100644 index 3575ff6b2..000000000 --- a/tests/cassettes/test_crew_with_delegating_agents.yaml +++ /dev/null @@ -1,579 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"role": "user", "content": "You are CEO.\nYou''re an long - time CEO of a content creation agency with a Senior Writer on the team. You''re - now working on a new project and want to make sure the content produced is amazing.\n\nYour - personal goal is: Make sure the writers in your company produce amazing content.\nTOOLS:\n------\n\nYou - have access to the following tools:\n\nDelegate Work to Co-Worker: Useful to - delegate a specific task to one of the \n\t\t\t\tfollowing co-workers: [CEO, - Senior Writer].\n\t\t\t\tThe input to this tool should be a pipe (|) separated - text of length\n\t\t\t\tthree, representing the role you want to delegate it - to, the task and \n\t\t\t\tinformation necessary. For example, `coworker|task|information`.\n\nAsk - Question to Co-Worker: Useful to ask a question, opinion or take from on\n\t\t\t\tof - the following co-workers: [CEO, Senior Writer]. \n\t\t\t\tThe input to this - tool should be a pipe (|) separated text of length \n\t\t\t\tthree, representing - the role you want to ask it to, the question and \n\t\t\t\tinformation necessary. - For example, `coworker|question|information`.\n\n\nTo use a tool, please use - the following format:\n\n```\nThought: Do I need to use a tool? Yes\nAction: - the action to take, should be one of [Delegate Work to Co-Worker, Ask Question - to Co-Worker]\nAction Input: the input to the action\nObservation: the result - of the action\n```\n\nWhen you have a response for your task, or if you do not - need to use a tool, you MUST use the format:\n\n```\nThought: Do I need to use - a tool? No\nFinal Answer: [your response here]\n```\n\t\tThis is the summary - of your work so far:\n \nBegin! This is VERY important to you, your job - depends on it!\n\nCurrent Task: Produce and amazing 1 paragraph draft of an - article about AI Agents.\n\n"}], "model": "gpt-4", "max_tokens": null, "stream": - false, "n": 1, "temperature": 0.7, "stop": ["\nObservation"]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '1925' - Content-Type: - - application/json - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA1RS22obMRB991cc9GwHO3aNvS/FaSB1aaEQlxCaEuTV7ErNrmaRZr01if+9yJfY - eRFizmVGZ/TaA5QzKoPKrZa8bqrB7NtqaKOnu5vJj9HXrvt+f/Prbvu4GZtlYVQ/KXj9l3I5qa5y - rpuKxLE/wHkgLZRcR9P5fPppOBnP90DNhqokKxsZTAbD6Wh8VFh2OUWV4XcPAF73Z5rNG/qnMgz7 - p0pNMeqSVPZOAlTgKlWUjtFF0V5U/wzm7IX8ftyV5ba0kuGWsYQnMhBGGwkawlx9xiPFJ7/I02My - 3FJFpRbCA4eXxPzCg3SlcOJg6ZtWMtyTdxzwEJxQePsZ2LR5Mh2h0UGXQTcWJuhCwAW0hw7i8oqg - 19wKFkssSvIS31bWxQtJtNxWBmsC+VKXzpd9OF9wqLW4DUF7gybwxhmCWEIgbSigc2KhsQ6OCvCG - wsZRlzp3Vl90gw4Hi85uk3y7L7i64ZAyvMKTV8cYd+/5F867aJ8D6cg+ZRqFmwNt1wP+7PfZfliR - agLXjTwLv5BPS56MJgc/df46Z3Q6O4LCoqsL1ey6l5rsev8BAAD//wMAXDMzwrcCAAA= - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 824143ad1aac0108-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Fri, 10 Nov 2023 21:07:23 GMT - Server: - - cloudflare - Set-Cookie: - - __cf_bm=BJCIwITJ38jRui6K.7wMbft5s6X08Igv1apUn36eQig-1699650443-0-AedvzmUPJryFUloxAEAX1O07DWDpjuQCqrS9A+Do71R+4EmtK2da6BZ9gQ+2H2Ktiu+zu4K9Svwd0VLOLW+vUCk=; - path=/; expires=Fri, 10-Nov-23 21:37:23 GMT; domain=.api.openai.com; HttpOnly; - Secure; SameSite=None - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '3672' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '299560' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 88ms - x-request-id: - - baabf544ff76af09054a90d10db8b702 - status: - code: 200 - message: OK -- request: - body: '{"messages": [{"role": "user", "content": "You are Senior Writer.\nYou''re - a senior writr, specialized in technology, software engineering, AI and startups. - You work as a freelancer and are now working on writing content for a new customer.\n\nYour - personal goal is: Write the best content about AI and AI agents.\nTOOLS:\n------\n\nYou - have access to the following tools:\n\n\n\nTo use a tool, please use the following - format:\n\n```\nThought: Do I need to use a tool? Yes\nAction: the action to - take, should be one of []\nAction Input: the input to the action\nObservation: - the result of the action\n```\n\nWhen you have a response for your task, or - if you do not need to use a tool, you MUST use the format:\n\n```\nThought: - Do I need to use a tool? No\nFinal Answer: [your response here]\n```\n\t\tThis - is the summary of your work so far:\n \nBegin! This is VERY important - to you, your job depends on it!\n\nCurrent Task: Produce a 1 paragraph draft - of an article about AI Agents\n\nThis is the context you are working with:\nThis - paragraph should be engaging, informative and provide the reader with a brief - overview of what AI Agents are and why they are important. \n\n\n"}], "model": - "gpt-4", "max_tokens": null, "stream": false, "n": 1, "temperature": 0.7, "stop": - ["\nObservation"]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '1298' - Content-Type: - - application/json - Cookie: - - __cf_bm=BJCIwITJ38jRui6K.7wMbft5s6X08Igv1apUn36eQig-1699650443-0-AedvzmUPJryFUloxAEAX1O07DWDpjuQCqrS9A+Do71R+4EmtK2da6BZ9gQ+2H2Ktiu+zu4K9Svwd0VLOLW+vUCk= - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA1SUUWscRwzH3+9TiH1qYc/YyeUa30txSUpdSiHFgUISgm5Wuyt7RtqONOdcgr97 - md1z7LwsizSSfpq/NN9WAA13zQ6aMKKHNMX16z9vzuNvx7fltn93mzfHt/907//4983rv/7r3+2b - tkbo/paCP0adBU1TJGeVxR0yoVPNerG9vNy+Ot9sXs6OpB3FGjZMvt6sz7cXL08Ro3Iga3bwYQUA - 8G3+Vjbp6Euzg/P20ZLIDAdqdt8PATRZY7U0aMbmKN60T86g4iQz7s2oZRh9B28UrkGIOnCFYgQI - rhp/hb/1o3yU31kwwpXYPeUdVMtVdu45MEa4FqcYeSAJBD9dXf8MOJC4teAjQSjuLMOauoHAKYyi - UYcj+IgObJDJRpxYhvl0xwM7RogonQWcqAXMBKa939cfEmdnsiUci6to0mLxCBPlXnMCR7uz2gaG - kelAYBOFygqDYrQzuBmpNnhinLIOGVNaWk94R9BRYGMVgz0adaBS2TgDyYGzSiLxhWtGznyo+L3m - QLCnkaUDhFSis5eOQHtgET1gnQhroc+awCj268fQgHkmniibCkb+Sh1kCpoSSbfEAQvQejblQHMX - x5lhKjbWJHst0mGul8MCB8ysxcAouGZrIbHzgFUKGEtCAcpZcwssdTyt2qmvipKEYwsoleCgsdTq - /HXGLOaaKAN9mSjXgwsHcJo0O1b9tYer69PlVnmLdJQtaKYO9sfTPeKeI/txFqnDyedqkTBLC8VG - yrUaCyAI3QNlrGmfzc79SJkgVYGFDAIKJE4cFmztnQSs5AnN2lO3/GxIz+D9TOUoXa30AzDesSxa - PGK4zjr3xUuu83j6O1E8w+J63Zgi1bIsXtj5QAsUmld9WIZ4BEuY/aw5reTD913uWdjGz1UPlbqf - 5jotxx5WAJ/mt6H8sO7NlDVN/tn1jqQ+GC9eXS75mqdn6Ml7sf3l5HV1jE+OzYvtqlZ5WP0PAAD/ - /wMAabm4aQQFAAA= - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 824143c72aed0108-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Fri, 10 Nov 2023 21:07:33 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '9641' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '299706' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 58ms - x-request-id: - - 442f5966ae613d11ca8f84b7bc0515fb - status: - code: 200 - message: OK -- request: - body: '{"messages": [{"role": "user", "content": "Progressively summarize the - lines of conversation provided, adding onto the previous summary returning a - new summary.\n\nEXAMPLE\nCurrent summary:\nThe human asks what the AI thinks - of artificial intelligence. The AI thinks artificial intelligence is a force - for good.\n\nNew lines of conversation:\nHuman: Why do you think artificial - intelligence is a force for good?\nAI: Because artificial intelligence will - help humans reach their full potential.\n\nNew summary:\nThe human asks what - the AI thinks of artificial intelligence. The AI thinks artificial intelligence - is a force for good because it will help humans reach their full potential.\nEND - OF EXAMPLE\n\nCurrent summary:\n\n\nNew lines of conversation:\nHuman: Produce - a 1 paragraph draft of an article about AI Agents\n\nThis is the context you - are working with:\nThis paragraph should be engaging, informative and provide - the reader with a brief overview of what AI Agents are and why they are important. - \n\nAI: Artificial Intelligence (AI) agents, the cutting-edge technology that - is reshaping the digital landscape, are software entities that autonomously - perform tasks to achieve specific goals. These agents, programmed to make decisions - based on their environment, are the driving force behind a multitude of innovations, - from self-driving cars to personalized recommendations in e-commerce. They are - pushing boundaries in various sectors, mitigating human error, increasing efficiency, - and revolutionizing customer experience. The importance of AI agents is underscored - by their ability to adapt and learn, ushering in a new era of technology where - machines can mimic, and often surpass, human intelligence. Understanding AI - agents is akin to peering into the future, a future where technology is seamless, - intuitive, and astoundingly smart.\n\nNew summary:"}], "model": "gpt-4", "max_tokens": - null, "stream": false, "n": 1, "temperature": 0.7}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '1955' - Content-Type: - - application/json - Cookie: - - __cf_bm=BJCIwITJ38jRui6K.7wMbft5s6X08Igv1apUn36eQig-1699650443-0-AedvzmUPJryFUloxAEAX1O07DWDpjuQCqrS9A+Do71R+4EmtK2da6BZ9gQ+2H2Ktiu+zu4K9Svwd0VLOLW+vUCk= - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA1RTwW7bMAy95ysIn50iRdKsza0DdugOOwzdZcNQMDJtc5FEQaTdZkX/fZCdNN3F - MPT4nh4fqdcFQMVNtYPK9WguJL+8/fq4Gtuf6XZst1++9dLzd/2xaTbPQT/3VV0Ysv9Dzs6sKych - eTKWOMMuExoV1evt3d32ZrW5WU9AkIZ8oXXJlpvlanu9PjF6YUda7eDXAgDgdfoWb7Ghl2oHq/p8 - EkgVO6p270UAVRZfTipUZTWMVtUX0Ek0ipPdx56gHwJGQD0oWE9w/wAmkLI0gyNAaDK2BtJCKcrG - zhPgXgYrlfcdRSs8NGAFih12HDvA2ADHVnJA45Gu4HFWbkhd5j3pBzIqqLT2jJmAorExnRRxMIkS - ZFB/hES56IHNTgXQ9UwjgSZy3LKDTtBrDU3msXjgGGXEMgUFzwcCJd8uz6jDrJPNRFkloue/1AAt - nYRA2RFkmn5jM0tMLRyBYxmmElDbsmOK7lhDpimrOUjKWXI9JxBSlpHADWoSKAO9JMqFNCfCuZRI - NoyOwJe+OZYhcAbcs2c7lkY9YY6TIDaYrIbAgd3hnLO0RhF0yKlMO3YnHxyNvOfu/bYSuQ5dR3qe - 2BAbymU9mkK7fwCcJ8KnwDrPIemcZQkc2sGGTPDcUyYwcn0UL92xEJQweFKtS+3AZeqnEEpiDe/9 - 8YMlu6pO+/j2vsgtR9b+qcQrsSynmqS57G0B8Ht6GMN/u16lLCHZk8mBYnkt6/WnWa+6vMELer26 - O6Emhv4CbDbbRbnlbfEPAAD//wMACzsmGwEEAAA= - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 824144053bcd0108-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Fri, 10 Nov 2023 21:07:39 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '5612' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '299533' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 93ms - x-request-id: - - 07db6976c904d2b23e9d0702ba3bb933 - status: - code: 200 - message: OK -- request: - body: '{"messages": [{"role": "user", "content": "You are CEO.\nYou''re an long - time CEO of a content creation agency with a Senior Writer on the team. You''re - now working on a new project and want to make sure the content produced is amazing.\n\nYour - personal goal is: Make sure the writers in your company produce amazing content.\nTOOLS:\n------\n\nYou - have access to the following tools:\n\nDelegate Work to Co-Worker: Useful to - delegate a specific task to one of the \n\t\t\t\tfollowing co-workers: [CEO, - Senior Writer].\n\t\t\t\tThe input to this tool should be a pipe (|) separated - text of length\n\t\t\t\tthree, representing the role you want to delegate it - to, the task and \n\t\t\t\tinformation necessary. For example, `coworker|task|information`.\n\nAsk - Question to Co-Worker: Useful to ask a question, opinion or take from on\n\t\t\t\tof - the following co-workers: [CEO, Senior Writer]. \n\t\t\t\tThe input to this - tool should be a pipe (|) separated text of length \n\t\t\t\tthree, representing - the role you want to ask it to, the question and \n\t\t\t\tinformation necessary. - For example, `coworker|question|information`.\n\n\nTo use a tool, please use - the following format:\n\n```\nThought: Do I need to use a tool? Yes\nAction: - the action to take, should be one of [Delegate Work to Co-Worker, Ask Question - to Co-Worker]\nAction Input: the input to the action\nObservation: the result - of the action\n```\n\nWhen you have a response for your task, or if you do not - need to use a tool, you MUST use the format:\n\n```\nThought: Do I need to use - a tool? No\nFinal Answer: [your response here]\n```\n\t\tThis is the summary - of your work so far:\n \nBegin! This is VERY important to you, your job - depends on it!\n\nCurrent Task: Produce and amazing 1 paragraph draft of an - article about AI Agents.\nThought: Do I need to use a tool? Yes\nAction: Delegate - Work to Co-Worker\nAction Input: Senior Writer|Produce a 1 paragraph draft of - an article about AI Agents|This paragraph should be engaging, informative and - provide the reader with a brief overview of what AI Agents are and why they - are important. \n\nObservation: Artificial Intelligence (AI) agents, the cutting-edge - technology that is reshaping the digital landscape, are software entities that - autonomously perform tasks to achieve specific goals. These agents, programmed - to make decisions based on their environment, are the driving force behind a - multitude of innovations, from self-driving cars to personalized recommendations - in e-commerce. They are pushing boundaries in various sectors, mitigating human - error, increasing efficiency, and revolutionizing customer experience. The importance - of AI agents is underscored by their ability to adapt and learn, ushering in - a new era of technology where machines can mimic, and often surpass, human intelligence. - Understanding AI agents is akin to peering into the future, a future where technology - is seamless, intuitive, and astoundingly smart.\nThought: \n"}], "model": "gpt-4", - "max_tokens": null, "stream": false, "n": 1, "temperature": 0.7, "stop": ["\nObservation"]}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '3091' - Content-Type: - - application/json - Cookie: - - __cf_bm=BJCIwITJ38jRui6K.7wMbft5s6X08Igv1apUn36eQig-1699650443-0-AedvzmUPJryFUloxAEAX1O07DWDpjuQCqrS9A+Do71R+4EmtK2da6BZ9gQ+2H2Ktiu+zu4K9Svwd0VLOLW+vUCk= - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA1SUTW/cRgyG7/4VhE4poDW8iL1Z76VwUBTYHlIUSdtDXQTcESWxniEFDmedTeD/ - Xoy0jp2LMBh+PcOX4rcLgIa7ZgdNGNFDmuJq+9un9Xq/vQ3H8D4N7z5s9x83f9xc/371F+N109YI - PfxHwZ+jLoOmKZKzymIORuhUs643t7ebm6vrm9vZkLSjWMOGyVfXq6vN+u05YlQOlJsd/HMBAPBt - /lY26ehLs4Or9vkmUc44ULP77gTQmMZ602DOnB3Fm/bFGFScZMb9RWEPQtSBK5RMgOCq8Wf4oPfy - KwtGuJP8SLaDTyPBRxJWg7+NnQwm064E6gAFMOFXlgEmNBwMpxHwoMXhbg93A4nnHdw3d+bcc2CM - sBenGHkgCQRv7vY/Ac5uLfhIEIo7y7CibiBwCqNo1OEEPqIDZzDKI061XvXueGDHCBGlywEnagGN - IGvvj/VA4uxMeQnH4iqatOR4gomsV0vgmB9y7QGGkelIkCcKlRUGxZgv6+trd86Mk+lgmNLSt4QP - BB0FzqyS4YCZOlCpbGxAcmRTSSS+cM3IxseK36sFggONLB0gpBKdvXQE2gOL6BHrFOUWetMEmWK/ - eg4NaDPxRJZVMPJX6sAoaEok3RIHLECr+coCza84zQxTyWNNctAiHVptDgsc0VhLhkzB1XILiZ0H - rFLAWBIKkJlaCyx1pHO9p74qShJOLaBUgqPGUqvzPBChZNdEBvRlIquOCwdwmtQcq/7a1zlZmlvl - LdKR5aBGHRxO5z7igSP7aRapw8nnapHQpIWSR7JajQUQhB6BDGvaV7PzOJIRpCqwUIaAAokThwVb - eyeBXGzCnNvza/nVkF7CnzOVo3S10g/A+MCyaPGM4Trr3BcvVufxfDpTvMLi2m5MkWpZFi/sfKQF - CrNXfViGeIKc0PzyvmnOP/LT9w3Qs3AeP1dFVOpfnV2nxe3pAuDfeaOUH5ZEM5mmyT+7PpDUNbN5 - u13yNS/L68W6frc5W10d44thu76+qFWeLv4HAAD//wMA4FF0ljoFAAA= - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 82414429ed5c0108-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Fri, 10 Nov 2023 21:07:47 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '7913' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '299270' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 146ms - x-request-id: - - 7f268488395030d8e4ecac89842bb40b - status: - code: 200 - message: OK -- request: - body: '{"messages": [{"role": "user", "content": "Progressively summarize the - lines of conversation provided, adding onto the previous summary returning a - new summary.\n\nEXAMPLE\nCurrent summary:\nThe human asks what the AI thinks - of artificial intelligence. The AI thinks artificial intelligence is a force - for good.\n\nNew lines of conversation:\nHuman: Why do you think artificial - intelligence is a force for good?\nAI: Because artificial intelligence will - help humans reach their full potential.\n\nNew summary:\nThe human asks what - the AI thinks of artificial intelligence. The AI thinks artificial intelligence - is a force for good because it will help humans reach their full potential.\nEND - OF EXAMPLE\n\nCurrent summary:\n\n\nNew lines of conversation:\nHuman: Produce - and amazing 1 paragraph draft of an article about AI Agents.\nAI: The Senior - Writer produced an amazing paragraph about AI Agents: \"Artificial Intelligence - (AI) agents, the cutting-edge technology that is reshaping the digital landscape, - are software entities that autonomously perform tasks to achieve specific goals. - These agents, programmed to make decisions based on their environment, are the - driving force behind a multitude of innovations, from self-driving cars to personalized - recommendations in e-commerce. They are pushing boundaries in various sectors, - mitigating human error, increasing efficiency, and revolutionizing customer - experience. The importance of AI agents is underscored by their ability to adapt - and learn, ushering in a new era of technology where machines can mimic, and - often surpass, human intelligence. Understanding AI agents is akin to peering - into the future, a future where technology is seamless, intuitive, and astoundingly - smart.\"\n\nNew summary:"}], "model": "gpt-4", "max_tokens": null, "stream": - false, "n": 1, "temperature": 0.7}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Authorization: - - Bearer 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 - Connection: - - keep-alive - Content-Length: - - '1844' - Content-Type: - - application/json - Cookie: - - __cf_bm=BJCIwITJ38jRui6K.7wMbft5s6X08Igv1apUn36eQig-1699650443-0-AedvzmUPJryFUloxAEAX1O07DWDpjuQCqrS9A+Do71R+4EmtK2da6BZ9gQ+2H2Ktiu+zu4K9Svwd0VLOLW+vUCk= - User-Agent: - - OpenAI/v1 PythonBindings/0.28.1 - X-OpenAI-Client-User-Agent: - - '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version": - "3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai", - "uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 - PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}' - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - body: - string: !!binary | - H4sIAAAAAAAAA1RSTU8bQQy951dYe15QIiCQ3Li0pb2iqh+qkDPj3XGZtUcz3kCK+O/V7AYiLnPw - 83t+Hr+XBUDDvtlC4wKaG1I8u/l6v9r8Su4uft/9CHL97fbT55tD6tKXnxtu2srQ3V9y9sY6dzqk - SMYqM+wyoVFVXa03m/XV8nJ9PQGDeoqV1ic7uzxbrlcXR0ZQdlSaLfxeAAC8TG/1Jp6emy0s27fK - QKVgT832vQmgyRprpcFSuBiKNe0JdCpGMtm9DwRhHFAAy2MBCwS3d2AKKasfHQGCCkHCjH3GFMBn - 7Ay0g0rJxi4S4E5Hq7zbnsTKOdzPMplKUvEFntgCIHgy5Ej+JNeCp+Iy71j6ysBJALBA0c6eMBOQ - GBtT9YYGOJqKDjqWeIBEudM8gM3eFdAFpj1BSeS4Ywe9Ypz9HKCKBe5D5D4Y+Tqkrusz7+v0TrMj - 2FFg8bDHzDoWYBHdYz1kaYGl3rHUZuo6dkziDi2geMi01zjWPv5XcTcW04Ey0HOiXBtp/hUekmZD - cVT/8LQxFxjFUy5OM3nYHao3zoA7jmyHaTmPyaZpkTBLC2XMqd5X+uMJWYxi5L6OAxYoOhA4LFTO - m+P1X99j07FwCQ91I5UahWKa5rbXBcCfKYbjh2Q1KeuQ7MH0kaRm82J1Nes1p8Sf0Jv1ETQ1jKf6 - 5XK1qENeF/8BAAD//wMAJ/XGCW4DAAA= - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 8241445d6f060108-GRU - Cache-Control: - - no-cache, must-revalidate - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Fri, 10 Nov 2023 21:07:52 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - access-control-allow-origin: - - '*' - alt-svc: - - h3=":443"; ma=86400 - openai-model: - - gpt-4-0613 - openai-organization: - - clearbit-2 - openai-processing-ms: - - '4637' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=15724800; includeSubDomains - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '300000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '299560' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 88ms - x-request-id: - - 4e3e1ec5267366325f3110cbeff4febc - status: - code: 200 - message: OK -version: 1