Skip to content

Commit

Permalink
added new recordings
Browse files Browse the repository at this point in the history
  • Loading branch information
bhancockio committed Jan 15, 2025
1 parent 5d78eb4 commit 6f7e7b0
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 1,351 deletions.
24 changes: 13 additions & 11 deletions tests/utilities/cassettes/test_convert_with_instructions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-Aq3egXdT4xiwXgCsYQ6N0nkUDHbFC\",\n \"object\":
\"chat.completion\",\n \"created\": 1736970470,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n
content: "{\n \"id\": \"chatcmpl-Aq4Nc00REwaihVvQJvmsWqCkoBiFE\",\n \"object\":
\"chat.completion\",\n \"created\": 1736973256,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": null,\n \"tool_calls\": [\n {\n
\ \"id\": \"call_O7sGToiWaNK4ajCLfIQ06t7e\",\n \"type\":
\ \"id\": \"call_ztZbQYIBZhAg7cymmyuDYTEw\",\n \"type\":
\"function\",\n \"function\": {\n \"name\": \"SimpleModel\",\n
\ \"arguments\": \"{\\\"name\\\":\\\"Alice\\\",\\\"age\\\":30}\"\n
\ }\n }\n ],\n \"refusal\": null\n },\n
Expand All @@ -57,38 +57,40 @@ interactions:
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 \"service_tier\":
\"default\",\n \"system_fingerprint\": \"fp_bd83329f63\"\n}\n"
\"default\",\n \"system_fingerprint\": \"fp_81274e7ad2\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 9028613d5c696768-ATL
- 9028a5463fc453b9-ATL
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Wed, 15 Jan 2025 19:47:50 GMT
- Wed, 15 Jan 2025 20:34:18 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=iUW9E8OmkKZ2nhAjW.ziX119ocQUwzrTJnhoBaor9bc-1736970470-1.0.1.1-lfjOTfd_J.D_c6jXtYbr5cjteE24ZVWTZetAyB_UakxO10fvb6vdmdr8I5VBwzsRPOFNCokweMI5OOkcZv13.A;
path=/; expires=Wed, 15-Jan-25 20:17:50 GMT; domain=.api.openai.com; HttpOnly;
- __cf_bm=uSIWh8Jg4b2tBYf.jaBCB6ThRzx2SW..tEamEq3gcCw-1736973258-1.0.1.1-dv0wzzSlT9r7a5FLAkY5jUeGv7L3R_antq6dwp.PBSb.Ksvm6aHZE6In349ILXjsLUUKampjlS.WvCWcpfYxsg;
path=/; expires=Wed, 15-Jan-25 21:04:18 GMT; domain=.api.openai.com; HttpOnly;
Secure; SameSite=None
- _cfuvid=v5UoY27cu_inHKOe8kFZcJ354xnY2tWMBIq2lNaLlsM-1736970470409-0.0.1.1-604800000;
- _cfuvid=fZYlufN0dvSGPKSAgyu.0581SaS5uTBcVOZNV15R8Y0-1736973258109-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:
- '349'
- '1332'
openai-version:
- '2020-10-01'
strict-transport-security:
Expand All @@ -106,7 +108,7 @@ interactions:
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_79991c86e6dbde27fea42cec0d153179
- req_ad6a2b36005d2c9e22f81a9c941b68b3
http_version: HTTP/1.1
status_code: 200
version: 1
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ interactions:
method: POST
uri: http://localhost:11434/api/generate
response:
content: '{"model":"llama3.1","created_at":"2025-01-15T19:47:36.690266Z","response":"{\"name\":
\"SimpleModel\", \"arguments\":{\"name\": \"Alice Llama\", \"age\": 30}}","done":true,"done_reason":"stop","context":[128006,882,128007,271,14711,2724,512,678,25,30505,445,81101,11,13381,25,220,966,271,14711,744,512,1360,13677,4823,32090,27785,0,2467,6881,311,420,3645,5324,609,794,330,1723,1292,498,330,16774,23118,14819,1292,794,330,14819,3220,32075,578,2768,5865,527,2561,311,499,512,13922,1337,1232,364,1723,518,364,1723,1232,5473,609,1232,364,16778,1747,518,364,4789,1232,364,34192,398,28532,1595,16778,1747,63,449,682,279,2631,5137,449,4495,4595,518,364,14105,1232,5473,13495,1232,5473,609,1232,5473,2150,1232,364,678,518,364,1337,1232,364,928,25762,364,425,1232,5473,2150,1232,364,17166,518,364,1337,1232,364,11924,8439,2186,364,6413,1232,2570,425,518,364,609,4181,364,1337,1232,364,1735,23742,3818,128009,128006,78191,128007,271,5018,609,794,330,16778,1747,498,330,16774,23118,609,794,330,62786,445,81101,498,330,425,794,220,966,3500],"total_duration":3821712583,"load_duration":26140000,"prompt_eval_count":152,"prompt_eval_duration":3069000000,"eval_count":24,"eval_duration":725000000}'
content: '{"model":"llama3.1","created_at":"2025-01-15T20:34:30.753761Z","response":"{\"name\":
\"SimpleModel\", \"arguments\":{\"name\": \"Alice Llama\", \"age\": 30}}","done":true,"done_reason":"stop","context":[128006,882,128007,271,14711,2724,512,678,25,30505,445,81101,11,13381,25,220,966,271,14711,744,512,1360,13677,4823,32090,27785,0,2467,6881,311,420,3645,5324,609,794,330,1723,1292,498,330,16774,23118,14819,1292,794,330,14819,3220,32075,578,2768,5865,527,2561,311,499,512,13922,1337,1232,364,1723,518,364,1723,1232,5473,609,1232,364,16778,1747,518,364,4789,1232,364,34192,398,28532,1595,16778,1747,63,449,682,279,2631,5137,449,4495,4595,518,364,14105,1232,5473,13495,1232,5473,609,1232,5473,2150,1232,364,678,518,364,1337,1232,364,928,25762,364,425,1232,5473,2150,1232,364,17166,518,364,1337,1232,364,11924,8439,2186,364,6413,1232,2570,425,518,364,609,4181,364,1337,1232,364,1735,23742,3818,128009,128006,78191,128007,271,5018,609,794,330,16778,1747,498,330,16774,23118,609,794,330,62786,445,81101,498,330,425,794,220,966,3500],"total_duration":4538411375,"load_duration":809985875,"prompt_eval_count":152,"prompt_eval_duration":2994000000,"eval_count":24,"eval_duration":733000000}'
headers:
Content-Length:
- '1182'
- '1183'
Content-Type:
- application/json; charset=utf-8
Date:
- Wed, 15 Jan 2025 19:47:36 GMT
- Wed, 15 Jan 2025 20:34:31 GMT
http_version: HTTP/1.1
status_code: 200
- request:
Expand Down Expand Up @@ -424,7 +424,7 @@ interactions:
Content-Type:
- application/json; charset=utf-8
Date:
- Wed, 15 Jan 2025 19:47:36 GMT
- Wed, 15 Jan 2025 20:34:31 GMT
Transfer-Encoding:
- chunked
http_version: HTTP/1.1
Expand Down Expand Up @@ -817,7 +817,7 @@ interactions:
Content-Type:
- application/json; charset=utf-8
Date:
- Wed, 15 Jan 2025 19:47:36 GMT
- Wed, 15 Jan 2025 20:34:31 GMT
Transfer-Encoding:
- chunked
http_version: HTTP/1.1
Expand Down
Loading

0 comments on commit 6f7e7b0

Please sign in to comment.