Files
crewAI/tests/cassettes/test_agent_execution_with_specific_tools.yaml
2023-11-10 18:15:45 -03:00

304 lines
12 KiB
YAML

interactions:
- request:
body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour
personal goal is: test goal\nTOOLS:\n------\n\nYou have access to the following
tools:\n\nmultiplier: multiplier(numbers) -> float - Useful for when you need
to multiply two numbers together. \n\t\t\tThe input to this tool should be a
comma separated list of numbers of \n\t\t\tlength two, representing the two
numbers you want to multiply together. \n\t\t\tFor example, `1,2` would be the
input if you wanted to multiply 1 by 2.\n\nTo use a tool, please use the following
format:\n\n```\nThought: Do I need to use a tool? Yes\nAction: the action to
take, should be one of [multiplier]\nAction Input: the input to the action\nObservation:
the result of the action\n```\n\nWhen you have a response for your task, or
if you do not need to use a tool, you MUST use the format:\n\n```\nThought:
Do I need to use a tool? No\nFinal Answer: [your response here]\n```\n\t\tThis
is the summary of your work so far:\n \nBegin! This is VERY important
to you, your job depends on it!\n\nCurrent Task: What is 3 times 4\n\n"}], "model":
"gpt-4", "max_tokens": null, "stream": false, "n": 1, "temperature": 0.7, "stop":
["\nObservation"]}'
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer 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
Connection:
- keep-alive
Content-Length:
- '1217'
Content-Type:
- application/json
User-Agent:
- OpenAI/v1 PythonBindings/0.28.1
X-OpenAI-Client-User-Agent:
- '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version":
"3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai",
"uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17
PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}'
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
body:
string: !!binary |
H4sIAAAAAAAAA1RQy2rDMBC8+ysWnZ1SN66JfSmBQHEOSaFpIW1KUORtrFbWCmsNgZB/L3Kevexh
ZmdnZvcRgNCVKECoWrJqnBmMpq9Juix3i810+TEr1aae5W8vz+P5/H3SijgoaPODis+qO0WNM8ia
7JFWLUrGcDXJ8jxLsywZ9URDFZog2zoepIP7LBmeFDVphV4U8BkBAOz7GbLZCneigPv4jDTovdyi
KC5LAKIlExAhvdeepWURX0lFltH2cRc1dduaC5gQlGARK2CCziNIYCLzBEv0KztWoUwBTWdYO6Ox
PWNQWtdxAcM4XVlx8jhcwn1rq329blF6ssHQM7nj2iEC+OrLdv/yC9dS43jN9Is2fODhMT/eE9e/
3rDpiWRiaW7w0TAKJofoDwAA//8DAHj9RNPUAQAA
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8240e667dda81d40-GIG
Cache-Control:
- no-cache, must-revalidate
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Fri, 10 Nov 2023 20:03:40 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=qYjHtObHmnuj7bUr95x9cwbTcVmcUYOIypCLBKdVYs4-1699646620-0-AQeu11iFH6nTGNmgj6ZfcaJImCKZh6t5u20SP71vsQESEAE6zlxJ6ZkKJQmIkv3sR37LF/PKPhzLydE3f+srokY=;
path=/; expires=Fri, 10-Nov-23 20:33:40 GMT; domain=.api.openai.com; HttpOnly;
Secure; SameSite=None
Transfer-Encoding:
- chunked
access-control-allow-origin:
- '*'
alt-svc:
- h3=":443"; ma=86400
openai-model:
- gpt-4-0613
openai-organization:
- clearbit-2
openai-processing-ms:
- '1274'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15724800; includeSubDomains
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '300000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '299729'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 54ms
x-request-id:
- dc4e4c53dc93ab456ba5f5f66282131f
status:
code: 200
message: OK
- request:
body: '{"messages": [{"role": "user", "content": "You are test role.\ntest backstory\n\nYour
personal goal is: test goal\nTOOLS:\n------\n\nYou have access to the following
tools:\n\nmultiplier: multiplier(numbers) -> float - Useful for when you need
to multiply two numbers together. \n\t\t\tThe input to this tool should be a
comma separated list of numbers of \n\t\t\tlength two, representing the two
numbers you want to multiply together. \n\t\t\tFor example, `1,2` would be the
input if you wanted to multiply 1 by 2.\n\nTo use a tool, please use the following
format:\n\n```\nThought: Do I need to use a tool? Yes\nAction: the action to
take, should be one of [multiplier]\nAction Input: the input to the action\nObservation:
the result of the action\n```\n\nWhen you have a response for your task, or
if you do not need to use a tool, you MUST use the format:\n\n```\nThought:
Do I need to use a tool? No\nFinal Answer: [your response here]\n```\n\t\tThis
is the summary of your work so far:\n \nBegin! This is VERY important
to you, your job depends on it!\n\nCurrent Task: What is 3 times 4\nThought:
Do I need to use a tool? Yes\nAction: multiplier\nAction Input: 3,4\n\nObservation:
multiplier is not a valid tool, try one of [].\nThought: \n"}], "model": "gpt-4",
"max_tokens": null, "stream": false, "n": 1, "temperature": 0.7, "stop": ["\nObservation"]}'
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer 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
Connection:
- keep-alive
Content-Length:
- '1367'
Content-Type:
- application/json
Cookie:
- __cf_bm=qYjHtObHmnuj7bUr95x9cwbTcVmcUYOIypCLBKdVYs4-1699646620-0-AQeu11iFH6nTGNmgj6ZfcaJImCKZh6t5u20SP71vsQESEAE6zlxJ6ZkKJQmIkv3sR37LF/PKPhzLydE3f+srokY=
User-Agent:
- OpenAI/v1 PythonBindings/0.28.1
X-OpenAI-Client-User-Agent:
- '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version":
"3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai",
"uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17
PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}'
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
body:
string: !!binary |
H4sIAAAAAAAAA1SRS2/bMBCE7/oVA15ysQ3LsoVGlyJAUMQ9pK8UPTRBQElbizEfKncVpw383wvK
TtxcCHBnvuVw9zkDlGlVBdV0WhrX2+m7j9/y8lNx+bD6emWK1bWtzffVzfbvj4vPX+ZqkohQP1Aj
L9SsCa63JCb4g9xE0kKpa16en5fLslzMR8GFlmzCNr1Ml9N5mRdHogumIVYVfmYA8DyeKZtv6UlV
GPmx4ohZb0hVryZAxWBTRWlmw6K9qMlJbIIX8mPcm44igYkcQwJqgoZLxJZmWGOnGfTUUyPGb5Jh
4OSQEGy6ucGK6e0fSEfwg6sp8gT1IDAC3fekIyct0hlDe1CMIUL7dgTGLob9mUA/amN1bWmGq7Cj
R4oTrLH1YQfptKCAGEeMJej3oC0jX8xu/WXAGp6ofZvsPa7Drf9gvLa48LyjWCFfqOP/96+D+2W8
4e4+kubg0zBYQn+w7TPgblzE8Ga2qo/B9XIvYUs+baeY54d+6rTzk1oujqIE0fY/qiyy9Mg++wcA
AP//AwAOHyo+cAIAAA==
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8240e671495c1d40-GIG
Cache-Control:
- no-cache, must-revalidate
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Fri, 10 Nov 2023 20:03:44 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
access-control-allow-origin:
- '*'
alt-svc:
- h3=":443"; ma=86400
openai-model:
- gpt-4-0613
openai-organization:
- clearbit-2
openai-processing-ms:
- '3513'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15724800; includeSubDomains
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '300000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '299693'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 61ms
x-request-id:
- 4a2658b98a181b090c362f6ce027ab4b
status:
code: 200
message: OK
- request:
body: '{"messages": [{"role": "user", "content": "Progressively summarize the
lines of conversation provided, adding onto the previous summary returning a
new summary.\n\nEXAMPLE\nCurrent summary:\nThe human asks what the AI thinks
of artificial intelligence. The AI thinks artificial intelligence is a force
for good.\n\nNew lines of conversation:\nHuman: Why do you think artificial
intelligence is a force for good?\nAI: Because artificial intelligence will
help humans reach their full potential.\n\nNew summary:\nThe human asks what
the AI thinks of artificial intelligence. The AI thinks artificial intelligence
is a force for good because it will help humans reach their full potential.\nEND
OF EXAMPLE\n\nCurrent summary:\n\n\nNew lines of conversation:\nHuman: What
is 3 times 4\nAI: 12\n\nNew summary:"}], "model": "gpt-4", "max_tokens": null,
"stream": false, "n": 1, "temperature": 0.7}'
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer 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
Connection:
- keep-alive
Content-Length:
- '891'
Content-Type:
- application/json
Cookie:
- __cf_bm=qYjHtObHmnuj7bUr95x9cwbTcVmcUYOIypCLBKdVYs4-1699646620-0-AQeu11iFH6nTGNmgj6ZfcaJImCKZh6t5u20SP71vsQESEAE6zlxJ6ZkKJQmIkv3sR37LF/PKPhzLydE3f+srokY=
User-Agent:
- OpenAI/v1 PythonBindings/0.28.1
X-OpenAI-Client-User-Agent:
- '{"bindings_version": "0.28.1", "httplib": "requests", "lang": "python", "lang_version":
"3.9.7", "platform": "macOS-10.16-x86_64-i386-64bit", "publisher": "openai",
"uname": "Darwin 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17
PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64"}'
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
body:
string: !!binary |
H4sIAAAAAAAAA1SQT0/DMAzF7/0UVs7dtG6lsN4GCI0dJiQQEkJoylKzhjZxlHgaY9p3R+n+wcWH
9/Ozn71LAISuRAlC1ZKVcW3vZvacTWY/d3PVIMm3e5y+TR/o9nXerPhJpNFByy9UfHL1FRnXImuy
B6w8SsY4NSvG4yIvimHeAUMVttG2ctzLe4MiGx0dNWmFQZTwngAA7Loas9kKv0UJg/SkGAxBrlCU
5yYA4amNipAh6MDSskgvUJFltF3clxqhXhtpQYYmANcIk0dgArNuWbt2CyNYbiFPQdrqhD0GR7YK
sNFcd6Ii71ExSBs26FPIhn1x3Lc/B/3UVod64VEGsnF5YHKHtn0C8NEdvv53i3CejOMFU4M2fiPL
x4d54vLjCx1eHSETy/aP6zpP4pJ98gsAAP//AwA0pTz34AEAAA==
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8240e688ca6e1d40-GIG
Cache-Control:
- no-cache, must-revalidate
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Fri, 10 Nov 2023 20:03:45 GMT
Server:
- cloudflare
Transfer-Encoding:
- chunked
access-control-allow-origin:
- '*'
alt-svc:
- h3=":443"; ma=86400
openai-model:
- gpt-4-0613
openai-organization:
- clearbit-2
openai-processing-ms:
- '1515'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15724800; includeSubDomains
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '300000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '299797'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 40ms
x-request-id:
- 76574b94ab5a1c54d1ac4d372a830eb9
status:
code: 200
message: OK
version: 1