From 58bc8d13d2b315b1273d918fa5a7c68a67eb9f41 Mon Sep 17 00:00:00 2001 From: Brandon Hancock Date: Tue, 4 Mar 2025 16:53:43 -0500 Subject: [PATCH] another one --- tests/agent_test.py | 56 +-- ...est_agent_streaming_with_tool_calling.yaml | 321 +++++++----------- 2 files changed, 153 insertions(+), 224 deletions(-) diff --git a/tests/agent_test.py b/tests/agent_test.py index ada9be6d9..725525510 100644 --- a/tests/agent_test.py +++ b/tests/agent_test.py @@ -1802,41 +1802,41 @@ def test_litellm_anthropic_error_handling(): @pytest.mark.vcr(filter_headers=["authorization"]) def test_agent_streaming_with_tool_calling(): """Test that streaming works correctly with tool calling.""" - received_chunks = [] - tool_called = False # Define a tool that will be called @tool - def calculator(first_number: int, second_number: int) -> float: - """Calculate the product of two numbers.""" - nonlocal tool_called - tool_called = True - return first_number * second_number + def retrieve_secret_information() -> str: + """Retrieve the super secret password from the secure database.""" + return "SuperSecretPassword123!" - # Create an agent with streaming enabled - agent = Agent( - role="Math Assistant", - goal="Help users with mathematical calculations", - backstory="I am an AI assistant specialized in mathematics.", - verbose=True, - llm=LLM(model="gpt-4o", stream=True), # Enable streaming - max_iter=3, + # Create an LLM with streaming enabled + llm = LLM( + model="gpt-4o-mini", + stream=True, ) - # Create a task that will require tool calling - task = Task( - description="Calculate 23 * 45 using the calculator tool.", - agent=agent, - expected_output="The result of the calculation.", + # Create a secret agent + secret_agent = Agent( + role="Secret Information Specialist", + goal="Retrieve classified information securely", + backstory="A highly trained operative with clearance to access confidential data", + tools=[retrieve_secret_information], + llm=llm, + max_iter=3, # Limit iterations to prevent infinite loops + max_execution_time=60, # Add timeout of 60 seconds ) - assert True + # Create a secret retrieval task + secret_task = Task( + description="Retrieve the super secret password using the appropriate tool", + agent=secret_agent, + expected_output="The retrieved super secret password", + ) - # # Execute the task with the calculator tool - # output = agent.execute_task(task=task, tools=[calculator]) + # Execute the task directly with the agent + output = secret_agent.execute_task(task=secret_task) - # # Verify that the tool was called - # assert tool_called, "Calculator tool was not called" - - # # Verify the output contains the correct result (23 * 45 = 1035) - # assert "1035" in output, f"Expected result '1035' not found in output: {output}" + # Verify the output contains the secret password + assert ( + "SuperSecretPassword123!" in output + ), f"Expected secret password not found in output: {output}" diff --git a/tests/cassettes/test_agent_streaming_with_tool_calling.yaml b/tests/cassettes/test_agent_streaming_with_tool_calling.yaml index d4d2a5872..37afceb7b 100644 --- a/tests/cassettes/test_agent_streaming_with_tool_calling.yaml +++ b/tests/cassettes/test_agent_streaming_with_tool_calling.yaml @@ -1,25 +1,25 @@ interactions: - request: - body: '{"messages": [{"role": "system", "content": "You are Math Assistant. I - am an AI assistant specialized in mathematics.\nYour personal goal is: Help - users with mathematical calculations\nYou ONLY have access to the following - tools, and should NEVER make up tools that are not listed here:\n\nTool Name: - calculator\nTool Arguments: {''first_number'': {''description'': None, ''type'': - ''int''}, ''second_number'': {''description'': None, ''type'': ''int''}}\nTool - Description: Calculate the product of two numbers.\n\nIMPORTANT: Use the following - format in your response:\n\n```\nThought: you should always think about what - to do\nAction: the action to take, only one name of [calculator], just the name, - exactly as it''s written.\nAction Input: the input to the action, just a simple - JSON object, enclosed in curly braces, using \" to wrap keys and values.\nObservation: - the result of the action\n```\n\nOnce all necessary information is gathered, - return the following format:\n\n```\nThought: I now know the final answer\nFinal - Answer: the final answer to the original input question\n```"}, {"role": "user", - "content": "\nCurrent Task: Calculate 23 * 45 using the calculator tool.\n\nThis - is the expected criteria for your final answer: The result of the calculation.\nyou - 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:"}], "model": "gpt-4o", "stop": ["\nObservation:"], - "stream": true}' + body: '{"messages": [{"role": "system", "content": "You are Secret Information + Specialist. A highly trained operative with clearance to access confidential + data\nYour personal goal is: Retrieve classified information securely\nYou ONLY + have access to the following tools, and should NEVER make up tools that are + not listed here:\n\nTool Name: retrieve_secret_information\nTool Arguments: + {}\nTool Description: Retrieve the super secret password from the secure database.\n\nIMPORTANT: + Use the following format in your response:\n\n```\nThought: you should always + think about what to do\nAction: the action to take, only one name of [retrieve_secret_information], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple JSON object, enclosed in curly braces, using \" to wrap keys and + values.\nObservation: the result of the action\n```\n\nOnce all necessary information + is gathered, return the following format:\n\n```\nThought: I now know the final + answer\nFinal Answer: the final answer to the original input question\n```"}, + {"role": "user", "content": "\nCurrent Task: Retrieve the super secret password + using the appropriate tool\n\nThis is the expected criteria for your final answer: + The retrieved super secret password\nyou 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:"}], "model": "gpt-4o-mini", "stop": ["\nObservation:"], "stream": + true}' headers: accept: - application/json @@ -28,7 +28,7 @@ interactions: connection: - keep-alive content-length: - - '1532' + - '1544' content-type: - application/json host: @@ -59,154 +59,80 @@ interactions: uri: https://api.openai.com/v1/chat/completions response: body: - string: 'data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}]} + string: 'data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":"you"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" + should"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - I"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" + always"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - need"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" + think"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" + about"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" + what"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" to"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - use"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" + do"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" \n"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - calculator"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - tool"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - to"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" + retrieve"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - find"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":"_secret"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - the"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":"_information"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - product"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" \n"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - of"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - "},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"23"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - and"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - "},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"45"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":".\n"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - calculator"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"Action"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" Input"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - {\""},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" + {}"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"first"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - "},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"23"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - \""},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"second"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"_number"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"\":"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - "},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"45"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"}"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMcggCLBpC1AOYOL0cZr5bwOpk4","object":"chat.completion.chunk","created":1741124714,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + data: {"id":"chatcmpl-B7UUWRKUD7QuVYmLhW9BOalNVt025","object":"chat.completion.chunk","created":1741125204,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} data: [DONE] @@ -215,20 +141,20 @@ interactions: ' headers: CF-RAY: - - 91b48f35d9491395-ATL + - 91b49b30cf3ab076-ATL Connection: - keep-alive Content-Type: - text/event-stream; charset=utf-8 Date: - - Tue, 04 Mar 2025 21:45:14 GMT + - Tue, 04 Mar 2025 21:53:24 GMT Server: - cloudflare Set-Cookie: - - __cf_bm=JskMKvbLbpukx.YzVElN9.2kFIzwXafZOqap7nRS6pg-1741124714-1.0.1.1-f3rFnmJ0WzDPiXwQ13yC_xetOWQ5yrFbV8lD.hpamhc07f7stkYKb6yPqkSskP8niFN0ECjikQkliSrlR0fMx2BWNpsX4RHOkHaedxHksY8; - path=/; expires=Tue, 04-Mar-25 22:15:14 GMT; domain=.api.openai.com; HttpOnly; + - __cf_bm=2x17LZrhoAdXpHShcYiDoeV_QSnRSsqFq9r.BqGRfGo-1741125204-1.0.1.1-YZGIwFGMOXl0ffELbM_Kmnd9B5j3zTo6QnBhV4Hw4JTx3QvsvMhpk_b9bNpHfVQpLuwOMJf_AcOzmUiu.45vV0VkRGX1M8Py2FTtczHZdqA; + path=/; expires=Tue, 04-Mar-25 22:23:24 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - - _cfuvid=k6FRHOt0jtJWvFBjkSTYAd8v9L2L5VlqsSNrU5i.kAU-1741124714341-0.0.1.1-604800000; + - _cfuvid=FRRGVgDDqV5FLWDElnI69t9ueapMR.vX2_aMC3hjIKo-1741125204818-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None Transfer-Encoding: - chunked @@ -243,51 +169,51 @@ interactions: openai-organization: - crewai-iuxna1 openai-processing-ms: - - '387' + - '117' openai-version: - '2020-10-01' strict-transport-security: - max-age=31536000; includeSubDomains; preload x-ratelimit-limit-requests: - - '10000' + - '30000' x-ratelimit-limit-tokens: - - '30000000' + - '150000000' x-ratelimit-remaining-requests: - - '9999' + - '29999' x-ratelimit-remaining-tokens: - - '29999642' + - '149999641' x-ratelimit-reset-requests: - - 6ms + - 2ms x-ratelimit-reset-tokens: - 0s x-request-id: - - req_fb740793ab8b1b119be40b8b9f3d8c55 + - req_0275c408a8d17355a52b65a7d7b257f6 status: code: 200 message: OK - request: - body: '{"messages": [{"role": "system", "content": "You are Math Assistant. I - am an AI assistant specialized in mathematics.\nYour personal goal is: Help - users with mathematical calculations\nYou ONLY have access to the following - tools, and should NEVER make up tools that are not listed here:\n\nTool Name: - calculator\nTool Arguments: {''first_number'': {''description'': None, ''type'': - ''int''}, ''second_number'': {''description'': None, ''type'': ''int''}}\nTool - Description: Calculate the product of two numbers.\n\nIMPORTANT: Use the following - format in your response:\n\n```\nThought: you should always think about what - to do\nAction: the action to take, only one name of [calculator], just the name, - exactly as it''s written.\nAction Input: the input to the action, just a simple - JSON object, enclosed in curly braces, using \" to wrap keys and values.\nObservation: - the result of the action\n```\n\nOnce all necessary information is gathered, - return the following format:\n\n```\nThought: I now know the final answer\nFinal - Answer: the final answer to the original input question\n```"}, {"role": "user", - "content": "\nCurrent Task: Calculate 23 * 45 using the calculator tool.\n\nThis - is the expected criteria for your final answer: The result of the calculation.\nyou - 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:"}, {"role": "assistant", "content": - "Thought: I need to use the calculator tool to find the product of 23 and 45.\nAction: - calculator\nAction Input: {\"first_number\": 23, \"second_number\": 45}\nObservation: - 1035"}], "model": "gpt-4o", "stop": ["\nObservation:"], "stream": true}' + body: '{"messages": [{"role": "system", "content": "You are Secret Information + Specialist. A highly trained operative with clearance to access confidential + data\nYour personal goal is: Retrieve classified information securely\nYou ONLY + have access to the following tools, and should NEVER make up tools that are + not listed here:\n\nTool Name: retrieve_secret_information\nTool Arguments: + {}\nTool Description: Retrieve the super secret password from the secure database.\n\nIMPORTANT: + Use the following format in your response:\n\n```\nThought: you should always + think about what to do\nAction: the action to take, only one name of [retrieve_secret_information], + just the name, exactly as it''s written.\nAction Input: the input to the action, + just a simple JSON object, enclosed in curly braces, using \" to wrap keys and + values.\nObservation: the result of the action\n```\n\nOnce all necessary information + is gathered, return the following format:\n\n```\nThought: I now know the final + answer\nFinal Answer: the final answer to the original input question\n```"}, + {"role": "user", "content": "\nCurrent Task: Retrieve the super secret password + using the appropriate tool\n\nThis is the expected criteria for your final answer: + The retrieved super secret password\nyou 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:"}, {"role": "assistant", "content": "you should always think + about what to do \nAction: retrieve_secret_information \nAction Input: {} \nObservation: + SuperSecretPassword123!"}], "model": "gpt-4o-mini", "stop": ["\nObservation:"], + "stream": true}' headers: accept: - application/json @@ -296,12 +222,12 @@ interactions: connection: - keep-alive content-length: - - '1746' + - '1721' content-type: - application/json cookie: - - __cf_bm=JskMKvbLbpukx.YzVElN9.2kFIzwXafZOqap7nRS6pg-1741124714-1.0.1.1-f3rFnmJ0WzDPiXwQ13yC_xetOWQ5yrFbV8lD.hpamhc07f7stkYKb6yPqkSskP8niFN0ECjikQkliSrlR0fMx2BWNpsX4RHOkHaedxHksY8; - _cfuvid=k6FRHOt0jtJWvFBjkSTYAd8v9L2L5VlqsSNrU5i.kAU-1741124714341-0.0.1.1-604800000 + - __cf_bm=2x17LZrhoAdXpHShcYiDoeV_QSnRSsqFq9r.BqGRfGo-1741125204-1.0.1.1-YZGIwFGMOXl0ffELbM_Kmnd9B5j3zTo6QnBhV4Hw4JTx3QvsvMhpk_b9bNpHfVQpLuwOMJf_AcOzmUiu.45vV0VkRGX1M8Py2FTtczHZdqA; + _cfuvid=FRRGVgDDqV5FLWDElnI69t9ueapMR.vX2_aMC3hjIKo-1741125204818-0.0.1.1-604800000 host: - api.openai.com user-agent: @@ -330,66 +256,69 @@ interactions: uri: https://api.openai.com/v1/chat/completions response: body: - string: 'data: {"id":"chatcmpl-B7UMe35VjjxgvXpqu1MuuWJULHRL0","object":"chat.completion.chunk","created":1741124716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}]} + string: 'data: {"id":"chatcmpl-B7UUXdsSwftzgjcfZUmsdpEcJ5IPF","object":"chat.completion.chunk","created":1741125205,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMe35VjjxgvXpqu1MuuWJULHRL0","object":"chat.completion.chunk","created":1741124716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUXdsSwftzgjcfZUmsdpEcJ5IPF","object":"chat.completion.chunk","created":1741125205,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMe35VjjxgvXpqu1MuuWJULHRL0","object":"chat.completion.chunk","created":1741124716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"Thought"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUXdsSwftzgjcfZUmsdpEcJ5IPF","object":"chat.completion.chunk","created":1741125205,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMe35VjjxgvXpqu1MuuWJULHRL0","object":"chat.completion.chunk","created":1741124716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - - - data: {"id":"chatcmpl-B7UMe35VjjxgvXpqu1MuuWJULHRL0","object":"chat.completion.chunk","created":1741124716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-B7UUXdsSwftzgjcfZUmsdpEcJ5IPF","object":"chat.completion.chunk","created":1741125205,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" I"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMe35VjjxgvXpqu1MuuWJULHRL0","object":"chat.completion.chunk","created":1741124716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-B7UUXdsSwftzgjcfZUmsdpEcJ5IPF","object":"chat.completion.chunk","created":1741125205,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" now"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMe35VjjxgvXpqu1MuuWJULHRL0","object":"chat.completion.chunk","created":1741124716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-B7UUXdsSwftzgjcfZUmsdpEcJ5IPF","object":"chat.completion.chunk","created":1741125205,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" know"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMe35VjjxgvXpqu1MuuWJULHRL0","object":"chat.completion.chunk","created":1741124716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-B7UUXdsSwftzgjcfZUmsdpEcJ5IPF","object":"chat.completion.chunk","created":1741125205,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMe35VjjxgvXpqu1MuuWJULHRL0","object":"chat.completion.chunk","created":1741124716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-B7UUXdsSwftzgjcfZUmsdpEcJ5IPF","object":"chat.completion.chunk","created":1741125205,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" final"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMe35VjjxgvXpqu1MuuWJULHRL0","object":"chat.completion.chunk","created":1741124716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-B7UUXdsSwftzgjcfZUmsdpEcJ5IPF","object":"chat.completion.chunk","created":1741125205,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" answer"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMe35VjjxgvXpqu1MuuWJULHRL0","object":"chat.completion.chunk","created":1741124716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUXdsSwftzgjcfZUmsdpEcJ5IPF","object":"chat.completion.chunk","created":1741125205,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" \n"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMe35VjjxgvXpqu1MuuWJULHRL0","object":"chat.completion.chunk","created":1741124716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUXdsSwftzgjcfZUmsdpEcJ5IPF","object":"chat.completion.chunk","created":1741125205,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":"Final"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMe35VjjxgvXpqu1MuuWJULHRL0","object":"chat.completion.chunk","created":1741124716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" + data: {"id":"chatcmpl-B7UUXdsSwftzgjcfZUmsdpEcJ5IPF","object":"chat.completion.chunk","created":1741125205,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" Answer"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMe35VjjxgvXpqu1MuuWJULHRL0","object":"chat.completion.chunk","created":1741124716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUXdsSwftzgjcfZUmsdpEcJ5IPF","object":"chat.completion.chunk","created":1741125205,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMe35VjjxgvXpqu1MuuWJULHRL0","object":"chat.completion.chunk","created":1741124716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":" - "},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUXdsSwftzgjcfZUmsdpEcJ5IPF","object":"chat.completion.chunk","created":1741125205,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":" + Super"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMe35VjjxgvXpqu1MuuWJULHRL0","object":"chat.completion.chunk","created":1741124716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"103"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUXdsSwftzgjcfZUmsdpEcJ5IPF","object":"chat.completion.chunk","created":1741125205,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":"Secret"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMe35VjjxgvXpqu1MuuWJULHRL0","object":"chat.completion.chunk","created":1741124716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{"content":"5"},"logprobs":null,"finish_reason":null}]} + data: {"id":"chatcmpl-B7UUXdsSwftzgjcfZUmsdpEcJ5IPF","object":"chat.completion.chunk","created":1741125205,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":"Password"},"logprobs":null,"finish_reason":null}]} - data: {"id":"chatcmpl-B7UMe35VjjxgvXpqu1MuuWJULHRL0","object":"chat.completion.chunk","created":1741124716,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_fc9f1d7035","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} + data: {"id":"chatcmpl-B7UUXdsSwftzgjcfZUmsdpEcJ5IPF","object":"chat.completion.chunk","created":1741125205,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":"123"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-B7UUXdsSwftzgjcfZUmsdpEcJ5IPF","object":"chat.completion.chunk","created":1741125205,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{"content":"!"},"logprobs":null,"finish_reason":null}]} + + + data: {"id":"chatcmpl-B7UUXdsSwftzgjcfZUmsdpEcJ5IPF","object":"chat.completion.chunk","created":1741125205,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_7fcd609668","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} data: [DONE] @@ -400,13 +329,13 @@ interactions: CF-Cache-Status: - DYNAMIC CF-RAY: - - 91b48f47497d1395-ATL + - 91b49b355e0db076-ATL Connection: - keep-alive Content-Type: - text/event-stream; charset=utf-8 Date: - - Tue, 04 Mar 2025 21:45:17 GMT + - Tue, 04 Mar 2025 21:53:25 GMT Server: - cloudflare Transfer-Encoding: @@ -420,25 +349,25 @@ interactions: openai-organization: - crewai-iuxna1 openai-processing-ms: - - '259' + - '123' openai-version: - '2020-10-01' strict-transport-security: - max-age=31536000; includeSubDomains; preload x-ratelimit-limit-requests: - - '10000' + - '30000' x-ratelimit-limit-tokens: - - '30000000' + - '150000000' x-ratelimit-remaining-requests: - - '9999' + - '29999' x-ratelimit-remaining-tokens: - - '29999598' + - '149999605' x-ratelimit-reset-requests: - - 6ms + - 2ms x-ratelimit-reset-tokens: - 0s x-request-id: - - req_570a64da47845f3a6dd7dbf7f78ffcfc + - req_81ee0a7c482bfe13d0d8a01d0810bdaf status: code: 200 message: OK