From 81d5fe6fc6d9d9a5657247ce12dd21af1016d018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Moura?= Date: Tue, 19 Mar 2024 12:47:34 -0300 Subject: [PATCH] Ability to disable cache at agent and crew level --- src/crewai/agent.py | 18 +- src/crewai/agents/executor.py | 2 +- src/crewai/crew.py | 7 +- src/crewai/tools/tool_usage.py | 14 +- tests/agent_test.py | 66 +- .../test_disabling_cache_for_agent.yaml | 1886 +++++++++++++++++ 6 files changed, 1980 insertions(+), 13 deletions(-) create mode 100644 tests/cassettes/test_disabling_cache_for_agent.yaml diff --git a/src/crewai/agent.py b/src/crewai/agent.py index 3a2ec9c97..5785ba22b 100644 --- a/src/crewai/agent.py +++ b/src/crewai/agent.py @@ -66,6 +66,10 @@ class Agent(BaseModel): role: str = Field(description="Role of the agent") goal: str = Field(description="Objective of the agent") backstory: str = Field(description="Backstory of the agent") + cache: bool = Field( + default=True, + description="Whether the agent should use a cache for tool usage.", + ) config: Optional[Dict[str, Any]] = Field( description="Configuration for the agent", default=None, @@ -96,7 +100,7 @@ class Agent(BaseModel): default=None, description="An instance of the ToolsHandler class." ) cache_handler: InstanceOf[CacheHandler] = Field( - default=CacheHandler(), description="An instance of the CacheHandler class." + default=None, description="An instance of the CacheHandler class." ) step_callback: Optional[Any] = Field( default=None, @@ -158,6 +162,8 @@ class Agent(BaseModel): TokenCalcHandler(self.llm.model_name, self._token_process) ] if not self.agent_executor: + if not self.cache_handler: + self.cache_handler = CacheHandler() self.set_cache_handler(self.cache_handler) return self @@ -177,7 +183,8 @@ class Agent(BaseModel): Returns: Output of the agent """ - self.tools_handler.last_used_tool = {} + if self.tools_handler: + self.tools_handler.last_used_tool = {} task_prompt = task.prompt() @@ -213,9 +220,10 @@ class Agent(BaseModel): Args: cache_handler: An instance of the CacheHandler class. """ - self.cache_handler = cache_handler - self.tools_handler = ToolsHandler(cache=self.cache_handler) - self.create_agent_executor() + if self.cache: + self.cache_handler = cache_handler + self.tools_handler = ToolsHandler(cache=self.cache_handler) + self.create_agent_executor() def set_rpm_controller(self, rpm_controller: RPMController) -> None: """Set the rpm controller for the agent. diff --git a/src/crewai/agents/executor.py b/src/crewai/agents/executor.py index 89f8eb173..7d10341c2 100644 --- a/src/crewai/agents/executor.py +++ b/src/crewai/agents/executor.py @@ -198,7 +198,7 @@ class CrewAgentExecutor(AgentExecutor): for agent_action in actions: if run_manager: run_manager.on_agent_action(agent_action, color="green") - # Otherwise we lookup the tool + tool_usage = ToolUsage( tools_handler=self.tools_handler, tools=self.tools, diff --git a/src/crewai/crew.py b/src/crewai/crew.py index 5e0a143f1..a854fc557 100644 --- a/src/crewai/crew.py +++ b/src/crewai/crew.py @@ -34,8 +34,9 @@ class Crew(BaseModel): agents: List of agents part of this crew. manager_llm: The language model that will run manager agent. manager_callbacks: The callback handlers to be executed by the manager agent when hierarchical process is used + cache: Whether the crew should use a cache to store the results of the tools execution. function_calling_llm: The language model that will run the tool calling for all the agents. - process: The process flow that the crew will follow (e.g., sequential). + process: The process flow that the crew will follow (e.g., sequential, hierarchical). verbose: Indicates the verbosity level for logging during execution. config: Configuration settings for the crew. max_rpm: Maximum number of requests per minute for the crew execution to be respected. @@ -50,6 +51,7 @@ class Crew(BaseModel): _rpm_controller: RPMController = PrivateAttr() _logger: Logger = PrivateAttr() _cache_handler: InstanceOf[CacheHandler] = PrivateAttr(default=CacheHandler()) + cache: bool = Field(default=True) model_config = ConfigDict(arbitrary_types_allowed=True) tasks: List[Task] = Field(default_factory=list) agents: List[Agent] = Field(default_factory=list) @@ -150,7 +152,8 @@ class Crew(BaseModel): if self.agents: for agent in self.agents: - agent.set_cache_handler(self._cache_handler) + if self.cache: + agent.set_cache_handler(self._cache_handler) if self.max_rpm: agent.set_rpm_controller(self._rpm_controller) return self diff --git a/src/crewai/tools/tool_usage.py b/src/crewai/tools/tool_usage.py index 010d20a4b..5da51aeee 100644 --- a/src/crewai/tools/tool_usage.py +++ b/src/crewai/tools/tool_usage.py @@ -109,9 +109,12 @@ class ToolUsage: except Exception: self.task.increment_tools_errors() - result = self.tools_handler.cache.read( - tool=calling.tool_name, input=calling.arguments - ) + result = None + + if self.tools_handler: + result = self.tools_handler.cache.read( + tool=calling.tool_name, input=calling.arguments + ) if not result: try: @@ -155,7 +158,8 @@ class ToolUsage: self.task.increment_tools_errors() return self.use(calling=calling, tool_string=tool_string) - self.tools_handler.on_tool_use(calling=calling, output=result) + if self.tools_handler: + self.tools_handler.on_tool_use(calling=calling, output=result) self._printer.print(content=f"\n\n{result}\n", color="yellow") self._telemetry.tool_usage( @@ -185,6 +189,8 @@ class ToolUsage: def _check_tool_repeated_usage( self, calling: Union[ToolCalling, InstructorToolCalling] ) -> None: + if not self.tools_handler: + return False if last_tool_usage := self.tools_handler.last_used_tool: return (calling.tool_name == last_tool_usage.tool_name) and ( calling.arguments == last_tool_usage.arguments diff --git a/tests/agent_test.py b/tests/agent_test.py index 44be37089..77a37172f 100644 --- a/tests/agent_test.py +++ b/tests/agent_test.py @@ -208,7 +208,7 @@ def test_cache_hitting(): with patch.object(CacheHandler, "read") as read: read.return_value = "0" task = Task( - description="What is 2 times 6? Ignore correctness and just return the result of the multiplication tool.", + description="What is 2 times 6? Ignore correctness and just return the result of the multiplication tool, you must use the tool.", agent=agent, expected_output="The result of the multiplication.", ) @@ -219,6 +219,70 @@ def test_cache_hitting(): ) +@pytest.mark.vcr(filter_headers=["authorization"]) +def test_disabling_cache_for_agent(): + @tool + def multiplier(first_number: int, second_number: int) -> float: + """Useful for when you need to multiply two numbers together.""" + return first_number * second_number + + cache_handler = CacheHandler() + + agent = Agent( + role="test role", + goal="test goal", + backstory="test backstory", + tools=[multiplier], + allow_delegation=False, + cache_handler=cache_handler, + cache=False, + verbose=True, + ) + + task1 = Task( + description="What is 2 times 6?", + agent=agent, + expected_output="The result of the multiplication.", + ) + task2 = Task( + description="What is 3 times 3?", + agent=agent, + expected_output="The result of the multiplication.", + ) + + output = agent.execute_task(task1) + output = agent.execute_task(task2) + assert cache_handler._cache != { + "multiplier-{'first_number': 2, 'second_number': 6}": 12, + "multiplier-{'first_number': 3, 'second_number': 3}": 9, + } + + task = Task( + description="What is 2 times 6 times 3? Return only the number", + agent=agent, + expected_output="The result of the multiplication.", + ) + output = agent.execute_task(task) + assert output == "36" + + assert cache_handler._cache != { + "multiplier-{'first_number': 2, 'second_number': 6}": 12, + "multiplier-{'first_number': 3, 'second_number': 3}": 9, + "multiplier-{'first_number': 12, 'second_number': 3}": 36, + } + + with patch.object(CacheHandler, "read") as read: + read.return_value = "0" + task = Task( + description="What is 2 times 6? Ignore correctness and just return the result of the multiplication tool.", + agent=agent, + expected_output="The result of the multiplication.", + ) + output = agent.execute_task(task) + assert output == "12" + read.assert_not_called() + + @pytest.mark.vcr(filter_headers=["authorization"]) def test_agent_execution_with_specific_tools(): @tool diff --git a/tests/cassettes/test_disabling_cache_for_agent.yaml b/tests/cassettes/test_disabling_cache_for_agent.yaml new file mode 100644 index 000000000..d28e841ff --- /dev/null +++ b/tests/cassettes/test_disabling_cache_for_agent.yaml @@ -0,0 +1,1886 @@ +interactions: +- request: + body: '{"messages": [{"role": "user", "content": "You are test role. test backstory\nYour + personal goal is: test goal\n\nYou ONLY have access to the following tools, + and should NEVER make up tools that are not listed here:\n\nmultiplier: multiplier(first_number: + int, second_number: int) -> float - Useful for when you need to multiply two + numbers together.\n\nUse the following format:\n\nThought: you should always + think about what to do\nAction: the action to take, only one name of [multiplier], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple a python dictionary using \" to wrap keys and values.\nObservation: + the result of the action\n\nOnce all necessary information is gathered:\n\nThought: + I now know the final answer\nFinal Answer: the final answer to the original + input question\n\n\nCurrent Task: What is 2 times 6?\n\nThis is the expect criteria + for your final answer: The result of the multiplication. \n you MUST return + the actual complete content as the final answer, not a summary.\n\nBegin! This + is VERY important to you, use the tools available and give your best Final Answer, + your job depends on it!\n\nThought: \n"}], "model": "gpt-4", "n": 1, "stop": + ["\nObservation"], "stream": true, "temperature": 0.7}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate, br + connection: + - keep-alive + content-length: + - '1268' + content-type: + - application/json + host: + - api.openai.com + user-agent: + - OpenAI/Python 1.13.3 + x-stainless-arch: + - arm64 + x-stainless-async: + - 'false' + x-stainless-lang: + - python + x-stainless-os: + - MacOS + x-stainless-package-version: + - 1.13.3 + x-stainless-runtime: + - CPython + x-stainless-runtime-version: + - 3.11.7 + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: 'data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + need"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + to"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + multiply"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + and"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + together"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + to"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + find"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"multi"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"plier"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + Input"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"{\""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"first"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"second"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"}\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9OXg12ntLNgUtkDu1SGFi7slA2","object":"chat.completion.chunk","created":1710848550,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + + + data: [DONE] + + + ' + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 866d33118aa51b1b-GRU + Cache-Control: + - no-cache, must-revalidate + Connection: + - keep-alive + Content-Type: + - text/event-stream + Date: + - Tue, 19 Mar 2024 11:42:31 GMT + Server: + - cloudflare + Set-Cookie: + - __cf_bm=9_tgwGBeamJLB4D9H6nRdh3aiiHO7Qzm54WjkzkYuTg-1710848551-1.0.1.1-wP9lLLrOc.1Or0ZiCZ_JK98s_W1YWYKK3HB27kOZ5vaFZ08p0dZf1Zguujjziil.6Q4twY4pHCKaVpQtwFP5ag; + path=/; expires=Tue, 19-Mar-24 12:12:31 GMT; domain=.api.openai.com; HttpOnly; + Secure; SameSite=None + - _cfuvid=W0cfxXtMsyAUQW6jw1WRqjRtVpYi3zFEkAYOcgcw7Bo-1710848551210-0.0.1.1-604800000; + path=/; 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: + - crewai-iuxna1 + openai-processing-ms: + - '293' + 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: + - req_7c8b53cc40b6edcb2fcc4ea8fa162f84 + status: + code: 200 + message: OK +- request: + body: '{"messages": [{"role": "user", "content": "You are test role. test backstory\nYour + personal goal is: test goal\n\nYou ONLY have access to the following tools, + and should NEVER make up tools that are not listed here:\n\nmultiplier: multiplier(first_number: + int, second_number: int) -> float - Useful for when you need to multiply two + numbers together.\n\nUse the following format:\n\nThought: you should always + think about what to do\nAction: the action to take, only one name of [multiplier], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple a python dictionary using \" to wrap keys and values.\nObservation: + the result of the action\n\nOnce all necessary information is gathered:\n\nThought: + I now know the final answer\nFinal Answer: the final answer to the original + input question\n\n\nCurrent Task: What is 2 times 6?\n\nThis is the expect criteria + for your final answer: The result of the multiplication. \n you MUST return + the actual complete content as the final answer, not a summary.\n\nBegin! This + is VERY important to you, use the tools available and give your best Final Answer, + your job depends on it!\n\nThought: \nI need to multiply 2 and 6 together to + find the answer.\n\nAction: \nmultiplier\n\nAction Input: \n{\"first_number\": + 2, \"second_number\": 6}\n\nObservation: 12\n"}], "model": "gpt-4", "n": 1, + "stop": ["\nObservation"], "stream": true, "temperature": 0.7}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate, br + connection: + - keep-alive + content-length: + - '1431' + content-type: + - application/json + cookie: + - __cf_bm=9_tgwGBeamJLB4D9H6nRdh3aiiHO7Qzm54WjkzkYuTg-1710848551-1.0.1.1-wP9lLLrOc.1Or0ZiCZ_JK98s_W1YWYKK3HB27kOZ5vaFZ08p0dZf1Zguujjziil.6Q4twY4pHCKaVpQtwFP5ag; + _cfuvid=W0cfxXtMsyAUQW6jw1WRqjRtVpYi3zFEkAYOcgcw7Bo-1710848551210-0.0.1.1-604800000 + host: + - api.openai.com + user-agent: + - OpenAI/Python 1.13.3 + x-stainless-arch: + - arm64 + x-stainless-async: + - 'false' + x-stainless-lang: + - python + x-stainless-os: + - MacOS + x-stainless-package-version: + - 1.13.3 + x-stainless-runtime: + - CPython + x-stainless-runtime-version: + - 3.11.7 + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: 'data: {"id":"chatcmpl-94S9ROmCGXmyjEhGhaJcEWsBqgnfS","object":"chat.completion.chunk","created":1710848553,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9ROmCGXmyjEhGhaJcEWsBqgnfS","object":"chat.completion.chunk","created":1710848553,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9ROmCGXmyjEhGhaJcEWsBqgnfS","object":"chat.completion.chunk","created":1710848553,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9ROmCGXmyjEhGhaJcEWsBqgnfS","object":"chat.completion.chunk","created":1710848553,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9ROmCGXmyjEhGhaJcEWsBqgnfS","object":"chat.completion.chunk","created":1710848553,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9ROmCGXmyjEhGhaJcEWsBqgnfS","object":"chat.completion.chunk","created":1710848553,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + now"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9ROmCGXmyjEhGhaJcEWsBqgnfS","object":"chat.completion.chunk","created":1710848553,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + know"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9ROmCGXmyjEhGhaJcEWsBqgnfS","object":"chat.completion.chunk","created":1710848553,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9ROmCGXmyjEhGhaJcEWsBqgnfS","object":"chat.completion.chunk","created":1710848553,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9ROmCGXmyjEhGhaJcEWsBqgnfS","object":"chat.completion.chunk","created":1710848553,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9ROmCGXmyjEhGhaJcEWsBqgnfS","object":"chat.completion.chunk","created":1710848553,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9ROmCGXmyjEhGhaJcEWsBqgnfS","object":"chat.completion.chunk","created":1710848553,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9ROmCGXmyjEhGhaJcEWsBqgnfS","object":"chat.completion.chunk","created":1710848553,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + Answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9ROmCGXmyjEhGhaJcEWsBqgnfS","object":"chat.completion.chunk","created":1710848553,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9ROmCGXmyjEhGhaJcEWsBqgnfS","object":"chat.completion.chunk","created":1710848553,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9ROmCGXmyjEhGhaJcEWsBqgnfS","object":"chat.completion.chunk","created":1710848553,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"12"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9ROmCGXmyjEhGhaJcEWsBqgnfS","object":"chat.completion.chunk","created":1710848553,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + + + data: [DONE] + + + ' + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 866d331fbec01b1b-GRU + Cache-Control: + - no-cache, must-revalidate + Connection: + - keep-alive + Content-Type: + - text/event-stream + Date: + - Tue, 19 Mar 2024 11:42:33 GMT + Server: + - cloudflare + Transfer-Encoding: + - chunked + access-control-allow-origin: + - '*' + alt-svc: + - h3=":443"; ma=86400 + openai-model: + - gpt-4-0613 + openai-organization: + - crewai-iuxna1 + openai-processing-ms: + - '248' + 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: + - '299669' + x-ratelimit-reset-requests: + - 6ms + x-ratelimit-reset-tokens: + - 66ms + x-request-id: + - req_a36bcec9b43a6a9c924c72a708713e57 + status: + code: 200 + message: OK +- request: + body: '{"messages": [{"role": "user", "content": "You are test role. test backstory\nYour + personal goal is: test goal\n\nYou ONLY have access to the following tools, + and should NEVER make up tools that are not listed here:\n\nmultiplier: multiplier(first_number: + int, second_number: int) -> float - Useful for when you need to multiply two + numbers together.\n\nUse the following format:\n\nThought: you should always + think about what to do\nAction: the action to take, only one name of [multiplier], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple a python dictionary using \" to wrap keys and values.\nObservation: + the result of the action\n\nOnce all necessary information is gathered:\n\nThought: + I now know the final answer\nFinal Answer: the final answer to the original + input question\n\n\nCurrent Task: What is 3 times 3?\n\nThis is the expect criteria + for your final answer: The result of the multiplication. \n you MUST return + the actual complete content as the final answer, not a summary.\n\nBegin! This + is VERY important to you, use the tools available and give your best Final Answer, + your job depends on it!\n\nThought: \n"}], "model": "gpt-4", "n": 1, "stop": + ["\nObservation"], "stream": true, "temperature": 0.7}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate, br + connection: + - keep-alive + content-length: + - '1268' + content-type: + - application/json + cookie: + - __cf_bm=9_tgwGBeamJLB4D9H6nRdh3aiiHO7Qzm54WjkzkYuTg-1710848551-1.0.1.1-wP9lLLrOc.1Or0ZiCZ_JK98s_W1YWYKK3HB27kOZ5vaFZ08p0dZf1Zguujjziil.6Q4twY4pHCKaVpQtwFP5ag; + _cfuvid=W0cfxXtMsyAUQW6jw1WRqjRtVpYi3zFEkAYOcgcw7Bo-1710848551210-0.0.1.1-604800000 + host: + - api.openai.com + user-agent: + - OpenAI/Python 1.13.3 + x-stainless-arch: + - arm64 + x-stainless-async: + - 'false' + x-stainless-lang: + - python + x-stainless-os: + - MacOS + x-stainless-package-version: + - 1.13.3 + x-stainless-runtime: + - CPython + x-stainless-runtime-version: + - 3.11.7 + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: 'data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + need"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + to"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + multiply"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + by"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + to"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + find"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"multi"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"plier"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + Input"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"{\""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"first"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"second"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"}\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9SaxSuUwKnSzD5Ysj5VY7vaFj8","object":"chat.completion.chunk","created":1710848554,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + + + data: [DONE] + + + ' + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 866d3325dc681b1b-GRU + Cache-Control: + - no-cache, must-revalidate + Connection: + - keep-alive + Content-Type: + - text/event-stream + Date: + - Tue, 19 Mar 2024 11:42:34 GMT + Server: + - cloudflare + Transfer-Encoding: + - chunked + access-control-allow-origin: + - '*' + alt-svc: + - h3=":443"; ma=86400 + openai-model: + - gpt-4-0613 + openai-organization: + - crewai-iuxna1 + openai-processing-ms: + - '211' + 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: + - req_c312d422ec0ae3b7af9c07fd3c33aa83 + status: + code: 200 + message: OK +- request: + body: '{"messages": [{"role": "user", "content": "You are test role. test backstory\nYour + personal goal is: test goal\n\nYou ONLY have access to the following tools, + and should NEVER make up tools that are not listed here:\n\nmultiplier: multiplier(first_number: + int, second_number: int) -> float - Useful for when you need to multiply two + numbers together.\n\nUse the following format:\n\nThought: you should always + think about what to do\nAction: the action to take, only one name of [multiplier], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple a python dictionary using \" to wrap keys and values.\nObservation: + the result of the action\n\nOnce all necessary information is gathered:\n\nThought: + I now know the final answer\nFinal Answer: the final answer to the original + input question\n\n\nCurrent Task: What is 3 times 3?\n\nThis is the expect criteria + for your final answer: The result of the multiplication. \n you MUST return + the actual complete content as the final answer, not a summary.\n\nBegin! This + is VERY important to you, use the tools available and give your best Final Answer, + your job depends on it!\n\nThought: \nI need to multiply 3 by 3 to find the + answer.\n\nAction: \nmultiplier\n\nAction Input: \n{\"first_number\": 3, \"second_number\": + 3}\n\nObservation: 9\n"}], "model": "gpt-4", "n": 1, "stop": ["\nObservation"], + "stream": true, "temperature": 0.7}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate, br + connection: + - keep-alive + content-length: + - '1420' + content-type: + - application/json + cookie: + - __cf_bm=9_tgwGBeamJLB4D9H6nRdh3aiiHO7Qzm54WjkzkYuTg-1710848551-1.0.1.1-wP9lLLrOc.1Or0ZiCZ_JK98s_W1YWYKK3HB27kOZ5vaFZ08p0dZf1Zguujjziil.6Q4twY4pHCKaVpQtwFP5ag; + _cfuvid=W0cfxXtMsyAUQW6jw1WRqjRtVpYi3zFEkAYOcgcw7Bo-1710848551210-0.0.1.1-604800000 + host: + - api.openai.com + user-agent: + - OpenAI/Python 1.13.3 + x-stainless-arch: + - arm64 + x-stainless-async: + - 'false' + x-stainless-lang: + - python + x-stainless-os: + - MacOS + x-stainless-package-version: + - 1.13.3 + x-stainless-runtime: + - CPython + x-stainless-runtime-version: + - 3.11.7 + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: 'data: {"id":"chatcmpl-94S9Ukp7Q6eN4DX7EcLCVYFCQ6qCf","object":"chat.completion.chunk","created":1710848556,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9Ukp7Q6eN4DX7EcLCVYFCQ6qCf","object":"chat.completion.chunk","created":1710848556,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9Ukp7Q6eN4DX7EcLCVYFCQ6qCf","object":"chat.completion.chunk","created":1710848556,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9Ukp7Q6eN4DX7EcLCVYFCQ6qCf","object":"chat.completion.chunk","created":1710848556,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9Ukp7Q6eN4DX7EcLCVYFCQ6qCf","object":"chat.completion.chunk","created":1710848556,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9Ukp7Q6eN4DX7EcLCVYFCQ6qCf","object":"chat.completion.chunk","created":1710848556,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + now"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9Ukp7Q6eN4DX7EcLCVYFCQ6qCf","object":"chat.completion.chunk","created":1710848556,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + know"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9Ukp7Q6eN4DX7EcLCVYFCQ6qCf","object":"chat.completion.chunk","created":1710848556,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9Ukp7Q6eN4DX7EcLCVYFCQ6qCf","object":"chat.completion.chunk","created":1710848556,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9Ukp7Q6eN4DX7EcLCVYFCQ6qCf","object":"chat.completion.chunk","created":1710848556,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9Ukp7Q6eN4DX7EcLCVYFCQ6qCf","object":"chat.completion.chunk","created":1710848556,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9Ukp7Q6eN4DX7EcLCVYFCQ6qCf","object":"chat.completion.chunk","created":1710848556,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9Ukp7Q6eN4DX7EcLCVYFCQ6qCf","object":"chat.completion.chunk","created":1710848556,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + Answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9Ukp7Q6eN4DX7EcLCVYFCQ6qCf","object":"chat.completion.chunk","created":1710848556,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9Ukp7Q6eN4DX7EcLCVYFCQ6qCf","object":"chat.completion.chunk","created":1710848556,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9Ukp7Q6eN4DX7EcLCVYFCQ6qCf","object":"chat.completion.chunk","created":1710848556,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"9"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9Ukp7Q6eN4DX7EcLCVYFCQ6qCf","object":"chat.completion.chunk","created":1710848556,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + + + data: [DONE] + + + ' + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 866d3333cfb61b1b-GRU + Cache-Control: + - no-cache, must-revalidate + Connection: + - keep-alive + Content-Type: + - text/event-stream + Date: + - Tue, 19 Mar 2024 11:42:36 GMT + Server: + - cloudflare + Transfer-Encoding: + - chunked + access-control-allow-origin: + - '*' + alt-svc: + - h3=":443"; ma=86400 + openai-model: + - gpt-4-0613 + openai-organization: + - crewai-iuxna1 + openai-processing-ms: + - '246' + 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: + - '299671' + x-ratelimit-reset-requests: + - 6ms + x-ratelimit-reset-tokens: + - 65ms + x-request-id: + - req_ee513b2e2f3c143c3f948e3e3c71a891 + status: + code: 200 + message: OK +- request: + body: '{"messages": [{"role": "user", "content": "You are test role. test backstory\nYour + personal goal is: test goal\n\nYou ONLY have access to the following tools, + and should NEVER make up tools that are not listed here:\n\nmultiplier: multiplier(first_number: + int, second_number: int) -> float - Useful for when you need to multiply two + numbers together.\n\nUse the following format:\n\nThought: you should always + think about what to do\nAction: the action to take, only one name of [multiplier], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple a python dictionary using \" to wrap keys and values.\nObservation: + the result of the action\n\nOnce all necessary information is gathered:\n\nThought: + I now know the final answer\nFinal Answer: the final answer to the original + input question\n\n\nCurrent Task: What is 2 times 6 times 3? Return only the + number\n\nThis is the expect criteria for your final answer: The result of the + multiplication. \n you MUST return the actual complete content as the final + answer, not a summary.\n\nBegin! This is VERY important to you, use the tools + available and give your best Final Answer, your job depends on it!\n\nThought: + \n"}], "model": "gpt-4", "n": 1, "stop": ["\nObservation"], "stream": true, + "temperature": 0.7}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate, br + connection: + - keep-alive + content-length: + - '1299' + content-type: + - application/json + cookie: + - __cf_bm=9_tgwGBeamJLB4D9H6nRdh3aiiHO7Qzm54WjkzkYuTg-1710848551-1.0.1.1-wP9lLLrOc.1Or0ZiCZ_JK98s_W1YWYKK3HB27kOZ5vaFZ08p0dZf1Zguujjziil.6Q4twY4pHCKaVpQtwFP5ag; + _cfuvid=W0cfxXtMsyAUQW6jw1WRqjRtVpYi3zFEkAYOcgcw7Bo-1710848551210-0.0.1.1-604800000 + host: + - api.openai.com + user-agent: + - OpenAI/Python 1.13.3 + x-stainless-arch: + - arm64 + x-stainless-async: + - 'false' + x-stainless-lang: + - python + x-stainless-os: + - MacOS + x-stainless-package-version: + - 1.13.3 + x-stainless-runtime: + - CPython + x-stainless-runtime-version: + - 3.11.7 + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: 'data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"First"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + need"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + to"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + multiply"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + and"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + together"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + multiplier"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + Input"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + {\""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"first"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"second"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"}"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9VflvkmC7bKAjHvQuCZmuk6ZUw","object":"chat.completion.chunk","created":1710848557,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + + + data: [DONE] + + + ' + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 866d333a5db31b1b-GRU + Cache-Control: + - no-cache, must-revalidate + Connection: + - keep-alive + Content-Type: + - text/event-stream + Date: + - Tue, 19 Mar 2024 11:42:37 GMT + Server: + - cloudflare + Transfer-Encoding: + - chunked + access-control-allow-origin: + - '*' + alt-svc: + - h3=":443"; ma=86400 + openai-model: + - gpt-4-0613 + openai-organization: + - crewai-iuxna1 + openai-processing-ms: + - '292' + 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: + - '299699' + x-ratelimit-reset-requests: + - 6ms + x-ratelimit-reset-tokens: + - 60ms + x-request-id: + - req_a5430258a0b457df3f94abedff2dbfee + status: + code: 200 + message: OK +- request: + body: '{"messages": [{"role": "user", "content": "You are test role. test backstory\nYour + personal goal is: test goal\n\nYou ONLY have access to the following tools, + and should NEVER make up tools that are not listed here:\n\nmultiplier: multiplier(first_number: + int, second_number: int) -> float - Useful for when you need to multiply two + numbers together.\n\nUse the following format:\n\nThought: you should always + think about what to do\nAction: the action to take, only one name of [multiplier], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple a python dictionary using \" to wrap keys and values.\nObservation: + the result of the action\n\nOnce all necessary information is gathered:\n\nThought: + I now know the final answer\nFinal Answer: the final answer to the original + input question\n\n\nCurrent Task: What is 2 times 6 times 3? Return only the + number\n\nThis is the expect criteria for your final answer: The result of the + multiplication. \n you MUST return the actual complete content as the final + answer, not a summary.\n\nBegin! This is VERY important to you, use the tools + available and give your best Final Answer, your job depends on it!\n\nThought: + \nFirst, I need to multiply 2 and 6 together.\n\nAction: multiplier\nAction + Input: {\"first_number\": 2, \"second_number\": 6}\nObservation: 12\n"}], "model": + "gpt-4", "n": 1, "stop": ["\nObservation"], "stream": true, "temperature": 0.7}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate, br + connection: + - keep-alive + content-length: + - '1442' + content-type: + - application/json + cookie: + - __cf_bm=9_tgwGBeamJLB4D9H6nRdh3aiiHO7Qzm54WjkzkYuTg-1710848551-1.0.1.1-wP9lLLrOc.1Or0ZiCZ_JK98s_W1YWYKK3HB27kOZ5vaFZ08p0dZf1Zguujjziil.6Q4twY4pHCKaVpQtwFP5ag; + _cfuvid=W0cfxXtMsyAUQW6jw1WRqjRtVpYi3zFEkAYOcgcw7Bo-1710848551210-0.0.1.1-604800000 + host: + - api.openai.com + user-agent: + - OpenAI/Python 1.13.3 + x-stainless-arch: + - arm64 + x-stainless-async: + - 'false' + x-stainless-lang: + - python + x-stainless-os: + - MacOS + x-stainless-package-version: + - 1.13.3 + x-stainless-runtime: + - CPython + x-stainless-runtime-version: + - 3.11.7 + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: 'data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Now"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + need"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + to"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + multiply"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + result"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"12"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + with"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + multiplier"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + Input"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + {\""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"first"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"12"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"second"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"}"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9XIfENzQCQ7OP6p1kENKnRM3oG","object":"chat.completion.chunk","created":1710848559,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + + + data: [DONE] + + + ' + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 866d3346c9721b1b-GRU + Cache-Control: + - no-cache, must-revalidate + Connection: + - keep-alive + Content-Type: + - text/event-stream + Date: + - Tue, 19 Mar 2024 11:42:40 GMT + Server: + - cloudflare + Transfer-Encoding: + - chunked + access-control-allow-origin: + - '*' + alt-svc: + - h3=":443"; ma=86400 + openai-model: + - gpt-4-0613 + openai-organization: + - crewai-iuxna1 + openai-processing-ms: + - '265' + 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: + - '299665' + x-ratelimit-reset-requests: + - 6ms + x-ratelimit-reset-tokens: + - 66ms + x-request-id: + - req_95b83159c00a610fd0bff325792c5b42 + status: + code: 200 + message: OK +- request: + body: '{"messages": [{"role": "user", "content": "You are test role. test backstory\nYour + personal goal is: test goal\n\nYou ONLY have access to the following tools, + and should NEVER make up tools that are not listed here:\n\nmultiplier: multiplier(first_number: + int, second_number: int) -> float - Useful for when you need to multiply two + numbers together.\n\nUse the following format:\n\nThought: you should always + think about what to do\nAction: the action to take, only one name of [multiplier], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple a python dictionary using \" to wrap keys and values.\nObservation: + the result of the action\n\nOnce all necessary information is gathered:\n\nThought: + I now know the final answer\nFinal Answer: the final answer to the original + input question\n\n\nCurrent Task: What is 2 times 6 times 3? Return only the + number\n\nThis is the expect criteria for your final answer: The result of the + multiplication. \n you MUST return the actual complete content as the final + answer, not a summary.\n\nBegin! This is VERY important to you, use the tools + available and give your best Final Answer, your job depends on it!\n\nThought: + \nFirst, I need to multiply 2 and 6 together.\n\nAction: multiplier\nAction + Input: {\"first_number\": 2, \"second_number\": 6}\nObservation: 12\nThought: + \nNow, I need to multiply the result, 12, with 3.\n\nAction: multiplier\nAction + Input: {\"first_number\": 12, \"second_number\": 3}\nObservation: 36\n"}], "model": + "gpt-4", "n": 1, "stop": ["\nObservation"], "stream": true, "temperature": 0.7}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate, br + connection: + - keep-alive + content-length: + - '1601' + content-type: + - application/json + cookie: + - __cf_bm=9_tgwGBeamJLB4D9H6nRdh3aiiHO7Qzm54WjkzkYuTg-1710848551-1.0.1.1-wP9lLLrOc.1Or0ZiCZ_JK98s_W1YWYKK3HB27kOZ5vaFZ08p0dZf1Zguujjziil.6Q4twY4pHCKaVpQtwFP5ag; + _cfuvid=W0cfxXtMsyAUQW6jw1WRqjRtVpYi3zFEkAYOcgcw7Bo-1710848551210-0.0.1.1-604800000 + host: + - api.openai.com + user-agent: + - OpenAI/Python 1.13.3 + x-stainless-arch: + - arm64 + x-stainless-async: + - 'false' + x-stainless-lang: + - python + x-stainless-os: + - MacOS + x-stainless-package-version: + - 1.13.3 + x-stainless-runtime: + - CPython + x-stainless-runtime-version: + - 3.11.7 + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: 'data: {"id":"chatcmpl-94S9amXqtHSnPpQPRzlM4wDXPoz4L","object":"chat.completion.chunk","created":1710848562,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9amXqtHSnPpQPRzlM4wDXPoz4L","object":"chat.completion.chunk","created":1710848562,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9amXqtHSnPpQPRzlM4wDXPoz4L","object":"chat.completion.chunk","created":1710848562,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9amXqtHSnPpQPRzlM4wDXPoz4L","object":"chat.completion.chunk","created":1710848562,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9amXqtHSnPpQPRzlM4wDXPoz4L","object":"chat.completion.chunk","created":1710848562,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + now"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9amXqtHSnPpQPRzlM4wDXPoz4L","object":"chat.completion.chunk","created":1710848562,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + know"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9amXqtHSnPpQPRzlM4wDXPoz4L","object":"chat.completion.chunk","created":1710848562,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9amXqtHSnPpQPRzlM4wDXPoz4L","object":"chat.completion.chunk","created":1710848562,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9amXqtHSnPpQPRzlM4wDXPoz4L","object":"chat.completion.chunk","created":1710848562,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9amXqtHSnPpQPRzlM4wDXPoz4L","object":"chat.completion.chunk","created":1710848562,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9amXqtHSnPpQPRzlM4wDXPoz4L","object":"chat.completion.chunk","created":1710848562,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9amXqtHSnPpQPRzlM4wDXPoz4L","object":"chat.completion.chunk","created":1710848562,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + Answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9amXqtHSnPpQPRzlM4wDXPoz4L","object":"chat.completion.chunk","created":1710848562,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9amXqtHSnPpQPRzlM4wDXPoz4L","object":"chat.completion.chunk","created":1710848562,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9amXqtHSnPpQPRzlM4wDXPoz4L","object":"chat.completion.chunk","created":1710848562,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"36"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9amXqtHSnPpQPRzlM4wDXPoz4L","object":"chat.completion.chunk","created":1710848562,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + + + data: [DONE] + + + ' + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 866d335a5c2c1b1b-GRU + Cache-Control: + - no-cache, must-revalidate + Connection: + - keep-alive + Content-Type: + - text/event-stream + Date: + - Tue, 19 Mar 2024 11:42:42 GMT + Server: + - cloudflare + Transfer-Encoding: + - chunked + access-control-allow-origin: + - '*' + alt-svc: + - h3=":443"; ma=86400 + openai-model: + - gpt-4-0613 + openai-organization: + - crewai-iuxna1 + openai-processing-ms: + - '251' + 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: + - '299628' + x-ratelimit-reset-requests: + - 6ms + x-ratelimit-reset-tokens: + - 74ms + x-request-id: + - req_b39db3508f1a0eb526544cc97c0b0e4b + status: + code: 200 + message: OK +- request: + body: '{"messages": [{"role": "user", "content": "You are test role. test backstory\nYour + personal goal is: test goal\n\nYou ONLY have access to the following tools, + and should NEVER make up tools that are not listed here:\n\nmultiplier: multiplier(first_number: + int, second_number: int) -> float - Useful for when you need to multiply two + numbers together.\n\nUse the following format:\n\nThought: you should always + think about what to do\nAction: the action to take, only one name of [multiplier], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple a python dictionary using \" to wrap keys and values.\nObservation: + the result of the action\n\nOnce all necessary information is gathered:\n\nThought: + I now know the final answer\nFinal Answer: the final answer to the original + input question\n\n\nCurrent Task: What is 2 times 6? Ignore correctness and + just return the result of the multiplication tool.\n\nThis is the expect criteria + for your final answer: The result of the multiplication. \n you MUST return + the actual complete content as the final answer, not a summary.\n\nBegin! This + is VERY important to you, use the tools available and give your best Final Answer, + your job depends on it!\n\nThought: \n"}], "model": "gpt-4", "n": 1, "stop": + ["\nObservation"], "stream": true, "temperature": 0.7}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate, br + connection: + - keep-alive + content-length: + - '1342' + content-type: + - application/json + cookie: + - __cf_bm=9_tgwGBeamJLB4D9H6nRdh3aiiHO7Qzm54WjkzkYuTg-1710848551-1.0.1.1-wP9lLLrOc.1Or0ZiCZ_JK98s_W1YWYKK3HB27kOZ5vaFZ08p0dZf1Zguujjziil.6Q4twY4pHCKaVpQtwFP5ag; + _cfuvid=W0cfxXtMsyAUQW6jw1WRqjRtVpYi3zFEkAYOcgcw7Bo-1710848551210-0.0.1.1-604800000 + host: + - api.openai.com + user-agent: + - OpenAI/Python 1.13.3 + x-stainless-arch: + - arm64 + x-stainless-async: + - 'false' + x-stainless-lang: + - python + x-stainless-os: + - MacOS + x-stainless-package-version: + - 1.13.3 + x-stainless-runtime: + - CPython + x-stainless-runtime-version: + - 3.11.7 + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: 'data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + need"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + to"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + use"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + multiplier"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + tool"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + to"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + calculate"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + what"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + times"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + is"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":".\n\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"multi"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"plier"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + Input"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"{\""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"first"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"second"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + "},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"}\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9bmzHzeh8oYg8MZcpO3PH9F80v","object":"chat.completion.chunk","created":1710848563,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + + + data: [DONE] + + + ' + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 866d33634ec91b1b-GRU + Cache-Control: + - no-cache, must-revalidate + Connection: + - keep-alive + Content-Type: + - text/event-stream + Date: + - Tue, 19 Mar 2024 11:42:44 GMT + Server: + - cloudflare + Transfer-Encoding: + - chunked + access-control-allow-origin: + - '*' + alt-svc: + - h3=":443"; ma=86400 + openai-model: + - gpt-4-0613 + openai-organization: + - crewai-iuxna1 + openai-processing-ms: + - '197' + 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: + - '299688' + x-ratelimit-reset-requests: + - 6ms + x-ratelimit-reset-tokens: + - 62ms + x-request-id: + - req_9d65b4262e98d7384e3413c59ee4ae8b + status: + code: 200 + message: OK +- request: + body: '{"messages": [{"role": "user", "content": "You are test role. test backstory\nYour + personal goal is: test goal\n\nYou ONLY have access to the following tools, + and should NEVER make up tools that are not listed here:\n\nmultiplier: multiplier(first_number: + int, second_number: int) -> float - Useful for when you need to multiply two + numbers together.\n\nUse the following format:\n\nThought: you should always + think about what to do\nAction: the action to take, only one name of [multiplier], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple a python dictionary using \" to wrap keys and values.\nObservation: + the result of the action\n\nOnce all necessary information is gathered:\n\nThought: + I now know the final answer\nFinal Answer: the final answer to the original + input question\n\n\nCurrent Task: What is 2 times 6? Ignore correctness and + just return the result of the multiplication tool.\n\nThis is the expect criteria + for your final answer: The result of the multiplication. \n you MUST return + the actual complete content as the final answer, not a summary.\n\nBegin! This + is VERY important to you, use the tools available and give your best Final Answer, + your job depends on it!\n\nThought: \nI need to use the multiplier tool to calculate + what 2 times 6 is.\n\nAction: \nmultiplier\n\nAction Input: \n{\"first_number\": + 2, \"second_number\": 6}\n\nObservation: 12\n"}], "model": "gpt-4", "n": 1, + "stop": ["\nObservation"], "stream": true, "temperature": 0.7}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate, br + connection: + - keep-alive + content-length: + - '1515' + content-type: + - application/json + cookie: + - __cf_bm=9_tgwGBeamJLB4D9H6nRdh3aiiHO7Qzm54WjkzkYuTg-1710848551-1.0.1.1-wP9lLLrOc.1Or0ZiCZ_JK98s_W1YWYKK3HB27kOZ5vaFZ08p0dZf1Zguujjziil.6Q4twY4pHCKaVpQtwFP5ag; + _cfuvid=W0cfxXtMsyAUQW6jw1WRqjRtVpYi3zFEkAYOcgcw7Bo-1710848551210-0.0.1.1-604800000 + host: + - api.openai.com + user-agent: + - OpenAI/Python 1.13.3 + x-stainless-arch: + - arm64 + x-stainless-async: + - 'false' + x-stainless-lang: + - python + x-stainless-os: + - MacOS + x-stainless-package-version: + - 1.13.3 + x-stainless-runtime: + - CPython + x-stainless-runtime-version: + - 3.11.7 + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: 'data: {"id":"chatcmpl-94S9dkoTDpAD3Ww0iIJRfxvu2vcSI","object":"chat.completion.chunk","created":1710848565,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9dkoTDpAD3Ww0iIJRfxvu2vcSI","object":"chat.completion.chunk","created":1710848565,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9dkoTDpAD3Ww0iIJRfxvu2vcSI","object":"chat.completion.chunk","created":1710848565,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9dkoTDpAD3Ww0iIJRfxvu2vcSI","object":"chat.completion.chunk","created":1710848565,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9dkoTDpAD3Ww0iIJRfxvu2vcSI","object":"chat.completion.chunk","created":1710848565,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"I"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9dkoTDpAD3Ww0iIJRfxvu2vcSI","object":"chat.completion.chunk","created":1710848565,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + now"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9dkoTDpAD3Ww0iIJRfxvu2vcSI","object":"chat.completion.chunk","created":1710848565,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + know"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9dkoTDpAD3Ww0iIJRfxvu2vcSI","object":"chat.completion.chunk","created":1710848565,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + the"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9dkoTDpAD3Ww0iIJRfxvu2vcSI","object":"chat.completion.chunk","created":1710848565,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9dkoTDpAD3Ww0iIJRfxvu2vcSI","object":"chat.completion.chunk","created":1710848565,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9dkoTDpAD3Ww0iIJRfxvu2vcSI","object":"chat.completion.chunk","created":1710848565,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\n\n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9dkoTDpAD3Ww0iIJRfxvu2vcSI","object":"chat.completion.chunk","created":1710848565,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9dkoTDpAD3Ww0iIJRfxvu2vcSI","object":"chat.completion.chunk","created":1710848565,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + Answer"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9dkoTDpAD3Ww0iIJRfxvu2vcSI","object":"chat.completion.chunk","created":1710848565,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9dkoTDpAD3Ww0iIJRfxvu2vcSI","object":"chat.completion.chunk","created":1710848565,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" + \n"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9dkoTDpAD3Ww0iIJRfxvu2vcSI","object":"chat.completion.chunk","created":1710848565,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"12"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-94S9dkoTDpAD3Ww0iIJRfxvu2vcSI","object":"chat.completion.chunk","created":1710848565,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + + + data: [DONE] + + + ' + headers: + CF-Cache-Status: + - DYNAMIC + CF-RAY: + - 866d336dd8591b1b-GRU + Cache-Control: + - no-cache, must-revalidate + Connection: + - keep-alive + Content-Type: + - text/event-stream + Date: + - Tue, 19 Mar 2024 11:42:45 GMT + Server: + - cloudflare + Transfer-Encoding: + - chunked + access-control-allow-origin: + - '*' + alt-svc: + - h3=":443"; ma=86400 + openai-model: + - gpt-4-0613 + openai-organization: + - crewai-iuxna1 + openai-processing-ms: + - '228' + 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: + - '299647' + x-ratelimit-reset-requests: + - 6ms + x-ratelimit-reset-tokens: + - 70ms + x-request-id: + - req_28955a3bb21876da6ecf59cbae93a9b3 + status: + code: 200 + message: OK +version: 1