mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
230 lines
9.1 KiB
YAML
230 lines
9.1 KiB
YAML
interactions:
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "You are test role. test backstory\nYour
|
|
personal goal is: test goal\nYou ONLY have access to the following tools, and
|
|
should NEVER make up tools that are not listed here:\n\nTool Name: dummy_tool(*args:
|
|
Any, **kwargs: Any) -> Any\nTool Description: dummy_tool(query: ''string'')
|
|
- Useful for when you need to get a dummy result for a query. \nTool Arguments:
|
|
{''query'': {''title'': ''Query'', ''type'': ''string''}}\n\nUse the following
|
|
format:\n\nThought: you should always think about what to do\nAction: the action
|
|
to take, only one name of [dummy_tool], 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: Use the dummy tool
|
|
to get a result for ''test query''\n\nThis is the expect criteria for your final
|
|
answer: The result from the dummy tool\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-3.5-turbo"}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1385'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- _cfuvid=ntPBCCgVUz_nq5Umsn4Dh2nras_FFFm.Om6wrSeiU00-1727053206899-0.0.1.1-604800000;
|
|
__cf_bm=XKEjZqa9jLHDkJm09f6GoOFObGBsS.2iO2iQsVxfDtg-1727053206-1.0.1.1-AhT2h4tFAfFhcbWhI7x8he9L6T0eCndS2.n6pMSK3iFkx0qYlA5Y.iniDaQVaO1ukiEEoEJGaV2tL967WYm1uA
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.47.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.47.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-AARydRDFzcD2NUmMGzemsV0dp6kkG\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1727054187,\n \"model\": \"gpt-3.5-turbo-0125\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"I should use the dummy tool to get a
|
|
result for 'test query'.\\n\\nAction: \\ndummy_tool\\n\\nAction Input: \\n{\\\"query\\\":
|
|
\\\"test query\\\"}\\n\\nObservation:\",\n \"refusal\": null\n },\n
|
|
\ \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n
|
|
\ \"usage\": {\n \"prompt_tokens\": 295,\n \"completion_tokens\": 35,\n
|
|
\ \"total_tokens\": 330,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
|
0\n }\n },\n \"system_fingerprint\": null\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c76b07cac90a658-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Mon, 23 Sep 2024 01:16:27 GMT
|
|
Server:
|
|
- cloudflare
|
|
Set-Cookie:
|
|
- __cf_bm=FPv5AG0QfMct7pC4bGELrm0mofIR9eOmKbA9ZOBKH1A-1727054187-1.0.1.1-yGihcpK8XfnbQp9TshK.R3aGtK0umkkBzW1cEJ4BUaLxTvhxuQ3Bd7zP14Qol_FycSsfzHXZoM_upbtrAH5EtQ;
|
|
path=/; expires=Mon, 23-Sep-24 01:46:27 GMT; domain=.api.openai.com; HttpOnly;
|
|
Secure; SameSite=None
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '437'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15552000; includeSubDomains; preload
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '50000000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '49999668'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_4528f488436ec971e75e0da5f926a802
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "You are test role. test backstory\nYour
|
|
personal goal is: test goal\nYou ONLY have access to the following tools, and
|
|
should NEVER make up tools that are not listed here:\n\nTool Name: dummy_tool(*args:
|
|
Any, **kwargs: Any) -> Any\nTool Description: dummy_tool(query: ''string'')
|
|
- Useful for when you need to get a dummy result for a query. \nTool Arguments:
|
|
{''query'': {''title'': ''Query'', ''type'': ''string''}}\n\nUse the following
|
|
format:\n\nThought: you should always think about what to do\nAction: the action
|
|
to take, only one name of [dummy_tool], 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: Use the dummy tool
|
|
to get a result for ''test query''\n\nThis is the expect criteria for your final
|
|
answer: The result from the dummy tool\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": "user", "content": "I should use the dummy tool
|
|
to get a result for ''test query''.\n\nAction: \ndummy_tool\n\nAction Input:
|
|
\n{\"query\": \"test query\"}\n\nObservation:\nObservation: Dummy result for:
|
|
test query"}], "model": "gpt-3.5-turbo"}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1609'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- _cfuvid=ntPBCCgVUz_nq5Umsn4Dh2nras_FFFm.Om6wrSeiU00-1727053206899-0.0.1.1-604800000;
|
|
__cf_bm=FPv5AG0QfMct7pC4bGELrm0mofIR9eOmKbA9ZOBKH1A-1727054187-1.0.1.1-yGihcpK8XfnbQp9TshK.R3aGtK0umkkBzW1cEJ4BUaLxTvhxuQ3Bd7zP14Qol_FycSsfzHXZoM_upbtrAH5EtQ
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.47.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.47.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-AARyetCGaZezXJxRa6LAmYL8UMQiI\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1727054188,\n \"model\": \"gpt-3.5-turbo-0125\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"Final Answer: Dummy result for: test
|
|
query\",\n \"refusal\": null\n },\n \"logprobs\": null,\n \"finish_reason\":
|
|
\"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 343,\n \"completion_tokens\":
|
|
9,\n \"total_tokens\": 352,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
|
0\n }\n },\n \"system_fingerprint\": null\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c76b082bc53a658-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Mon, 23 Sep 2024 01:16:28 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '172'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15552000; includeSubDomains; preload
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '50000000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '49999624'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_9f59c353b6d763db5393356e52f0ceaa
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
version: 1
|