mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 17:18:29 +00:00
239 lines
9.4 KiB
YAML
239 lines
9.4 KiB
YAML
interactions:
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "You are Greeter. You are a
|
|
friendly greeter.\nYour personal goal is: Say hello.\nYou ONLY have access to
|
|
the following tools, and should NEVER make up tools that are not listed here:\n\nTool
|
|
Name: look_up_greeting\nTool Arguments: {}\nTool Description: Tool used to retrieve
|
|
a greeting.\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 [look_up_greeting], 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```\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"}, {"role": "user", "content": "\nCurrent Task: Look up the greeting
|
|
and say it.\n\nThis is the expect criteria for your final answer: A greeting.\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": false}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1314'
|
|
content-type:
|
|
- application/json
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.52.1
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.52.1
|
|
x-stainless-raw-response:
|
|
- 'true'
|
|
x-stainless-retry-count:
|
|
- '0'
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.12.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
content: "{\n \"id\": \"chatcmpl-AnpDd8jXjsoSLGSz6Sq6hZnrFDiPN\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1736438321,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"you should always think about what to
|
|
do \\nAction: look_up_greeting \\nAction Input: {} \",\n \"refusal\":
|
|
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
|
|
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 257,\n \"completion_tokens\":
|
|
21,\n \"total_tokens\": 278,\n \"prompt_tokens_details\": {\n \"cached_tokens\":
|
|
0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": {\n
|
|
\ \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\":
|
|
0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"system_fingerprint\":
|
|
\"fp_01aeff40ea\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8ff5a1532f13455a-ATL
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Thu, 09 Jan 2025 15:58:41 GMT
|
|
Server:
|
|
- cloudflare
|
|
Set-Cookie:
|
|
- __cf_bm=T.hcriLOjWL83HaKDnS2Tm.5dSjJzeWgVHOI5eMiCGM-1736438321-1.0.1.1-xNHwVem_hSBthmB11.2LpcrlKx14aUXaEEtYTKukrP3YyiT8X5g6vFte.x1JNLDsYDx1dWsU8in8qnCKZnub9A;
|
|
path=/; expires=Thu, 09-Jan-25 16:28:41 GMT; domain=.api.openai.com; HttpOnly;
|
|
Secure; SameSite=None
|
|
- _cfuvid=eDPesWng7.DYeInt3L_NY4oVQvsx3FxfCkZWZdsNir0-1736438321743-0.0.1.1-604800000;
|
|
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
|
|
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:
|
|
- '526'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=31536000; includeSubDomains; preload
|
|
x-ratelimit-limit-requests:
|
|
- '30000'
|
|
x-ratelimit-limit-tokens:
|
|
- '150000000'
|
|
x-ratelimit-remaining-requests:
|
|
- '29999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '149999697'
|
|
x-ratelimit-reset-requests:
|
|
- 2ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_33d8563825915166cd36e22f7c92ee35
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "You are Greeter. You are a
|
|
friendly greeter.\nYour personal goal is: Say hello.\nYou ONLY have access to
|
|
the following tools, and should NEVER make up tools that are not listed here:\n\nTool
|
|
Name: look_up_greeting\nTool Arguments: {}\nTool Description: Tool used to retrieve
|
|
a greeting.\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 [look_up_greeting], 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```\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"}, {"role": "user", "content": "\nCurrent Task: Look up the greeting
|
|
and say it.\n\nThis is the expect criteria for your final answer: A greeting.\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: look_up_greeting \nAction
|
|
Input: {} \nObservation: Howdy!"}], "model": "gpt-4o-mini", "stop": ["\nObservation:"],
|
|
"stream": false}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1463'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=T.hcriLOjWL83HaKDnS2Tm.5dSjJzeWgVHOI5eMiCGM-1736438321-1.0.1.1-xNHwVem_hSBthmB11.2LpcrlKx14aUXaEEtYTKukrP3YyiT8X5g6vFte.x1JNLDsYDx1dWsU8in8qnCKZnub9A;
|
|
_cfuvid=eDPesWng7.DYeInt3L_NY4oVQvsx3FxfCkZWZdsNir0-1736438321743-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.52.1
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.52.1
|
|
x-stainless-raw-response:
|
|
- 'true'
|
|
x-stainless-retry-count:
|
|
- '0'
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.12.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
content: "{\n \"id\": \"chatcmpl-AnpDe7vYcbSrzP9Nq0YODSeNFLrW5\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1736438322,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"Thought: I now know the final answer
|
|
\ \\nFinal Answer: Howdy!\",\n \"refusal\": null\n },\n \"logprobs\":
|
|
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
|
|
287,\n \"completion_tokens\": 15,\n \"total_tokens\": 302,\n \"prompt_tokens_details\":
|
|
{\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\":
|
|
{\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\":
|
|
0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"system_fingerprint\":
|
|
\"fp_f2cd28694a\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8ff5a1584e77455a-ATL
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Thu, 09 Jan 2025 15:58:42 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:
|
|
- '482'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=31536000; includeSubDomains; preload
|
|
x-ratelimit-limit-requests:
|
|
- '30000'
|
|
x-ratelimit-limit-tokens:
|
|
- '150000000'
|
|
x-ratelimit-remaining-requests:
|
|
- '29999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '149999669'
|
|
x-ratelimit-reset-requests:
|
|
- 2ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_71c37e7b5324ad4bc0f4226e929d2087
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
version: 1
|