From aa9f35bdbcd3fa30dcc75b2040b03547bc09d2a7 Mon Sep 17 00:00:00 2001 From: Eduardo Chiarotti Date: Fri, 11 Apr 2025 13:06:09 -0300 Subject: [PATCH] feat: remove cassete --- .../test_tool_execution_error_event.yaml | 112 ------------------ 1 file changed, 112 deletions(-) delete mode 100644 tests/cassettes/test_tool_execution_error_event.yaml diff --git a/tests/cassettes/test_tool_execution_error_event.yaml b/tests/cassettes/test_tool_execution_error_event.yaml deleted file mode 100644 index 61583726a..000000000 --- a/tests/cassettes/test_tool_execution_error_event.yaml +++ /dev/null @@ -1,112 +0,0 @@ -interactions: -- request: - body: '{"messages": [{"role": "user", "content": "Use the failing tool"}], "model": - "gpt-4o-mini", "stop": [], "tools": [{"type": "function", "function": {"name": - "failing_tool", "description": "This tool always fails.", "parameters": {"type": - "object", "properties": {"param": {"type": "string", "description": "A test - parameter"}}, "required": ["param"]}}}]}' - headers: - accept: - - application/json - accept-encoding: - - gzip, deflate - connection: - - keep-alive - content-length: - - '353' - content-type: - - application/json - host: - - api.openai.com - user-agent: - - OpenAI/Python 1.61.0 - x-stainless-arch: - - arm64 - x-stainless-async: - - 'false' - x-stainless-lang: - - python - x-stainless-os: - - MacOS - x-stainless-package-version: - - 1.61.0 - x-stainless-raw-response: - - 'true' - x-stainless-retry-count: - - '0' - x-stainless-runtime: - - CPython - x-stainless-runtime-version: - - 3.12.8 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - content: "{\n \"id\": \"chatcmpl-B2P4zoJZuES7Aom8ugEq1modz5Vsl\",\n \"object\": - \"chat.completion\",\n \"created\": 1739912761,\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_F6fJxISpMKUBIGV6dd2vjRNG\",\n \"type\": - \"function\",\n \"function\": {\n \"name\": \"failing_tool\",\n - \ \"arguments\": \"{\\\"param\\\":\\\"test\\\"}\"\n }\n - \ }\n ],\n \"refusal\": null\n },\n \"logprobs\": - null,\n \"finish_reason\": \"tool_calls\"\n }\n ],\n \"usage\": {\n - \ \"prompt_tokens\": 51,\n \"completion_tokens\": 15,\n \"total_tokens\": - 66,\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 \"service_tier\": \"default\",\n \"system_fingerprint\": - \"fp_00428b782a\"\n}\n" - headers: - CF-RAY: - - 9140fa827f38eb1e-SJC - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Tue, 18 Feb 2025 21:06:02 GMT - Server: - - cloudflare - Set-Cookie: - - __cf_bm=xbuu3IQpCMh.43ZrqL1TRMECOc6QldgHV0hzOX1GrWI-1739912762-1.0.1.1-t7iyq5xMioPrwfeaHLvPT9rwRPp7Q9A9uIm69icH9dPxRD4xMA3cWqb1aXj1_e2IyAEQQWFe1UWjlmJ22aHh3Q; - path=/; expires=Tue, 18-Feb-25 21:36:02 GMT; domain=.api.openai.com; HttpOnly; - Secure; SameSite=None - - _cfuvid=x9l.Rhja8_wXDN.j8qcEU1PvvEqAwZp4Fd3s_aj4qwM-1739912762161-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 - cf-cache-status: - - DYNAMIC - openai-organization: - - crewai-iuxna1 - openai-processing-ms: - - '861' - 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: - - '149999978' - x-ratelimit-reset-requests: - - 2ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_8666ec3aa6677cb346ba00993556051d - http_version: HTTP/1.1 - status_code: 200 -version: 1