mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-27 00:58:13 +00:00
another one
This commit is contained in:
@@ -1802,41 +1802,41 @@ def test_litellm_anthropic_error_handling():
|
|||||||
@pytest.mark.vcr(filter_headers=["authorization"])
|
@pytest.mark.vcr(filter_headers=["authorization"])
|
||||||
def test_agent_streaming_with_tool_calling():
|
def test_agent_streaming_with_tool_calling():
|
||||||
"""Test that streaming works correctly with tool calling."""
|
"""Test that streaming works correctly with tool calling."""
|
||||||
received_chunks = []
|
|
||||||
tool_called = False
|
|
||||||
|
|
||||||
# Define a tool that will be called
|
# Define a tool that will be called
|
||||||
@tool
|
@tool
|
||||||
def calculator(first_number: int, second_number: int) -> float:
|
def retrieve_secret_information() -> str:
|
||||||
"""Calculate the product of two numbers."""
|
"""Retrieve the super secret password from the secure database."""
|
||||||
nonlocal tool_called
|
return "SuperSecretPassword123!"
|
||||||
tool_called = True
|
|
||||||
return first_number * second_number
|
|
||||||
|
|
||||||
# Create an agent with streaming enabled
|
# Create an LLM with streaming enabled
|
||||||
agent = Agent(
|
llm = LLM(
|
||||||
role="Math Assistant",
|
model="gpt-4o-mini",
|
||||||
goal="Help users with mathematical calculations",
|
stream=True,
|
||||||
backstory="I am an AI assistant specialized in mathematics.",
|
|
||||||
verbose=True,
|
|
||||||
llm=LLM(model="gpt-4o", stream=True), # Enable streaming
|
|
||||||
max_iter=3,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Create a task that will require tool calling
|
# Create a secret agent
|
||||||
task = Task(
|
secret_agent = Agent(
|
||||||
description="Calculate 23 * 45 using the calculator tool.",
|
role="Secret Information Specialist",
|
||||||
agent=agent,
|
goal="Retrieve classified information securely",
|
||||||
expected_output="The result of the calculation.",
|
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
|
# Execute the task directly with the agent
|
||||||
# output = agent.execute_task(task=task, tools=[calculator])
|
output = secret_agent.execute_task(task=secret_task)
|
||||||
|
|
||||||
# # Verify that the tool was called
|
# Verify the output contains the secret password
|
||||||
# assert tool_called, "Calculator tool was not called"
|
assert (
|
||||||
|
"SuperSecretPassword123!" in output
|
||||||
# # Verify the output contains the correct result (23 * 45 = 1035)
|
), f"Expected secret password not found in output: {output}"
|
||||||
# assert "1035" in output, f"Expected result '1035' not found in output: {output}"
|
|
||||||
|
|||||||
@@ -1,25 +1,25 @@
|
|||||||
interactions:
|
interactions:
|
||||||
- request:
|
- request:
|
||||||
body: '{"messages": [{"role": "system", "content": "You are Math Assistant. I
|
body: '{"messages": [{"role": "system", "content": "You are Secret Information
|
||||||
am an AI assistant specialized in mathematics.\nYour personal goal is: Help
|
Specialist. A highly trained operative with clearance to access confidential
|
||||||
users with mathematical calculations\nYou ONLY have access to the following
|
data\nYour personal goal is: Retrieve classified information securely\nYou ONLY
|
||||||
tools, and should NEVER make up tools that are not listed here:\n\nTool Name:
|
have access to the following tools, and should NEVER make up tools that are
|
||||||
calculator\nTool Arguments: {''first_number'': {''description'': None, ''type'':
|
not listed here:\n\nTool Name: retrieve_secret_information\nTool Arguments:
|
||||||
''int''}, ''second_number'': {''description'': None, ''type'': ''int''}}\nTool
|
{}\nTool Description: Retrieve the super secret password from the secure database.\n\nIMPORTANT:
|
||||||
Description: Calculate the product of two numbers.\n\nIMPORTANT: Use the following
|
Use the following format in your response:\n\n```\nThought: you should always
|
||||||
format in your response:\n\n```\nThought: you should always think about what
|
think about what to do\nAction: the action to take, only one name of [retrieve_secret_information],
|
||||||
to do\nAction: the action to take, only one name of [calculator], just the name,
|
just the name, exactly as it''s written.\nAction Input: the input to the action,
|
||||||
exactly as it''s written.\nAction Input: the input to the action, just a simple
|
just a simple JSON object, enclosed in curly braces, using \" to wrap keys and
|
||||||
JSON object, enclosed in curly braces, using \" to wrap keys and values.\nObservation:
|
values.\nObservation: the result of the action\n```\n\nOnce all necessary information
|
||||||
the result of the action\n```\n\nOnce all necessary information is gathered,
|
is gathered, return the following format:\n\n```\nThought: I now know the final
|
||||||
return the following format:\n\n```\nThought: I now know the final answer\nFinal
|
answer\nFinal Answer: the final answer to the original input question\n```"},
|
||||||
Answer: the final answer to the original input question\n```"}, {"role": "user",
|
{"role": "user", "content": "\nCurrent Task: Retrieve the super secret password
|
||||||
"content": "\nCurrent Task: Calculate 23 * 45 using the calculator tool.\n\nThis
|
using the appropriate tool\n\nThis is the expected criteria for your final answer:
|
||||||
is the expected criteria for your final answer: The result of the calculation.\nyou
|
The retrieved super secret password\nyou MUST return the actual complete content
|
||||||
MUST return the actual complete content as the final answer, not a summary.\n\nBegin!
|
as the final answer, not a summary.\n\nBegin! This is VERY important to you,
|
||||||
This is VERY important to you, use the tools available and give your best Final
|
use the tools available and give your best Final Answer, your job depends on
|
||||||
Answer, your job depends on it!\n\nThought:"}], "model": "gpt-4o", "stop": ["\nObservation:"],
|
it!\n\nThought:"}], "model": "gpt-4o-mini", "stop": ["\nObservation:"], "stream":
|
||||||
"stream": true}'
|
true}'
|
||||||
headers:
|
headers:
|
||||||
accept:
|
accept:
|
||||||
- application/json
|
- application/json
|
||||||
@@ -28,7 +28,7 @@ interactions:
|
|||||||
connection:
|
connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
content-length:
|
content-length:
|
||||||
- '1532'
|
- '1544'
|
||||||
content-type:
|
content-type:
|
||||||
- application/json
|
- application/json
|
||||||
host:
|
host:
|
||||||
@@ -59,154 +59,80 @@ interactions:
|
|||||||
uri: https://api.openai.com/v1/chat/completions
|
uri: https://api.openai.com/v1/chat/completions
|
||||||
response:
|
response:
|
||||||
body:
|
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":"
|
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":"
|
||||||
I"},"logprobs":null,"finish_reason":null}]}
|
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":"
|
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":"
|
||||||
need"},"logprobs":null,"finish_reason":null}]}
|
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}]}
|
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":"
|
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":"
|
||||||
use"},"logprobs":null,"finish_reason":null}]}
|
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":"
|
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}]}
|
||||||
the"},"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":"Action"},"logprobs":null,"finish_reason":null}]}
|
||||||
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":"
|
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}]}
|
||||||
tool"},"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":"
|
||||||
to"},"logprobs":null,"finish_reason":null}]}
|
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":"
|
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}]}
|
||||||
find"},"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":"_information"},"logprobs":null,"finish_reason":null}]}
|
||||||
the"},"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":" \n"},"logprobs":null,"finish_reason":null}]}
|
||||||
product"},"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":"Action"},"logprobs":null,"finish_reason":null}]}
|
||||||
of"},"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":"
|
||||||
"},"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":"
|
|
||||||
Input"},"logprobs":null,"finish_reason":null}]}
|
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":"
|
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}]}
|
{}"},"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-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: {"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: [DONE]
|
data: [DONE]
|
||||||
@@ -215,20 +141,20 @@ interactions:
|
|||||||
'
|
'
|
||||||
headers:
|
headers:
|
||||||
CF-RAY:
|
CF-RAY:
|
||||||
- 91b48f35d9491395-ATL
|
- 91b49b30cf3ab076-ATL
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- text/event-stream; charset=utf-8
|
- text/event-stream; charset=utf-8
|
||||||
Date:
|
Date:
|
||||||
- Tue, 04 Mar 2025 21:45:14 GMT
|
- Tue, 04 Mar 2025 21:53:24 GMT
|
||||||
Server:
|
Server:
|
||||||
- cloudflare
|
- cloudflare
|
||||||
Set-Cookie:
|
Set-Cookie:
|
||||||
- __cf_bm=JskMKvbLbpukx.YzVElN9.2kFIzwXafZOqap7nRS6pg-1741124714-1.0.1.1-f3rFnmJ0WzDPiXwQ13yC_xetOWQ5yrFbV8lD.hpamhc07f7stkYKb6yPqkSskP8niFN0ECjikQkliSrlR0fMx2BWNpsX4RHOkHaedxHksY8;
|
- __cf_bm=2x17LZrhoAdXpHShcYiDoeV_QSnRSsqFq9r.BqGRfGo-1741125204-1.0.1.1-YZGIwFGMOXl0ffELbM_Kmnd9B5j3zTo6QnBhV4Hw4JTx3QvsvMhpk_b9bNpHfVQpLuwOMJf_AcOzmUiu.45vV0VkRGX1M8Py2FTtczHZdqA;
|
||||||
path=/; expires=Tue, 04-Mar-25 22:15:14 GMT; domain=.api.openai.com; HttpOnly;
|
path=/; expires=Tue, 04-Mar-25 22:23:24 GMT; domain=.api.openai.com; HttpOnly;
|
||||||
Secure; SameSite=None
|
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
|
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
|
||||||
Transfer-Encoding:
|
Transfer-Encoding:
|
||||||
- chunked
|
- chunked
|
||||||
@@ -243,51 +169,51 @@ interactions:
|
|||||||
openai-organization:
|
openai-organization:
|
||||||
- crewai-iuxna1
|
- crewai-iuxna1
|
||||||
openai-processing-ms:
|
openai-processing-ms:
|
||||||
- '387'
|
- '117'
|
||||||
openai-version:
|
openai-version:
|
||||||
- '2020-10-01'
|
- '2020-10-01'
|
||||||
strict-transport-security:
|
strict-transport-security:
|
||||||
- max-age=31536000; includeSubDomains; preload
|
- max-age=31536000; includeSubDomains; preload
|
||||||
x-ratelimit-limit-requests:
|
x-ratelimit-limit-requests:
|
||||||
- '10000'
|
- '30000'
|
||||||
x-ratelimit-limit-tokens:
|
x-ratelimit-limit-tokens:
|
||||||
- '30000000'
|
- '150000000'
|
||||||
x-ratelimit-remaining-requests:
|
x-ratelimit-remaining-requests:
|
||||||
- '9999'
|
- '29999'
|
||||||
x-ratelimit-remaining-tokens:
|
x-ratelimit-remaining-tokens:
|
||||||
- '29999642'
|
- '149999641'
|
||||||
x-ratelimit-reset-requests:
|
x-ratelimit-reset-requests:
|
||||||
- 6ms
|
- 2ms
|
||||||
x-ratelimit-reset-tokens:
|
x-ratelimit-reset-tokens:
|
||||||
- 0s
|
- 0s
|
||||||
x-request-id:
|
x-request-id:
|
||||||
- req_fb740793ab8b1b119be40b8b9f3d8c55
|
- req_0275c408a8d17355a52b65a7d7b257f6
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
message: OK
|
message: OK
|
||||||
- request:
|
- request:
|
||||||
body: '{"messages": [{"role": "system", "content": "You are Math Assistant. I
|
body: '{"messages": [{"role": "system", "content": "You are Secret Information
|
||||||
am an AI assistant specialized in mathematics.\nYour personal goal is: Help
|
Specialist. A highly trained operative with clearance to access confidential
|
||||||
users with mathematical calculations\nYou ONLY have access to the following
|
data\nYour personal goal is: Retrieve classified information securely\nYou ONLY
|
||||||
tools, and should NEVER make up tools that are not listed here:\n\nTool Name:
|
have access to the following tools, and should NEVER make up tools that are
|
||||||
calculator\nTool Arguments: {''first_number'': {''description'': None, ''type'':
|
not listed here:\n\nTool Name: retrieve_secret_information\nTool Arguments:
|
||||||
''int''}, ''second_number'': {''description'': None, ''type'': ''int''}}\nTool
|
{}\nTool Description: Retrieve the super secret password from the secure database.\n\nIMPORTANT:
|
||||||
Description: Calculate the product of two numbers.\n\nIMPORTANT: Use the following
|
Use the following format in your response:\n\n```\nThought: you should always
|
||||||
format in your response:\n\n```\nThought: you should always think about what
|
think about what to do\nAction: the action to take, only one name of [retrieve_secret_information],
|
||||||
to do\nAction: the action to take, only one name of [calculator], just the name,
|
just the name, exactly as it''s written.\nAction Input: the input to the action,
|
||||||
exactly as it''s written.\nAction Input: the input to the action, just a simple
|
just a simple JSON object, enclosed in curly braces, using \" to wrap keys and
|
||||||
JSON object, enclosed in curly braces, using \" to wrap keys and values.\nObservation:
|
values.\nObservation: the result of the action\n```\n\nOnce all necessary information
|
||||||
the result of the action\n```\n\nOnce all necessary information is gathered,
|
is gathered, return the following format:\n\n```\nThought: I now know the final
|
||||||
return the following format:\n\n```\nThought: I now know the final answer\nFinal
|
answer\nFinal Answer: the final answer to the original input question\n```"},
|
||||||
Answer: the final answer to the original input question\n```"}, {"role": "user",
|
{"role": "user", "content": "\nCurrent Task: Retrieve the super secret password
|
||||||
"content": "\nCurrent Task: Calculate 23 * 45 using the calculator tool.\n\nThis
|
using the appropriate tool\n\nThis is the expected criteria for your final answer:
|
||||||
is the expected criteria for your final answer: The result of the calculation.\nyou
|
The retrieved super secret password\nyou MUST return the actual complete content
|
||||||
MUST return the actual complete content as the final answer, not a summary.\n\nBegin!
|
as the final answer, not a summary.\n\nBegin! This is VERY important to you,
|
||||||
This is VERY important to you, use the tools available and give your best Final
|
use the tools available and give your best Final Answer, your job depends on
|
||||||
Answer, your job depends on it!\n\nThought:"}, {"role": "assistant", "content":
|
it!\n\nThought:"}, {"role": "assistant", "content": "you should always think
|
||||||
"Thought: I need to use the calculator tool to find the product of 23 and 45.\nAction:
|
about what to do \nAction: retrieve_secret_information \nAction Input: {} \nObservation:
|
||||||
calculator\nAction Input: {\"first_number\": 23, \"second_number\": 45}\nObservation:
|
SuperSecretPassword123!"}], "model": "gpt-4o-mini", "stop": ["\nObservation:"],
|
||||||
1035"}], "model": "gpt-4o", "stop": ["\nObservation:"], "stream": true}'
|
"stream": true}'
|
||||||
headers:
|
headers:
|
||||||
accept:
|
accept:
|
||||||
- application/json
|
- application/json
|
||||||
@@ -296,12 +222,12 @@ interactions:
|
|||||||
connection:
|
connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
content-length:
|
content-length:
|
||||||
- '1746'
|
- '1721'
|
||||||
content-type:
|
content-type:
|
||||||
- application/json
|
- application/json
|
||||||
cookie:
|
cookie:
|
||||||
- __cf_bm=JskMKvbLbpukx.YzVElN9.2kFIzwXafZOqap7nRS6pg-1741124714-1.0.1.1-f3rFnmJ0WzDPiXwQ13yC_xetOWQ5yrFbV8lD.hpamhc07f7stkYKb6yPqkSskP8niFN0ECjikQkliSrlR0fMx2BWNpsX4RHOkHaedxHksY8;
|
- __cf_bm=2x17LZrhoAdXpHShcYiDoeV_QSnRSsqFq9r.BqGRfGo-1741125204-1.0.1.1-YZGIwFGMOXl0ffELbM_Kmnd9B5j3zTo6QnBhV4Hw4JTx3QvsvMhpk_b9bNpHfVQpLuwOMJf_AcOzmUiu.45vV0VkRGX1M8Py2FTtczHZdqA;
|
||||||
_cfuvid=k6FRHOt0jtJWvFBjkSTYAd8v9L2L5VlqsSNrU5i.kAU-1741124714341-0.0.1.1-604800000
|
_cfuvid=FRRGVgDDqV5FLWDElnI69t9ueapMR.vX2_aMC3hjIKo-1741125204818-0.0.1.1-604800000
|
||||||
host:
|
host:
|
||||||
- api.openai.com
|
- api.openai.com
|
||||||
user-agent:
|
user-agent:
|
||||||
@@ -330,66 +256,69 @@ interactions:
|
|||||||
uri: https://api.openai.com/v1/chat/completions
|
uri: https://api.openai.com/v1/chat/completions
|
||||||
response:
|
response:
|
||||||
body:
|
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-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":"
|
||||||
|
|
||||||
|
|
||||||
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":"
|
|
||||||
I"},"logprobs":null,"finish_reason":null}]}
|
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}]}
|
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}]}
|
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}]}
|
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}]}
|
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}]}
|
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}]}
|
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":"
|
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}]}
|
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]
|
data: [DONE]
|
||||||
@@ -400,13 +329,13 @@ interactions:
|
|||||||
CF-Cache-Status:
|
CF-Cache-Status:
|
||||||
- DYNAMIC
|
- DYNAMIC
|
||||||
CF-RAY:
|
CF-RAY:
|
||||||
- 91b48f47497d1395-ATL
|
- 91b49b355e0db076-ATL
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- text/event-stream; charset=utf-8
|
- text/event-stream; charset=utf-8
|
||||||
Date:
|
Date:
|
||||||
- Tue, 04 Mar 2025 21:45:17 GMT
|
- Tue, 04 Mar 2025 21:53:25 GMT
|
||||||
Server:
|
Server:
|
||||||
- cloudflare
|
- cloudflare
|
||||||
Transfer-Encoding:
|
Transfer-Encoding:
|
||||||
@@ -420,25 +349,25 @@ interactions:
|
|||||||
openai-organization:
|
openai-organization:
|
||||||
- crewai-iuxna1
|
- crewai-iuxna1
|
||||||
openai-processing-ms:
|
openai-processing-ms:
|
||||||
- '259'
|
- '123'
|
||||||
openai-version:
|
openai-version:
|
||||||
- '2020-10-01'
|
- '2020-10-01'
|
||||||
strict-transport-security:
|
strict-transport-security:
|
||||||
- max-age=31536000; includeSubDomains; preload
|
- max-age=31536000; includeSubDomains; preload
|
||||||
x-ratelimit-limit-requests:
|
x-ratelimit-limit-requests:
|
||||||
- '10000'
|
- '30000'
|
||||||
x-ratelimit-limit-tokens:
|
x-ratelimit-limit-tokens:
|
||||||
- '30000000'
|
- '150000000'
|
||||||
x-ratelimit-remaining-requests:
|
x-ratelimit-remaining-requests:
|
||||||
- '9999'
|
- '29999'
|
||||||
x-ratelimit-remaining-tokens:
|
x-ratelimit-remaining-tokens:
|
||||||
- '29999598'
|
- '149999605'
|
||||||
x-ratelimit-reset-requests:
|
x-ratelimit-reset-requests:
|
||||||
- 6ms
|
- 2ms
|
||||||
x-ratelimit-reset-tokens:
|
x-ratelimit-reset-tokens:
|
||||||
- 0s
|
- 0s
|
||||||
x-request-id:
|
x-request-id:
|
||||||
- req_570a64da47845f3a6dd7dbf7f78ffcfc
|
- req_81ee0a7c482bfe13d0d8a01d0810bdaf
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
message: OK
|
message: OK
|
||||||
|
|||||||
Reference in New Issue
Block a user