mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 00:58:30 +00:00
510 lines
26 KiB
YAML
510 lines
26 KiB
YAML
interactions:
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "You are CEO. You''re an long
|
|
time CEO of a content creation agency with a Senior Writer on the team. You''re
|
|
now working on a new project and want to make sure the content produced is amazing.\nYour
|
|
personal goal is: Make sure the writers in your company produce amazing content.\nYou
|
|
ONLY have access to the following tools, and should NEVER make up tools that
|
|
are not listed here:\n\nTool Name: Delegate work to coworker(task: str, context:
|
|
str, coworker: Optional[str] = None, **kwargs)\nTool Description: Delegate a
|
|
specific task to one of the following coworkers: Senior Writer\nThe input to
|
|
this tool should be the coworker, the task you want them to do, and ALL necessary
|
|
context to execute the task, they know nothing about the task, so share absolute
|
|
everything you know, don''t reference things but instead explain them.\nTool
|
|
Arguments: {''task'': {''title'': ''Task'', ''type'': ''string''}, ''context'':
|
|
{''title'': ''Context'', ''type'': ''string''}, ''coworker'': {''title'': ''Coworker'',
|
|
''type'': ''string''}, ''kwargs'': {''title'': ''Kwargs'', ''type'': ''object''}}\nTool
|
|
Name: Ask question to coworker(question: str, context: str, coworker: Optional[str]
|
|
= None, **kwargs)\nTool Description: Ask a specific question to one of the following
|
|
coworkers: Senior Writer\nThe input to this tool should be the coworker, the
|
|
question you have for them, and ALL necessary context to ask the question properly,
|
|
they know nothing about the question, so share absolute everything you know,
|
|
don''t reference things but instead explain them.\nTool Arguments: {''question'':
|
|
{''title'': ''Question'', ''type'': ''string''}, ''context'': {''title'': ''Context'',
|
|
''type'': ''string''}, ''coworker'': {''title'': ''Coworker'', ''type'': ''string''},
|
|
''kwargs'': {''title'': ''Kwargs'', ''type'': ''object''}}\n\nUse the following
|
|
format:\n\nThought: you should always think about what to do\nAction: the action
|
|
to take, only one name of [Delegate work to coworker, Ask question to coworker],
|
|
just the name, exactly as it''s written.\nAction Input: the input to the action,
|
|
just a simple python dictionary, enclosed in curly braces, using \" to wrap
|
|
keys and values.\nObservation: the result of the action\n\nOnce all necessary
|
|
information is gathered:\n\nThought: I now know the final answer\nFinal Answer:
|
|
the final answer to the original input question\n"}, {"role": "user", "content":
|
|
"\nCurrent Task: Produce and amazing 1 paragraph draft of an article about AI
|
|
Agents.\n\nThis is the expect criteria for your final answer: A 4 paragraph
|
|
article about AI.\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": ["\nResult"]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '2784'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=e.frhlfi1m.8j1hzfGzahuOh4rgR9gvx.2zCHQ2w_Vs-1726380612-1.0.1.1-T58wIEXn0GTV8AZMALaUyULORFkNEBuxpds8RSWAM0Ltrg2U7jLBEKs0nwIneMiBAiiOmyZaoaH2RyLtNcunLQ;
|
|
_cfuvid=Bz2zevKuFYZqnEFwqmqVHcRo5pT0fm0fTtc_6_VQs4g-1726379702153-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.45.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.45.0
|
|
x-stainless-raw-response:
|
|
- 'true'
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
content: "{\n \"id\": \"chatcmpl-A7cm9YJN5moQYeEfPa8zf8oAGphqF\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726380713,\n \"model\": \"gpt-4o-2024-05-13\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"Thought: I need to ensure that the Senior
|
|
Writer is fully informed about the task and can produce an amazing paragraph
|
|
about AI agents. I will delegate this task to the Senior Writer by providing
|
|
all necessary context for them to create the content.\\n\\nAction: Delegate
|
|
work to coworker\\nAction Input: {\\\"task\\\": \\\"Produce an amazing 1 paragraph
|
|
draft of an article about AI Agents\\\", \\\"context\\\": \\\"We need a compelling
|
|
and informative paragraph that introduces the concept of AI agents, their significance,
|
|
and potential applications. This is for a high-stakes project, and the quality
|
|
needs to be top-notch. We aim to highlight how AI agents work autonomously to
|
|
perform tasks and make decisions based on data, showcasing their transformative
|
|
impact on various industries.\\\", \\\"coworker\\\": \\\"Senior Writer\\\"}\",\n
|
|
\ \"refusal\": null\n },\n \"logprobs\": null,\n \"finish_reason\":
|
|
\"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 608,\n \"completion_tokens\":
|
|
157,\n \"total_tokens\": 765,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
|
0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c367643abce745a-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Sun, 15 Sep 2024 06:11:55 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '1401'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15552000; includeSubDomains; preload
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '30000000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '29999324'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 1ms
|
|
x-request-id:
|
|
- req_6524885299a973a8d0bef88c7ed38051
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "You are Senior Writer. You''re
|
|
a senior writer, specialized in technology, software engineering, AI and startups.
|
|
You work as a freelancer and are now working on writing content for a new customer.\nYour
|
|
personal goal is: Write the best content about AI and AI agents.\nTo give my
|
|
best complete final answer to the task use the exact following format:\n\nThought:
|
|
I now can give a great answer\nFinal Answer: Your final answer must be the great
|
|
and the most complete as possible, it must be outcome described.\n\nI MUST use
|
|
these formats, my job depends on it!"}, {"role": "user", "content": "\nCurrent
|
|
Task: Produce an amazing 1 paragraph draft of an article about AI Agents\n\nThis
|
|
is the expect criteria for your final answer: Your best answer to your coworker
|
|
asking you this, accounting for the context shared.\nyou MUST return the actual
|
|
complete content as the final answer, not a summary.\n\nThis is the context
|
|
you''re working with:\nWe need a compelling and informative paragraph that introduces
|
|
the concept of AI agents, their significance, and potential applications. This
|
|
is for a high-stakes project, and the quality needs to be top-notch. We aim
|
|
to highlight how AI agents work autonomously to perform tasks and make decisions
|
|
based on data, showcasing their transformative impact on various industries.\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": ["\nResult"]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1540'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=e.frhlfi1m.8j1hzfGzahuOh4rgR9gvx.2zCHQ2w_Vs-1726380612-1.0.1.1-T58wIEXn0GTV8AZMALaUyULORFkNEBuxpds8RSWAM0Ltrg2U7jLBEKs0nwIneMiBAiiOmyZaoaH2RyLtNcunLQ;
|
|
_cfuvid=Bz2zevKuFYZqnEFwqmqVHcRo5pT0fm0fTtc_6_VQs4g-1726379702153-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.45.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.45.0
|
|
x-stainless-raw-response:
|
|
- 'true'
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
content: "{\n \"id\": \"chatcmpl-A7cmBvo1QFIuBB6MYcnXFJM6eRb4Y\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726380715,\n \"model\": \"gpt-4o-2024-05-13\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"I now can give a great answer.\\nFinal
|
|
Answer: AI agents are intelligent software entities designed to autonomously
|
|
perform tasks and make decisions based on data, embodying the next significant
|
|
leap in the AI evolution. These agents leverage complex algorithms and machine
|
|
learning techniques to analyze vast datasets, adapt to new patterns, and execute
|
|
actions without human intervention. From personal assistants like Siri and Alexa
|
|
to sophisticated financial trading systems and healthcare diagnostics, AI agents
|
|
are revolutionizing numerous industries by enhancing efficiency, accuracy, and
|
|
decision-making capabilities. Their ability to operate independently while continuously
|
|
learning and improving means they hold the transformative potential to redefine
|
|
how businesses operate, drive innovation, and create unprecedented value across
|
|
various sectors.\",\n \"refusal\": null\n },\n \"logprobs\":
|
|
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
|
|
290,\n \"completion_tokens\": 134,\n \"total_tokens\": 424,\n \"completion_tokens_details\":
|
|
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c36764e4bd2745a-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Sun, 15 Sep 2024 06:11:56 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '1356'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15552000; includeSubDomains; preload
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '30000000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '29999631'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_94a4e2cd609fc730deced6c991f97e1c
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: !!binary |
|
|
CqAMCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkS9wsKEgoQY3Jld2FpLnRl
|
|
bGVtZXRyeRLPCQoQpJgx+7xv8r7QlW1t7TL6pBIIFMhJye4vDi8qDENyZXcgQ3JlYXRlZDABOeCM
|
|
WqQcVvUXQeBcYqQcVvUXShoKDmNyZXdhaV92ZXJzaW9uEggKBjAuNTYuMEoaCg5weXRob25fdmVy
|
|
c2lvbhIICgYzLjExL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User-Agent:
|
|
- OTel-OTLP-Exporter-Python/1.27.0
|
|
method: POST
|
|
uri: https://telemetry.crewai.com:4319/v1/traces
|
|
response:
|
|
body:
|
|
string: "\n\0"
|
|
headers:
|
|
Content-Length:
|
|
- '2'
|
|
Content-Type:
|
|
- application/x-protobuf
|
|
Date:
|
|
- Sun, 15 Sep 2024 06:11:57 GMT
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "You are CEO. You''re an long
|
|
time CEO of a content creation agency with a Senior Writer on the team. You''re
|
|
now working on a new project and want to make sure the content produced is amazing.\nYour
|
|
personal goal is: Make sure the writers in your company produce amazing content.\nYou
|
|
ONLY have access to the following tools, and should NEVER make up tools that
|
|
are not listed here:\n\nTool Name: Delegate work to coworker(task: str, context:
|
|
str, coworker: Optional[str] = None, **kwargs)\nTool Description: Delegate a
|
|
specific task to one of the following coworkers: Senior Writer\nThe input to
|
|
this tool should be the coworker, the task you want them to do, and ALL necessary
|
|
context to execute the task, they know nothing about the task, so share absolute
|
|
everything you know, don''t reference things but instead explain them.\nTool
|
|
Arguments: {''task'': {''title'': ''Task'', ''type'': ''string''}, ''context'':
|
|
{''title'': ''Context'', ''type'': ''string''}, ''coworker'': {''title'': ''Coworker'',
|
|
''type'': ''string''}, ''kwargs'': {''title'': ''Kwargs'', ''type'': ''object''}}\nTool
|
|
Name: Ask question to coworker(question: str, context: str, coworker: Optional[str]
|
|
= None, **kwargs)\nTool Description: Ask a specific question to one of the following
|
|
coworkers: Senior Writer\nThe input to this tool should be the coworker, the
|
|
question you have for them, and ALL necessary context to ask the question properly,
|
|
they know nothing about the question, so share absolute everything you know,
|
|
don''t reference things but instead explain them.\nTool Arguments: {''question'':
|
|
{''title'': ''Question'', ''type'': ''string''}, ''context'': {''title'': ''Context'',
|
|
''type'': ''string''}, ''coworker'': {''title'': ''Coworker'', ''type'': ''string''},
|
|
''kwargs'': {''title'': ''Kwargs'', ''type'': ''object''}}\n\nUse the following
|
|
format:\n\nThought: you should always think about what to do\nAction: the action
|
|
to take, only one name of [Delegate work to coworker, Ask question to coworker],
|
|
just the name, exactly as it''s written.\nAction Input: the input to the action,
|
|
just a simple python dictionary, enclosed in curly braces, using \" to wrap
|
|
keys and values.\nObservation: the result of the action\n\nOnce all necessary
|
|
information is gathered:\n\nThought: I now know the final answer\nFinal Answer:
|
|
the final answer to the original input question\n"}, {"role": "user", "content":
|
|
"\nCurrent Task: Produce and amazing 1 paragraph draft of an article about AI
|
|
Agents.\n\nThis is the expect criteria for your final answer: A 4 paragraph
|
|
article about AI.\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 ensure that the Senior
|
|
Writer is fully informed about the task and can produce an amazing paragraph
|
|
about AI agents. I will delegate this task to the Senior Writer by providing
|
|
all necessary context for them to create the content.\n\nAction: Delegate work
|
|
to coworker\nAction Input: {\"task\": \"Produce an amazing 1 paragraph draft
|
|
of an article about AI Agents\", \"context\": \"We need a compelling and informative
|
|
paragraph that introduces the concept of AI agents, their significance, and
|
|
potential applications. This is for a high-stakes project, and the quality needs
|
|
to be top-notch. We aim to highlight how AI agents work autonomously to perform
|
|
tasks and make decisions based on data, showcasing their transformative impact
|
|
on various industries.\", \"coworker\": \"Senior Writer\"}\nObservation: AI
|
|
agents are intelligent software entities designed to autonomously perform tasks
|
|
and make decisions based on data, embodying the next significant leap in the
|
|
AI evolution. These agents leverage complex algorithms and machine learning
|
|
techniques to analyze vast datasets, adapt to new patterns, and execute actions
|
|
without human intervention. From personal assistants like Siri and Alexa to
|
|
sophisticated financial trading systems and healthcare diagnostics, AI agents
|
|
are revolutionizing numerous industries by enhancing efficiency, accuracy, and
|
|
decision-making capabilities. Their ability to operate independently while continuously
|
|
learning and improving means they hold the transformative potential to redefine
|
|
how businesses operate, drive innovation, and create unprecedented value across
|
|
various sectors."}], "model": "gpt-4o", "stop": ["\nResult"]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '4461'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=e.frhlfi1m.8j1hzfGzahuOh4rgR9gvx.2zCHQ2w_Vs-1726380612-1.0.1.1-T58wIEXn0GTV8AZMALaUyULORFkNEBuxpds8RSWAM0Ltrg2U7jLBEKs0nwIneMiBAiiOmyZaoaH2RyLtNcunLQ;
|
|
_cfuvid=Bz2zevKuFYZqnEFwqmqVHcRo5pT0fm0fTtc_6_VQs4g-1726379702153-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.45.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.45.0
|
|
x-stainless-raw-response:
|
|
- 'true'
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
content: "{\n \"id\": \"chatcmpl-A7cmDhTLfqC7bvRvxIiBrnzHbuYRm\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726380717,\n \"model\": \"gpt-4o-2024-05-13\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"Thought: The Senior Writer provided an
|
|
excellent paragraph on AI Agents. Now, I'll use this as the first paragraph
|
|
in the four-paragraph article about AI and build upon it to finalize the content.\\n\\nFinal
|
|
Answer:\\n\\nAI agents are intelligent software entities designed to autonomously
|
|
perform tasks and make decisions based on data, embodying the next significant
|
|
leap in the AI evolution. These agents leverage complex algorithms and machine
|
|
learning techniques to analyze vast datasets, adapt to new patterns, and execute
|
|
actions without human intervention. From personal assistants like Siri and Alexa
|
|
to sophisticated financial trading systems and healthcare diagnostics, AI agents
|
|
are revolutionizing numerous industries by enhancing efficiency, accuracy, and
|
|
decision-making capabilities. Their ability to operate independently while continuously
|
|
learning and improving means they hold the transformative potential to redefine
|
|
how businesses operate, drive innovation, and create unprecedented value across
|
|
various sectors.\\n\\nArtificial Intelligence (AI) transcends the notion of
|
|
simple automation by introducing systems capable of mimicking human intelligence.
|
|
This evolution in technology doesn't just follow predefined rules but learns
|
|
from patterns, makes decisions, and even anticipates future outcomes. Machine
|
|
learning, a subset of AI, has brought about breakthroughs where software evolves
|
|
by processing data and identifying patterns too complex for traditional algorithms.
|
|
As a result, AI applications now span from image recognition to natural language
|
|
processing, offering human-like interactions and unparalleled analytic capabilities.\\n\\nIn
|
|
healthcare, AI's influence is particularly profound. It enhances diagnostic
|
|
accuracy by analyzing medical images, predicting disease outbreaks, and personalizing
|
|
treatment plans based on patient data. AI-driven innovations such as robotic
|
|
surgeries and AI-powered diagnostic tools are spearheading a new era of medical
|
|
breakthroughs, reducing human error rates and facilitating early detection of
|
|
life-threatening conditions. This is just the tip of the iceberg, as ongoing
|
|
research continues to uncover new possibilities for integrating AI in patient
|
|
care, potentially offering solutions that were once the realm of science fiction.\\n\\nAI's
|
|
integration into daily life also brings forth significant ethical and societal
|
|
considerations. Issues surrounding privacy, data security, and the potential
|
|
displacement of jobs by automation need to be carefully managed. Additionally,
|
|
ensuring that AI systems are transparent and unbiased is critical to their widespread
|
|
acceptance and trust. As humanity stands on the brink of this technological
|
|
revolution, balancing innovation with responsibility will be key to harnessing
|
|
AI's full potential to drive sustainable growth and improve quality of life
|
|
globally.\\n\\nThus, Artificial Intelligence, with all its promises and challenges,
|
|
is undeniably charting a course toward a future where intelligent systems will
|
|
increasingly become integral to our lives, driving transformation across all
|
|
domains of human endeavor.\",\n \"refusal\": null\n },\n \"logprobs\":
|
|
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
|
|
894,\n \"completion_tokens\": 499,\n \"total_tokens\": 1393,\n \"completion_tokens_details\":
|
|
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c3676592b7f745a-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Sun, 15 Sep 2024 06:12:01 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '4467'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15552000; includeSubDomains; preload
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '30000000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '29998917'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 2ms
|
|
x-request-id:
|
|
- req_0a4caea8d0fc389d0000787f9a192eef
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
version: 1
|