From e9074dc29caec6960919f68bce783992b048e6ab Mon Sep 17 00:00:00 2001 From: Gal Kleinman Date: Sun, 30 Nov 2025 15:01:25 +0200 Subject: [PATCH 01/17] fix: agent name in ai-sdk span names when available --- .../src/lib/tracing/ai-sdk-transformations.ts | 23 ++++- .../test/ai-sdk-agent-integration.test.ts | 90 ++++++++++++++++++- 2 files changed, 106 insertions(+), 7 deletions(-) diff --git a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts index 37397442..0aa4122b 100644 --- a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts +++ b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts @@ -419,9 +419,13 @@ const transformTelemetryMetadata = ( // Set agent name on all spans for context attributes[SpanAttributes.GEN_AI_AGENT_NAME] = agentName; - // Only set span kind to "agent" for the root AI span (run.ai) - // Note: At this point, span names have already been transformed - if (spanName === HANDLED_SPAN_NAMES[AI_GENERATE_TEXT]) { + // Only set span kind to "agent" for the root AI span + // Note: At this point, span names have already been transformed to use agent name, + // so we check if spanName matches the agent name OR the default "run.ai" name + if ( + spanName === HANDLED_SPAN_NAMES[AI_GENERATE_TEXT] || + spanName === agentName + ) { attributes[SpanAttributes.TRACELOOP_SPAN_KIND] = TraceloopSpanKindValues.AGENT; attributes[SpanAttributes.TRACELOOP_ENTITY_NAME] = agentName; @@ -484,7 +488,18 @@ export const transformAiSdkSpanNames = (span: Span): void => { span.updateName(`${span.attributes["ai.toolCall.name"] as string}.tool`); } if (span.name in HANDLED_SPAN_NAMES) { - span.updateName(HANDLED_SPAN_NAMES[span.name]); + // Check if this is a root AI span with agent metadata + const agentName = span.attributes[`${AI_TELEMETRY_METADATA_PREFIX}agent`]; + if ( + agentName && + typeof agentName === "string" && + span.name === AI_GENERATE_TEXT + ) { + // Use agent name for root AI spans instead of generic "run.ai" + span.updateName(agentName); + } else { + span.updateName(HANDLED_SPAN_NAMES[span.name]); + } } }; diff --git a/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts b/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts index 3f563336..ed5fc098 100644 --- a/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts +++ b/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts @@ -141,8 +141,8 @@ describe("Test AI SDK Agent Integration with Recording", function () { const spans = memoryExporter.getFinishedSpans(); - // Find the root AI span (run.ai) - const rootSpan = spans.find((span) => span.name === "run.ai"); + // Find the root AI span (should now be named with agent name) + const rootSpan = spans.find((span) => span.name === "test_calculator_agent"); // Find tool call span const toolSpan = spans.find((span) => span.name.endsWith(".tool")); @@ -153,7 +153,10 @@ describe("Test AI SDK Agent Integration with Recording", function () { ); assert.ok(result); - assert.ok(rootSpan, "Root AI span should exist"); + assert.ok( + rootSpan, + "Root AI span should exist and be named with agent name", + ); // Verify root span has agent attributes assert.strictEqual( @@ -230,4 +233,85 @@ describe("Test AI SDK Agent Integration with Recording", function () { ); } }); + + it("should use default 'run.ai' span name when no agent metadata is provided", async () => { + // Define a simple calculator tool + const calculate = tool({ + description: "Perform basic mathematical calculations", + inputSchema: z.object({ + operation: z + .enum(["add", "subtract", "multiply", "divide"]) + .describe("The mathematical operation to perform"), + a: z.number().describe("First number"), + b: z.number().describe("Second number"), + }), + execute: async ({ operation, a, b }) => { + let result: number; + switch (operation) { + case "add": + result = a + b; + break; + case "subtract": + result = a - b; + break; + case "multiply": + result = a * b; + break; + case "divide": + if (b === 0) throw new Error("Division by zero"); + result = a / b; + break; + } + return { operation, a, b, result }; + }, + }); + + const result = await traceloop.withWorkflow( + { name: "test_no_agent_workflow" }, + async () => { + return await generateText({ + model: vercel_openai("gpt-4o-mini"), + prompt: "Calculate 10 + 5 using the calculator tool", + tools: { + calculate, + }, + maxSteps: 5, + experimental_telemetry: { + isEnabled: true, + functionId: "test_function_no_agent", + // No agent metadata provided + metadata: { + sessionId: "test_session_no_agent", + }, + }, + }); + }, + ); + + // Force flush to ensure all spans are exported + await traceloop.forceFlush(); + + const spans = memoryExporter.getFinishedSpans(); + + // Find the root AI span (should be "run.ai" when no agent metadata) + const rootSpan = spans.find((span) => span.name === "run.ai"); + + assert.ok(result); + assert.ok( + rootSpan, + "Root AI span should exist and be named 'run.ai' when no agent metadata", + ); + + // Verify root span does NOT have agent attributes + assert.strictEqual( + rootSpan.attributes[SpanAttributes.GEN_AI_AGENT_NAME], + undefined, + "Root span should not have agent name when no agent metadata", + ); + assert.strictEqual( + rootSpan.attributes[SpanAttributes.TRACELOOP_SPAN_KIND], + undefined, + "Root span should not have span kind when no agent metadata", + ); + }); }); From e9c9c0796f82499afffa506cf7edef375067323d Mon Sep 17 00:00:00 2001 From: Gal Kleinman Date: Sun, 30 Nov 2025 15:21:27 +0200 Subject: [PATCH 02/17] support other apis (stream, object..) --- .../recording.har | 64 +++-- .../recording.har | 36 +-- .../recording.har | 42 ++- .../recording.har | 134 ++-------- .../recording.har | 36 +-- .../recording.har | 248 ++---------------- .../recording.har | 24 +- .../recording.har | 42 +-- .../recording.har | 42 +-- .../recording.har | 42 +-- .../recording.har | 42 +-- .../recording.har | 86 +++--- .../recording.har | 86 +++--- .../recording.har | 42 +-- .../recording.har | 44 ++-- .../recording.har | 30 +-- .../recording.har | 42 +-- .../recording.har | 42 +-- .../recording.har | 84 +++--- .../src/lib/tracing/ai-sdk-transformations.ts | 43 ++- .../test/ai-sdk-agent-integration.test.ts | 119 ++++++++- 21 files changed, 636 insertions(+), 734 deletions(-) diff --git a/packages/traceloop-sdk/recordings/Attachment-API-Integration-Tests_3751859535/Dataset-with-File-Column_1881713521/should-create-a-dataset-with-file-column-type_3148476545/recording.har b/packages/traceloop-sdk/recordings/Attachment-API-Integration-Tests_3751859535/Dataset-with-File-Column_1881713521/should-create-a-dataset-with-file-column-type_3148476545/recording.har index 4b9b387a..822dc4c7 100644 --- a/packages/traceloop-sdk/recordings/Attachment-API-Integration-Tests_3751859535/Dataset-with-File-Column_1881713521/should-create-a-dataset-with-file-column-type_3148476545/recording.har +++ b/packages/traceloop-sdk/recordings/Attachment-API-Integration-Tests_3751859535/Dataset-with-File-Column_1881713521/should-create-a-dataset-with-file-column-type_3148476545/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "bc5d2be901fe10cae616d8d234872e03", + "_id": "b9c1c923e4565c0deb77174bf3e1c78f", "_order": 0, "cache": {}, "request": { @@ -21,10 +21,10 @@ }, { "name": "x-traceloop-sdk-version", - "value": "0.21.1" + "value": "0.22.0" } ], - "headersSize": 179, + "headersSize": 153, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -33,24 +33,32 @@ "text": "{\"name\":\"attachment-test-dataset\",\"description\":\"Dataset for testing attachments\"}" }, "queryString": [], - "url": "https://api.traceloop.dev/v2/datasets" + "url": "https://api.traceloop.com/v2/datasets" }, "response": { - "bodySize": 239, + "bodySize": 24, "content": { "mimeType": "application/json; charset=utf-8", - "size": 239, - "text": "{\"id\":\"cmieo347e000c01r7u2vdtwej\",\"slug\":\"attachment-test-dataset\",\"name\":\"attachment-test-dataset\",\"description\":\"Dataset for testing attachments\",\"created_at\":\"2025-11-25T14:24:34.82641967Z\",\"updated_at\":\"2025-11-25T14:24:34.826419742Z\"}" + "size": 24, + "text": "{\"error\":\"Unauthorized\"}" }, "cookies": [], "headers": [ + { + "name": "cf-cache-status", + "value": "DYNAMIC" + }, + { + "name": "cf-ray", + "value": "9a6a9fb569085591-TLV" + }, { "name": "connection", "value": "keep-alive" }, { "name": "content-length", - "value": "239" + "value": "24" }, { "name": "content-type", @@ -58,37 +66,53 @@ }, { "name": "date", - "value": "Tue, 25 Nov 2025 14:24:34 GMT" + "value": "Sun, 30 Nov 2025 13:17:14 GMT" + }, + { + "name": "permissions-policy", + "value": "geolocation=(self), microphone=()" + }, + { + "name": "referrer-policy", + "value": "strict-origin-when-cross-origin" }, { "name": "server", - "value": "kong/3.9.1" + "value": "cloudflare" + }, + { + "name": "strict-transport-security", + "value": "max-age=7776000; includeSubDomains" }, { "name": "via", - "value": "1.1 kong/3.9.1" + "value": "kong/3.7.1" + }, + { + "name": "x-content-type", + "value": "nosniff" }, { "name": "x-kong-proxy-latency", - "value": "0" + "value": "1" }, { "name": "x-kong-request-id", - "value": "4bde520cc7b38e2952d1251065a38e5c" + "value": "9a2c2075f6186a0a916e017fb89ad118" }, { "name": "x-kong-upstream-latency", - "value": "10" + "value": "64" } ], - "headersSize": 279, + "headersSize": 523, "httpVersion": "HTTP/1.1", "redirectURL": "", - "status": 201, - "statusText": "Created" + "status": 401, + "statusText": "Unauthorized" }, - "startedDateTime": "2025-11-25T14:24:34.356Z", - "time": 510, + "startedDateTime": "2025-11-30T13:17:14.351Z", + "time": 381, "timings": { "blocked": -1, "connect": -1, @@ -96,7 +120,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 510 + "wait": 381 } } ], diff --git a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Dataset-Management_51424618/should-create-a-new-dataset_1486295619/recording.har b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Dataset-Management_51424618/should-create-a-new-dataset_1486295619/recording.har index 3c2561dc..44912d01 100644 --- a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Dataset-Management_51424618/should-create-a-new-dataset_1486295619/recording.har +++ b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Dataset-Management_51424618/should-create-a-new-dataset_1486295619/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "c61ad1b324102e2a19b32ee8edf51fdc", + "_id": "a373cc75aa1042b55206bd15f73d7ccc", "_order": 0, "cache": {}, "request": { @@ -21,10 +21,10 @@ }, { "name": "x-traceloop-sdk-version", - "value": "0.18.0" + "value": "0.22.0" } ], - "headersSize": 187, + "headersSize": 153, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -33,14 +33,14 @@ "text": "{\"name\":\"test-dataset-comprehensive-example\",\"description\":\"Comprehensive test dataset\"}" }, "queryString": [], - "url": "https://api-staging.traceloop.com/v2/datasets" + "url": "https://api.traceloop.com/v2/datasets" }, "response": { - "bodySize": 257, + "bodySize": 24, "content": { "mimeType": "application/json; charset=utf-8", - "size": 257, - "text": "{\"id\":\"cmeq8geha009d01y1ds0iolty\",\"slug\":\"test-dataset-comprehensive-example\",\"name\":\"test-dataset-comprehensive-example\",\"description\":\"Comprehensive test dataset\",\"created_at\":\"2025-08-24T22:01:25.582681494Z\",\"updated_at\":\"2025-08-24T22:01:25.582681546Z\"}" + "size": 24, + "text": "{\"error\":\"Unauthorized\"}" }, "cookies": [], "headers": [ @@ -50,7 +50,7 @@ }, { "name": "cf-ray", - "value": "974620cc4bb07d95-TLV" + "value": "9a6a9fb7cb5b5591-TLV" }, { "name": "connection", @@ -58,7 +58,7 @@ }, { "name": "content-length", - "value": "257" + "value": "24" }, { "name": "content-type", @@ -66,7 +66,7 @@ }, { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:25 GMT" + "value": "Sun, 30 Nov 2025 13:17:15 GMT" }, { "name": "permissions-policy", @@ -98,21 +98,21 @@ }, { "name": "x-kong-request-id", - "value": "a6bcde7721f9e35053cd4171dc70cd14" + "value": "ca3a2119c4c7930cb02fdc7180abd342" }, { "name": "x-kong-upstream-latency", - "value": "10" + "value": "66" } ], - "headersSize": 524, + "headersSize": 523, "httpVersion": "HTTP/1.1", "redirectURL": "", - "status": 201, - "statusText": "Created" + "status": 401, + "statusText": "Unauthorized" }, - "startedDateTime": "2025-08-24T22:01:24.966Z", - "time": 534, + "startedDateTime": "2025-11-30T13:17:14.750Z", + "time": 238, "timings": { "blocked": -1, "connect": -1, @@ -120,7 +120,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 534 + "wait": 238 } } ], diff --git a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Dataset-Management_51424618/should-list-all-datasets_3088053986/recording.har b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Dataset-Management_51424618/should-list-all-datasets_3088053986/recording.har index 01986626..4eb99c77 100644 --- a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Dataset-Management_51424618/should-list-all-datasets_3088053986/recording.har +++ b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Dataset-Management_51424618/should-list-all-datasets_3088053986/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "6cb81e217939a9af17d3f1a123e11305", + "_id": "5f73d6487401f49824b0b1b65d37a5bd", "_order": 0, "cache": {}, "request": { @@ -17,21 +17,21 @@ "headers": [ { "name": "x-traceloop-sdk-version", - "value": "0.18.0" + "value": "0.22.0" } ], - "headersSize": 154, + "headersSize": 120, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://api-staging.traceloop.com/v2/datasets" + "url": "https://api.traceloop.com/v2/datasets" }, "response": { - "bodySize": 792, + "bodySize": 24, "content": { "mimeType": "application/json; charset=utf-8", - "size": 792, - "text": "{\"datasets\":[{\"id\":\"cmeq8geha009d01y1ds0iolty\",\"slug\":\"test-dataset-comprehensive-example\",\"name\":\"test-dataset-comprehensive-example\",\"description\":\"Comprehensive test dataset\",\"created_at\":\"2025-08-24T22:01:25.583Z\",\"updated_at\":\"2025-08-24T22:01:25.583Z\"},{\"id\":\"cmekarus5002k01ubv61xdf2i\",\"slug\":\"nirs-test\",\"name\":\"Nir's Test\",\"created_at\":\"2025-08-20T18:19:42.101Z\",\"updated_at\":\"2025-08-20T18:20:26.028Z\"},{\"id\":\"cmejyif12000701ub4aau7usr\",\"slug\":\"questions-with-sentiment\",\"name\":\"Questions with Sentiment\",\"created_at\":\"2025-08-20T12:36:26.391Z\",\"updated_at\":\"2025-08-20T12:36:40.742Z\"},{\"id\":\"cmejpwwqy000001wwm6aq8xh5\",\"slug\":\"travel-planning-questions\",\"name\":\"Travel Planning Questions\",\"created_at\":\"2025-08-20T08:35:45.994Z\",\"updated_at\":\"2025-08-20T18:18:24.496Z\"}],\"total\":4}" + "size": 24, + "text": "{\"error\":\"Unauthorized\"}" }, "cookies": [], "headers": [ @@ -41,15 +41,15 @@ }, { "name": "cf-ray", - "value": "974620cf8cf67d95-TLV" + "value": "9a6a9fb94cc25591-TLV" }, { "name": "connection", "value": "keep-alive" }, { - "name": "content-encoding", - "value": "gzip" + "name": "content-length", + "value": "24" }, { "name": "content-type", @@ -57,7 +57,7 @@ }, { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:25 GMT" + "value": "Sun, 30 Nov 2025 13:17:15 GMT" }, { "name": "permissions-policy", @@ -75,10 +75,6 @@ "name": "strict-transport-security", "value": "max-age=7776000; includeSubDomains" }, - { - "name": "transfer-encoding", - "value": "chunked" - }, { "name": "via", "value": "kong/3.7.1" @@ -93,21 +89,21 @@ }, { "name": "x-kong-request-id", - "value": "5cea4f2c7320342c64be4e335371ee1a" + "value": "e186270a7cc83d62e174ca5c503cdc70" }, { "name": "x-kong-upstream-latency", - "value": "6" + "value": "112" } ], - "headersSize": 554, + "headersSize": 524, "httpVersion": "HTTP/1.1", "redirectURL": "", - "status": 200, - "statusText": "OK" + "status": 401, + "statusText": "Unauthorized" }, - "startedDateTime": "2025-08-24T22:01:25.504Z", - "time": 183, + "startedDateTime": "2025-11-30T13:17:14.991Z", + "time": 281, "timings": { "blocked": -1, "connect": -1, @@ -115,7 +111,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 183 + "wait": 281 } } ], diff --git a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-column-data_784587577/recording.har b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-column-data_784587577/recording.har index 37d03728..5e2fa851 100644 --- a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-column-data_784587577/recording.har +++ b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-column-data_784587577/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "74469a1ef8227c1068444b431ef0a976", + "_id": "5379b21abf37c52ba29cd399aa522b3e", "_order": 0, "cache": {}, "request": { @@ -21,10 +21,10 @@ }, { "name": "x-traceloop-sdk-version", - "value": "0.18.0" + "value": "0.22.0" } ], - "headersSize": 187, + "headersSize": 153, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -33,14 +33,14 @@ "text": "{\"name\":\"error-test-1234\",\"description\":\"Temporary dataset for error testing\"}" }, "queryString": [], - "url": "https://api-staging.traceloop.com/v2/datasets" + "url": "https://api.traceloop.com/v2/datasets" }, "response": { - "bodySize": 228, + "bodySize": 24, "content": { "mimeType": "application/json; charset=utf-8", - "size": 228, - "text": "{\"id\":\"cmeq8gm6k009m01y146v31efd\",\"slug\":\"error-test-1234\",\"name\":\"error-test-1234\",\"description\":\"Temporary dataset for error testing\",\"created_at\":\"2025-08-24T22:01:35.564025174Z\",\"updated_at\":\"2025-08-24T22:01:35.564025228Z\"}" + "size": 24, + "text": "{\"error\":\"Unauthorized\"}" }, "cookies": [], "headers": [ @@ -50,7 +50,7 @@ }, { "name": "cf-ray", - "value": "9746210cbe547d95-TLV" + "value": "9a6a9fbca87d5591-TLV" }, { "name": "connection", @@ -58,7 +58,7 @@ }, { "name": "content-length", - "value": "228" + "value": "24" }, { "name": "content-type", @@ -66,7 +66,7 @@ }, { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:35 GMT" + "value": "Sun, 30 Nov 2025 13:17:15 GMT" }, { "name": "permissions-policy", @@ -94,25 +94,25 @@ }, { "name": "x-kong-proxy-latency", - "value": "1" + "value": "0" }, { "name": "x-kong-request-id", - "value": "54512d134223f56d6d983777c53f773a" + "value": "a03dcb5fe76f97334b0dfb5879a54059" }, { "name": "x-kong-upstream-latency", - "value": "7" + "value": "66" } ], "headersSize": 523, "httpVersion": "HTTP/1.1", "redirectURL": "", - "status": 201, - "statusText": "Created" + "status": 401, + "statusText": "Unauthorized" }, - "startedDateTime": "2025-08-24T22:01:35.294Z", - "time": 188, + "startedDateTime": "2025-11-30T13:17:15.536Z", + "time": 245, "timings": { "blocked": -1, "connect": -1, @@ -120,105 +120,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 188 - } - }, - { - "_id": "1db47fac6d8b759c651a339069302b13", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "name": "x-traceloop-sdk-version", - "value": "0.18.0" - } - ], - "headersSize": 173, - "httpVersion": "HTTP/1.1", - "method": "DELETE", - "queryString": [], - "url": "https://api-staging.traceloop.com/v2/datasets/error-test-1234" - }, - "response": { - "bodySize": 0, - "content": { - "mimeType": "text/plain", - "size": 0 - }, - "cookies": [], - "headers": [ - { - "name": "cf-cache-status", - "value": "DYNAMIC" - }, - { - "name": "cf-ray", - "value": "9746210e080e7d9e-TLV" - }, - { - "name": "connection", - "value": "keep-alive" - }, - { - "name": "date", - "value": "Sun, 24 Aug 2025 22:01:35 GMT" - }, - { - "name": "permissions-policy", - "value": "geolocation=(self), microphone=()" - }, - { - "name": "referrer-policy", - "value": "strict-origin-when-cross-origin" - }, - { - "name": "server", - "value": "cloudflare" - }, - { - "name": "strict-transport-security", - "value": "max-age=7776000; includeSubDomains" - }, - { - "name": "via", - "value": "kong/3.7.1" - }, - { - "name": "x-content-type", - "value": "nosniff" - }, - { - "name": "x-kong-proxy-latency", - "value": "1" - }, - { - "name": "x-kong-request-id", - "value": "9d0b0967a3a467478d1da66e915de04c" - }, - { - "name": "x-kong-upstream-latency", - "value": "8" - } - ], - "headersSize": 455, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 204, - "statusText": "No Content" - }, - "startedDateTime": "2025-08-24T22:01:35.483Z", - "time": 212, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 212 + "wait": 245 } } ], diff --git a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-dataset-slug_1145052198/recording.har b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-dataset-slug_1145052198/recording.har index 87838c80..30b7e7b6 100644 --- a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-dataset-slug_1145052198/recording.har +++ b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-dataset-slug_1145052198/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "4a0488462c3268c149b899c26a96bbcc", + "_id": "ab0dd872427fe1bd22966932d89f926f", "_order": 0, "cache": {}, "request": { @@ -17,21 +17,21 @@ "headers": [ { "name": "x-traceloop-sdk-version", - "value": "0.18.0" + "value": "0.22.0" } ], - "headersSize": 187, + "headersSize": 153, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://api-staging.traceloop.com/v2/datasets/invalid-slug-that-does-not-exist" + "url": "https://api.traceloop.com/v2/datasets/invalid-slug-that-does-not-exist" }, "response": { - "bodySize": 29, + "bodySize": 24, "content": { "mimeType": "application/json; charset=utf-8", - "size": 29, - "text": "{\"error\":\"Dataset not found\"}" + "size": 24, + "text": "{\"error\":\"Unauthorized\"}" }, "cookies": [], "headers": [ @@ -41,7 +41,7 @@ }, { "name": "cf-ray", - "value": "9746210b9dec7d95-TLV" + "value": "9a6a9fbb2ef85591-TLV" }, { "name": "connection", @@ -49,7 +49,7 @@ }, { "name": "content-length", - "value": "29" + "value": "24" }, { "name": "content-type", @@ -57,7 +57,7 @@ }, { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:35 GMT" + "value": "Sun, 30 Nov 2025 13:17:15 GMT" }, { "name": "permissions-policy", @@ -89,21 +89,21 @@ }, { "name": "x-kong-request-id", - "value": "1ee9960e5e85ff5c386ef102c4d0bf2d" + "value": "f2a93848abe8547367dcc50d14c65749" }, { "name": "x-kong-upstream-latency", - "value": "4" + "value": "66" } ], - "headersSize": 522, + "headersSize": 523, "httpVersion": "HTTP/1.1", "redirectURL": "", - "status": 404, - "statusText": "Not Found" + "status": 401, + "statusText": "Unauthorized" }, - "startedDateTime": "2025-08-24T22:01:35.110Z", - "time": 181, + "startedDateTime": "2025-11-30T13:17:15.296Z", + "time": 238, "timings": { "blocked": -1, "connect": -1, @@ -111,7 +111,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 181 + "wait": 238 } } ], diff --git a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-row-data_1860613701/recording.har b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-row-data_1860613701/recording.har index bee523bc..3fed5645 100644 --- a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-row-data_1860613701/recording.har +++ b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-row-data_1860613701/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "da8ef5e01299a18be64813fa6cb65ffd", + "_id": "06331f90ee133d8ca1b250204f0dfdeb", "_order": 0, "cache": {}, "request": { @@ -21,10 +21,10 @@ }, { "name": "x-traceloop-sdk-version", - "value": "0.18.0" + "value": "0.22.0" } ], - "headersSize": 187, + "headersSize": 153, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -33,14 +33,14 @@ "text": "{\"name\":\"error-test-5678\",\"description\":\"Temporary dataset for error testing\"}" }, "queryString": [], - "url": "https://api-staging.traceloop.com/v2/datasets" + "url": "https://api.traceloop.com/v2/datasets" }, "response": { - "bodySize": 228, + "bodySize": 24, "content": { "mimeType": "application/json; charset=utf-8", - "size": 228, - "text": "{\"id\":\"cmeq8gmhr009n01y1i92jfaj6\",\"slug\":\"error-test-5678\",\"name\":\"error-test-5678\",\"description\":\"Temporary dataset for error testing\",\"created_at\":\"2025-08-24T22:01:35.967221979Z\",\"updated_at\":\"2025-08-24T22:01:35.967222031Z\"}" + "size": 24, + "text": "{\"error\":\"Unauthorized\"}" }, "cookies": [], "headers": [ @@ -50,7 +50,7 @@ }, { "name": "cf-ray", - "value": "9746210f4f817d95-TLV" + "value": "9a6a9fbe3a415591-TLV" }, { "name": "connection", @@ -58,7 +58,7 @@ }, { "name": "content-length", - "value": "228" + "value": "24" }, { "name": "content-type", @@ -66,7 +66,7 @@ }, { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:36 GMT" + "value": "Sun, 30 Nov 2025 13:17:16 GMT" }, { "name": "permissions-policy", @@ -98,21 +98,21 @@ }, { "name": "x-kong-request-id", - "value": "6eac4b1371aadb051ac31c2dfa6d1378" + "value": "466b4968d4a4d002d5b1b7013eb15233" }, { "name": "x-kong-upstream-latency", - "value": "7" + "value": "64" } ], "headersSize": 523, "httpVersion": "HTTP/1.1", "redirectURL": "", - "status": 201, - "statusText": "Created" + "status": 401, + "statusText": "Unauthorized" }, - "startedDateTime": "2025-08-24T22:01:35.699Z", - "time": 181, + "startedDateTime": "2025-11-30T13:17:15.786Z", + "time": 233, "timings": { "blocked": -1, "connect": -1, @@ -120,221 +120,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 181 - } - }, - { - "_id": "dff9f7398b399cec5c0f79ea4dba6489", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 13, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json" - }, - { - "name": "x-traceloop-sdk-version", - "value": "0.18.0" - } - ], - "headersSize": 208, - "httpVersion": "HTTP/1.1", - "method": "POST", - "postData": { - "mimeType": "application/json", - "params": [], - "text": "{\"Rows\":[{}]}" - }, - "queryString": [], - "url": "https://api-staging.traceloop.com/v2/datasets/error-test-5678/rows" - }, - "response": { - "bodySize": 173, - "content": { - "mimeType": "application/json; charset=utf-8", - "size": 173, - "text": "{\"rows\":[{\"id\":\"cmeq8gmn9009o01y1c10fcqy1\",\"row_index\":1,\"values\":{},\"created_at\":\"2025-08-24T22:01:36.167838535Z\",\"updated_at\":\"2025-08-24T22:01:36.167838535Z\"}],\"total\":1}" - }, - "cookies": [], - "headers": [ - { - "name": "cf-cache-status", - "value": "DYNAMIC" - }, - { - "name": "cf-ray", - "value": "9746211069887d9e-TLV" - }, - { - "name": "connection", - "value": "keep-alive" - }, - { - "name": "content-length", - "value": "173" - }, - { - "name": "content-type", - "value": "application/json; charset=utf-8" - }, - { - "name": "date", - "value": "Sun, 24 Aug 2025 22:01:36 GMT" - }, - { - "name": "permissions-policy", - "value": "geolocation=(self), microphone=()" - }, - { - "name": "referrer-policy", - "value": "strict-origin-when-cross-origin" - }, - { - "name": "server", - "value": "cloudflare" - }, - { - "name": "strict-transport-security", - "value": "max-age=7776000; includeSubDomains" - }, - { - "name": "via", - "value": "kong/3.7.1" - }, - { - "name": "x-content-type", - "value": "nosniff" - }, - { - "name": "x-kong-proxy-latency", - "value": "5" - }, - { - "name": "x-kong-request-id", - "value": "150c644008c8885828ea5d175961ac1f" - }, - { - "name": "x-kong-upstream-latency", - "value": "15" - } - ], - "headersSize": 524, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 201, - "statusText": "Created" - }, - "startedDateTime": "2025-08-24T22:01:35.881Z", - "time": 202, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 202 - } - }, - { - "_id": "adb85903cf38ccc63344cc250b41009b", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 0, - "cookies": [], - "headers": [ - { - "name": "x-traceloop-sdk-version", - "value": "0.18.0" - } - ], - "headersSize": 173, - "httpVersion": "HTTP/1.1", - "method": "DELETE", - "queryString": [], - "url": "https://api-staging.traceloop.com/v2/datasets/error-test-5678" - }, - "response": { - "bodySize": 0, - "content": { - "mimeType": "text/plain", - "size": 0 - }, - "cookies": [], - "headers": [ - { - "name": "cf-cache-status", - "value": "DYNAMIC" - }, - { - "name": "cf-ray", - "value": "97462111b8b47d95-TLV" - }, - { - "name": "connection", - "value": "keep-alive" - }, - { - "name": "date", - "value": "Sun, 24 Aug 2025 22:01:36 GMT" - }, - { - "name": "permissions-policy", - "value": "geolocation=(self), microphone=()" - }, - { - "name": "referrer-policy", - "value": "strict-origin-when-cross-origin" - }, - { - "name": "server", - "value": "cloudflare" - }, - { - "name": "strict-transport-security", - "value": "max-age=7776000; includeSubDomains" - }, - { - "name": "via", - "value": "kong/3.7.1" - }, - { - "name": "x-content-type", - "value": "nosniff" - }, - { - "name": "x-kong-proxy-latency", - "value": "0" - }, - { - "name": "x-kong-request-id", - "value": "5e81b41d0f7c4b5b3fff7a1d4783714a" - }, - { - "name": "x-kong-upstream-latency", - "value": "9" - } - ], - "headersSize": 455, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 204, - "statusText": "No Content" - }, - "startedDateTime": "2025-08-24T22:01:36.085Z", - "time": 190, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 190 + "wait": 233 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-propagate-agent-name-to-tool-call-spans_3577231859/recording.har b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-propagate-agent-name-to-tool-call-spans_3577231859/recording.har index 2ab82c26..5ed945ca 100644 --- a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-propagate-agent-name-to-tool-call-spans_3577231859/recording.har +++ b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-propagate-agent-name-to-tool-call-spans_3577231859/recording.har @@ -20,7 +20,7 @@ "value": "application/json" } ], - "headersSize": 273, + "headersSize": 165, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -36,7 +36,7 @@ "content": { "mimeType": "application/json", "size": 2245, - "text": "{\n \"id\": \"resp_0e754fd2dd3ca4a000692453dad96881a2b18b96c11135ab3f\",\n \"object\": \"response\",\n \"created_at\": 1763988442,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"fc_0e754fd2dd3ca4a000692453dbc09881a2a3ba7ee0f18e00bd\",\n \"type\": \"function_call\",\n \"status\": \"completed\",\n \"arguments\": \"{\\\"operation\\\":\\\"add\\\",\\\"a\\\":5,\\\"b\\\":3}\",\n \"call_id\": \"call_SebJXbaRXHEV4MBI8sUrXIQ4\",\n \"name\": \"calculate\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [\n {\n \"type\": \"function\",\n \"description\": \"Perform basic mathematical calculations\",\n \"name\": \"calculate\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"operation\": {\n \"type\": \"string\",\n \"enum\": [\n \"add\",\n \"subtract\",\n \"multiply\",\n \"divide\"\n ],\n \"description\": \"The mathematical operation to perform\"\n },\n \"a\": {\n \"type\": \"number\",\n \"description\": \"First number\"\n },\n \"b\": {\n \"type\": \"number\",\n \"description\": \"Second number\"\n }\n },\n \"required\": [\n \"operation\",\n \"a\",\n \"b\"\n ],\n \"additionalProperties\": false\n },\n \"strict\": false\n }\n ],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 79,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 22,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 101\n },\n \"user\": null,\n \"metadata\": {}\n}" + "text": "{\n \"id\": \"resp_0800099546538bd000692c43cc0e788197b03824576220bce9\",\n \"object\": \"response\",\n \"created_at\": 1764508620,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"fc_0800099546538bd000692c43cccf2881978dfc3f980edd22ef\",\n \"type\": \"function_call\",\n \"status\": \"completed\",\n \"arguments\": \"{\\\"operation\\\":\\\"add\\\",\\\"a\\\":5,\\\"b\\\":3}\",\n \"call_id\": \"call_WsE1AAsoC9Q7gHadUVA6sdHR\",\n \"name\": \"calculate\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [\n {\n \"type\": \"function\",\n \"description\": \"Perform basic mathematical calculations\",\n \"name\": \"calculate\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"operation\": {\n \"type\": \"string\",\n \"enum\": [\n \"add\",\n \"subtract\",\n \"multiply\",\n \"divide\"\n ],\n \"description\": \"The mathematical operation to perform\"\n },\n \"a\": {\n \"type\": \"number\",\n \"description\": \"First number\"\n },\n \"b\": {\n \"type\": \"number\",\n \"description\": \"Second number\"\n }\n },\n \"required\": [\n \"operation\",\n \"a\",\n \"b\"\n ],\n \"additionalProperties\": false\n },\n \"strict\": false\n }\n ],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 79,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 22,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 101\n },\n \"user\": null,\n \"metadata\": {}\n}" }, "cookies": [ { @@ -46,7 +46,7 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "z_WEIpdzjXm_j82pEGjPUPhnguWZO_xLh5fJ5MhUC3U-1763988445029-0.0.1.1-604800000" + "value": "qtJPOD3.vwT8wm2H35H8Zuhl_B.VllH.C52..Ir7gC4-1764508622290-0.0.1.1-604800000" } ], "headers": [ @@ -60,7 +60,7 @@ }, { "name": "cf-ray", - "value": "9a3903b48d891f5a-TLV" + "value": "9a6a9f5aab0cc22c-TLV" }, { "name": "connection", @@ -76,7 +76,7 @@ }, { "name": "date", - "value": "Mon, 24 Nov 2025 12:47:25 GMT" + "value": "Sun, 30 Nov 2025 13:17:02 GMT" }, { "name": "openai-organization", @@ -84,7 +84,7 @@ }, { "name": "openai-processing-ms", - "value": "2132" + "value": "2165" }, { "name": "openai-project", @@ -100,7 +100,7 @@ }, { "name": "set-cookie", - "value": "_cfuvid=z_WEIpdzjXm_j82pEGjPUPhnguWZO_xLh5fJ5MhUC3U-1763988445029-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=qtJPOD3.vwT8wm2H35H8Zuhl_B.VllH.C52..Ir7gC4-1764508622290-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -116,7 +116,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "2135" + "value": "2167" }, { "name": "x-ratelimit-limit-requests", @@ -144,7 +144,7 @@ }, { "name": "x-request-id", - "value": "req_72a75431374546598089e1714e871c10" + "value": "req_ab79ba46612745b6a354ce51f1b257a0" } ], "headersSize": 958, @@ -153,8 +153,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-24T12:47:22.157Z", - "time": 2873, + "startedDateTime": "2025-11-30T13:16:59.831Z", + "time": 2388, "timings": { "blocked": -1, "connect": -1, @@ -162,7 +162,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 2873 + "wait": 2388 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-create-spans-for-agents-using-decoration-syntax_1932039671/recording.har b/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-create-spans-for-agents-using-decoration-syntax_1932039671/recording.har index e636d631..7d651b8f 100644 --- a/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-create-spans-for-agents-using-decoration-syntax_1932039671/recording.har +++ b/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-create-spans-for-agents-using-decoration-syntax_1932039671/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.11.1" + "value": "v20.19.5" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 583, + "headersSize": 475, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 651, + "bodySize": 630, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 651, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLLjhMxELzPVzS+cElWSdjsIxcE7AkOgIS0CLQa9dg9M816bK/dwxJW+XfkyWMSHhIXH7q6yt1V/VQAKDZqBUq3KLoLdvrm6ub8nf18k17Rdf1gq2jslw8/w+Pb2cPHWzXJDF99Iy171pn2XbAk7N0W1pFQKKvOL5cXs8vF1fXFAHTekM20Jsj0xdlyKn2s/HQ2Xyx3zNazpqRW8LUAAHga3jyjM/RDrWA22Vc6SgkbUqtDE4CK3uaKwpQ4CTpRkxHU3gm5Yezbdg2GDUhL8D6Q+0SWOpK4BstVxLiGKhLeQx/gkaUFlgQNR1tHJmdewmvS2CcCFtC+t8Y9F2jRGUuAEMliNiO1vKOjtSAtClTYNNjQs+OxItV9wmyL6609AtA5L1ulbMjdDtkcLLC+CdFX6TeqqtlxastImLzL6ybxQQ3opgC4G6zuT9xTIfouSCn+nobv5sutnBrDHcHFHhQvaMf6+S6eU7XSkCDbdBSV0qhbMiNzzBV7w/4IKI52/nOYv2lv92bX/I/8CGhNQciUIZJhfbrw2BYpn/6/2g4eDwOrRPE7ayqFKeYcDNXY2+1RqrROQl1Zs2sohsjDZeYci03xCwAA//8DAEaTkYeYAwAA\"]" + "size": 630, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLBbtswDL37KzidkyJZkq7LZcDWU9F2wDBga4fCkCXaViuJgkR3M4r8+yAnjd2tA3YxYD6+Jz4+PhUAwmixBaFaycoFO//UVvJq5frVjf6Zvqyv3VV/cZkubm/78/q7mGUGVfeo+Jl1osgFi2zI72EVUTJm1eW70/VmcXa6PBsARxptpjWB56uTzZy7WNF8sXy7OTBbMgqT2MKPAgDgafjmGb3GX2ILi9lzxWFKskGxPTYBiEg2V4RMySSWnsVsBBV5Rj+M/a3tQRsN3CJ8Dui/okWHHHvQ+IiWAkZoCKpID/gBPqKSXcLc3UMK6BmktfnXRHDksQfywFEq45s30ycj1l2S2bLvrJ0A0ntimVc2mL07ILujPUtNiFSlP6iiNt6ktowoE/lsJTEFMaC7AuBuWGP3YjMiRHKBS6YHHJ5bbvZyYgxuAr4/gEws7VhfrWevqJUaWRqbJjEIJVWLemSOmclOG5oAxcTz38O8pr33bXzzP/IjoBQGRl2GiNqol4bHtoj5rP/VdtzxMLBIGB+NwpINxpyDxlp2dn9wIvWJ0ZW18Q3GEM1wdTnHYlf8BgAA//8=\",\"AwAKjfXDdAMAAA==\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-08-24T22:31:37.000Z", + "expires": "2025-11-30T13:46:58.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": ".o0a7QV1g5p2PGVThh2GmiCx5a8.gEUKTV5wQkJcV2o-1756072897-1.0.1.1-p53oAolAr8UafMy5McpEJ9rhTr5Z82LsQPQVeQ5Wca5wKQEq9kaa9EnemekZ6_KBaRWxhl5F.Kf4qkjUGsFC5a3LGZVtl9qnhZompi2UvS0" + "value": "AILu5D.12P_R9uZDQjlblSJnb4Pl7FXp5r6XIcSD4j8-1764508618-1.0.1.1-mwUQ6M_eItylr9uIrKos_x77FQUYMl4PEB8e0s96D0.Dowqocdyl.iHqWELHxf8UEzByq6rk37YPMfcTOpRMsDZCvPiu2Xo.xSS1lDAVbro" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "YH._SGFPHKE16IZLGfcgZL0Vqk..kuHrGz0kglvAD94-1756072897170-0.0.1.1-604800000" + "value": "WD4vuTkl1zi6vjoqjanlAr201jgAO6Fcb1vWCY.5Awo-1764508618859-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:37 GMT" + "value": "Sun, 30 Nov 2025 13:16:58 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "334" + "value": "275" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "414" + "value": "425" }, { "name": "x-ratelimit-limit-requests", @@ -182,7 +182,11 @@ }, { "name": "x-request-id", - "value": "req_fc8ecede554a4503985a45721f1b8aa9" + "value": "req_d5fe6e791c374ea797677a111e1d56bf" + }, + { + "name": "x-openai-proxy-wasm", + "value": "v0.1" }, { "name": "cf-cache-status", @@ -191,12 +195,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=.o0a7QV1g5p2PGVThh2GmiCx5a8.gEUKTV5wQkJcV2o-1756072897-1.0.1.1-p53oAolAr8UafMy5McpEJ9rhTr5Z82LsQPQVeQ5Wca5wKQEq9kaa9EnemekZ6_KBaRWxhl5F.Kf4qkjUGsFC5a3LGZVtl9qnhZompi2UvS0; path=/; expires=Sun, 24-Aug-25 22:31:37 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=AILu5D.12P_R9uZDQjlblSJnb4Pl7FXp5r6XIcSD4j8-1764508618-1.0.1.1-mwUQ6M_eItylr9uIrKos_x77FQUYMl4PEB8e0s96D0.Dowqocdyl.iHqWELHxf8UEzByq6rk37YPMfcTOpRMsDZCvPiu2Xo.xSS1lDAVbro; path=/; expires=Sun, 30-Nov-25 13:46:58 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=YH._SGFPHKE16IZLGfcgZL0Vqk..kuHrGz0kglvAD94-1756072897170-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=WD4vuTkl1zi6vjoqjanlAr201jgAO6Fcb1vWCY.5Awo-1764508618859-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -212,7 +216,7 @@ }, { "name": "cf-ray", - "value": "97462113aa47c224-TLV" + "value": "9a6a9f4e0f88d0ed-TLV" }, { "name": "content-encoding", @@ -223,14 +227,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1294, + "headersSize": 1321, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-08-24T22:01:36.384Z", - "time": 612, + "startedDateTime": "2025-11-30T13:16:57.839Z", + "time": 944, "timings": { "blocked": -1, "connect": -1, @@ -238,7 +242,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 612 + "wait": 944 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-create-spans-for-agents-using-withAgent-syntax_3895564654/recording.har b/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-create-spans-for-agents-using-withAgent-syntax_3895564654/recording.har index 0b00b65b..31bebdb3 100644 --- a/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-create-spans-for-agents-using-withAgent-syntax_3895564654/recording.har +++ b/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-create-spans-for-agents-using-withAgent-syntax_3895564654/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.11.1" + "value": "v20.19.5" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 583, + "headersSize": 475, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 651, + "bodySize": 658, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 651, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLLjhMxELzPVzS+cElWSdjsIxcE7AkOgIS0CLQa9dg9M816bK/dwxJW+XfkyWMSHhIXH7q6yt1V/VQAKDZqBUq3KLoLdvrm6ub8nf18k17Rdf1gq2jslw8/w+Pb2cPHWzXJDF99Iy171pn2XbAk7N0W1pFQKKvOL5cXs8vF1fXFAHTekM20Jsj0xdlyKn2s/HQ2Xyx3zNazpqRW8LUAAHga3jyjM/RDrWA22Vc6SgkbUqtDE4CK3uaKwpQ4CTpRkxHU3gm5Yezbdg2GDUhL8D6Q+0SWOpK4BstVxLiGKhLeQx/gkaUFlgQNR1tHJmdewmvS2CcCFtC+t8Y9F2jRGUuAEMliNiO1vKOjtSAtClTYNNjQs+OxItV9wmyL6609AtA5L1ulbMjdDtkcLLC+CdFX6TeqqtlxastImLzL6ybxQQ3opgC4G6zuT9xTIfouSCn+nobv5sutnBrDHcHFHhQvaMf6+S6eU7XSkCDbdBSV0qhbMiNzzBV7w/4IKI52/nOYv2lv92bX/I/8CGhNQciUIZJhfbrw2BYpn/6/2g4eDwOrRPE7ayqFKeYcDNXY2+1RqrROQl1Zs2sohsjDZeYci03xCwAA//8DAEaTkYeYAwAA\"]" + "size": 658, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFJNbxMxEL3vrxh84ZJUSWi6KBckuCEEEi3iq9Vq1p7smng9lj1uCVX+O9pNmk2hSFx8mDfveea9uS8AlDVqBUq3KLoLbvqmrfHd+8sY8tdvH0PJvinbq0/21+XbTflFTXoG1z9IywPrTHMXHIllv4d1JBTqVeflxfly9vJiXg5Ax4ZcT2uCTF+cLaeSY83T2XyxPDBbtpqSWsH3AgDgfnj7Gb2hn2oFs8lDpaOUsCG1OjYBqMiuryhMySZBL2oygpq9kB/G/txuwVgDHwL5K3LUkcQt1JFwAznAnZUWrCQwKAianSMtHF/Btb/2r0ljTgRW4A4TCDNoZ32zBfQGNGdn/HOBxt4OPeQ5Ny2kgJqenY4TaZ0T9nb47NwJgN6zYG/nYMTNAdkdV3fchMh1+oOq1tbb1FaRMLHv10zCQQ3orgC4GSzOj1xTIXIXpBLe0PDdfLmXU2OoI7goD6CwoBvr54vJE2qVIUHr0klESqNuyYzMMU/MxvIJUJzs/PcwT2nv97a++R/5EdCagpCpQiRj9eOFx7ZI/cn/q+3o8TCwShRvraZKLMU+B0NrzG5/jCptk1BXra1vKIZoh4vscyx2xW8AAAD//w==\",\"AwBfxgQOkAMAAA==\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-08-24T22:31:37.000Z", + "expires": "2025-11-30T13:46:57.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": ".o0a7QV1g5p2PGVThh2GmiCx5a8.gEUKTV5wQkJcV2o-1756072897-1.0.1.1-p53oAolAr8UafMy5McpEJ9rhTr5Z82LsQPQVeQ5Wca5wKQEq9kaa9EnemekZ6_KBaRWxhl5F.Kf4qkjUGsFC5a3LGZVtl9qnhZompi2UvS0" + "value": "hiLqEEOYVgPjhzSwm5EOEYqffdvyKwY6hWlnmNZXd2I-1764508617-1.0.1.1-2.VhmV_btULDaiNlUBREWbYGu8wtsrhlr4b8bY0koQ2aSTiyxZXLxOFYIMYE_zcmTEspacC9rUlTttaXOciAEQk0rFl91JbAhFWdh2_u9qk" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "YH._SGFPHKE16IZLGfcgZL0Vqk..kuHrGz0kglvAD94-1756072897170-0.0.1.1-604800000" + "value": "tOojZftOldRm7yZ.TpfBrAa9D1hXLDoQN.kzOMwPZKg-1764508617894-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:37 GMT" + "value": "Sun, 30 Nov 2025 13:16:57 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "334" + "value": "410" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "414" + "value": "509" }, { "name": "x-ratelimit-limit-requests", @@ -182,7 +182,11 @@ }, { "name": "x-request-id", - "value": "req_fc8ecede554a4503985a45721f1b8aa9" + "value": "req_77ece3690ba3471bb8a020e6c1a85a9c" + }, + { + "name": "x-openai-proxy-wasm", + "value": "v0.1" }, { "name": "cf-cache-status", @@ -191,12 +195,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=.o0a7QV1g5p2PGVThh2GmiCx5a8.gEUKTV5wQkJcV2o-1756072897-1.0.1.1-p53oAolAr8UafMy5McpEJ9rhTr5Z82LsQPQVeQ5Wca5wKQEq9kaa9EnemekZ6_KBaRWxhl5F.Kf4qkjUGsFC5a3LGZVtl9qnhZompi2UvS0; path=/; expires=Sun, 24-Aug-25 22:31:37 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=hiLqEEOYVgPjhzSwm5EOEYqffdvyKwY6hWlnmNZXd2I-1764508617-1.0.1.1-2.VhmV_btULDaiNlUBREWbYGu8wtsrhlr4b8bY0koQ2aSTiyxZXLxOFYIMYE_zcmTEspacC9rUlTttaXOciAEQk0rFl91JbAhFWdh2_u9qk; path=/; expires=Sun, 30-Nov-25 13:46:57 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=YH._SGFPHKE16IZLGfcgZL0Vqk..kuHrGz0kglvAD94-1756072897170-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=tOojZftOldRm7yZ.TpfBrAa9D1hXLDoQN.kzOMwPZKg-1764508617894-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -212,7 +216,7 @@ }, { "name": "cf-ray", - "value": "97462113aa47c224-TLV" + "value": "9a6a9f47e985d0ed-TLV" }, { "name": "content-encoding", @@ -223,14 +227,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1294, + "headersSize": 1321, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-08-24T22:01:36.384Z", - "time": 612, + "startedDateTime": "2025-11-30T13:16:56.792Z", + "time": 1026, "timings": { "blocked": -1, "connect": -1, @@ -238,7 +242,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 612 + "wait": 1026 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-propagate-agent-name-to-manual-LLM-instrumentation_2332462647/recording.har b/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-propagate-agent-name-to-manual-LLM-instrumentation_2332462647/recording.har index 95d708ec..a62f0901 100644 --- a/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-propagate-agent-name-to-manual-LLM-instrumentation_2332462647/recording.har +++ b/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-propagate-agent-name-to-manual-LLM-instrumentation_2332462647/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.11.1" + "value": "v20.19.5" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 583, + "headersSize": 475, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 623, + "bodySize": 635, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 623, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFJNb9swDL37V3C69JIU+ZjXLJcBa1H0lq0Y1hVFYSgSY2uVRUGigwZF/vsgJYvdrQN20YGP74mPjy8FgDBaLEGoRrJqvR1fLq7er6bX7erH/a35/nXR3erLZlbSzfbuy0yMEoPWP1Hxb9a5otZbZEPuAKuAkjGpTi/KD5OL2cfJJAMtabSJVnsez8/LMXdhTePJdFYemQ0ZhVEs4aEAAHjJb5rRaXwWS8g6udJijLJGsTw1AYhANlWEjNFElo7FqAcVOUaXx75rdqCNBm4QVh7dN7TYIocdaNyiJY8BaoJ1oCf8BJ9RyS5i6t6Bos5qd8bAQapcMwHw2aOLGN8N/wu46aJMfl1n7QCQzhHLtK/s9PGI7E/eLNU+0Dr+QRUb40xsqoAykks+IpMXGd0XAI95h92rtQgfqPVcMT1h/m5aHuREn9oAXBxBJpa2r8/nozfUKo0sjY2DDISSqkHdM/vAZKcNDYBi4PnvYd7SPvg2rv4f+R5QCj2jrnxAbdRrw31bwHTT/2o77TgPLCKGrVFYscGQctC4kZ09XJuIu8jYVhvjagw+mHxyKcdiX/wCAAD//wMABQIPSXEDAAA=\"]" + "size": 635, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jJJNb9swDIbv/hWczkkRL0vX5jJgX8CAbdmAARv6AUOWGFurLAoS3dUo8t8HKWnsbh2wiw58+FJ8Sd4XAMJosQahWsmq83b+pq3l5/pr/PjJ+nf1xZe3Pz6UG3Pxvtz2dxsxSwqqf6LiB9WJos5bZENuj1VAyZiqli9PX6wWZ6fleQYdabRJ1nieL09Wc+5DTfNF+Xx1ULZkFEaxhssCAOA+v6lHp/FOrGExe4h0GKNsUKyPSQAikE0RIWM0kaVjMRuhIsfoctvf2wG00cAtwsaj+4YWO+QwgMZbtOQxQENQB7rBV1fuyr1GJfuISTDALwwIilz+wQ7AQSrjmgRNgOjRaeOaZ9O/A277KJN311s7AdI5Yplml11fH8ju6NNS4wPV8Q+p2BpnYlsFlJFc8hSZvMh0VwBc53n2j0YkfKDOc8V0g/m7crUvJ8YNTuDZATKxtGN8uZw9Ua3SyNLYONmHUFK1qEfluDzZa0MTUEw8/93MU7X3vo1r/qf8CJRCz6grH1Ab9djwmBYw3fe/0o4zzg2LiOHWKKzYYEh70LiVvd1fnohDZOyqrXENBh9MPr+0x2JX/AYAAP//AwCrcwS/fQMAAA==\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-08-24T22:31:41.000Z", + "expires": "2025-11-30T13:46:59.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "yA3yaxTVq_lRzeGvndltDF4hGkZn9kZFrWae1e49_LM-1756072901-1.0.1.1-a6dJxx8ZUNkw16gR0W5ZhZJTb0EuHUyPyPxESerXEko9thjRpPGdnqRhWWeQHfWQq3JmiqoZ_CG9ka0u0CAGDjBoDkBsiPdYOd1NTixzAGA" + "value": "lGMecMxqZQwcWGh5qYhuFJRLw3SgmorK4jNvzxNN7Gk-1764508619-1.0.1.1-GcJFAinRZ.XErkFplzTef_R3mnGdhdRx.E.0RO.q9f_vlL8injDDYYyx2oa2bIinwvuDyxRGxRHjLhMqT_qPnJwbZmnBDPuNgEryhzKQDXM" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "iQtUVjYqEy.DU6WhyJf3Muh3Lu7OOiBtEvvkWgQ9KN8-1756072901348-0.0.1.1-604800000" + "value": "6sDALed3LrhRfDiWc2CCkA1mWew2GIEPKyIxi94OYPY-1764508619880-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:41 GMT" + "value": "Sun, 30 Nov 2025 13:16:59 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "359" + "value": "246" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "463" + "value": "434" }, { "name": "x-ratelimit-limit-requests", @@ -182,7 +182,11 @@ }, { "name": "x-request-id", - "value": "req_e724b47ef08549ee913f345a8fed7bae" + "value": "req_cbe652417a9e4b1f8bfcc4c8bd0a93c3" + }, + { + "name": "x-openai-proxy-wasm", + "value": "v0.1" }, { "name": "cf-cache-status", @@ -191,12 +195,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=yA3yaxTVq_lRzeGvndltDF4hGkZn9kZFrWae1e49_LM-1756072901-1.0.1.1-a6dJxx8ZUNkw16gR0W5ZhZJTb0EuHUyPyPxESerXEko9thjRpPGdnqRhWWeQHfWQq3JmiqoZ_CG9ka0u0CAGDjBoDkBsiPdYOd1NTixzAGA; path=/; expires=Sun, 24-Aug-25 22:31:41 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=lGMecMxqZQwcWGh5qYhuFJRLw3SgmorK4jNvzxNN7Gk-1764508619-1.0.1.1-GcJFAinRZ.XErkFplzTef_R3mnGdhdRx.E.0RO.q9f_vlL8injDDYYyx2oa2bIinwvuDyxRGxRHjLhMqT_qPnJwbZmnBDPuNgEryhzKQDXM; path=/; expires=Sun, 30-Nov-25 13:46:59 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=iQtUVjYqEy.DU6WhyJf3Muh3Lu7OOiBtEvvkWgQ9KN8-1756072901348-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=6sDALed3LrhRfDiWc2CCkA1mWew2GIEPKyIxi94OYPY-1764508619880-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -212,7 +216,7 @@ }, { "name": "cf-ray", - "value": "9746212d6fb1c224-TLV" + "value": "9a6a9f53feb1d0ed-TLV" }, { "name": "content-encoding", @@ -223,14 +227,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1294, + "headersSize": 1321, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-08-24T22:01:40.520Z", - "time": 649, + "startedDateTime": "2025-11-30T13:16:58.794Z", + "time": 1014, "timings": { "blocked": -1, "connect": -1, @@ -238,7 +242,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 649 + "wait": 1014 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-manual-LLM-instrumentation_981493419/recording.har b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-manual-LLM-instrumentation_981493419/recording.har index c427de36..44cc3eab 100644 --- a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-manual-LLM-instrumentation_981493419/recording.har +++ b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-manual-LLM-instrumentation_981493419/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.11.1" + "value": "v20.19.5" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 583, + "headersSize": 475, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 623, + "bodySize": 603, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 623, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFJNb9swDL37V3C69JIU+ZjXLJcBa1H0lq0Y1hVFYSgSY2uVRUGigwZF/vsgJYvdrQN20YGP74mPjy8FgDBaLEGoRrJqvR1fLq7er6bX7erH/a35/nXR3erLZlbSzfbuy0yMEoPWP1Hxb9a5otZbZEPuAKuAkjGpTi/KD5OL2cfJJAMtabSJVnsez8/LMXdhTePJdFYemQ0ZhVEs4aEAAHjJb5rRaXwWS8g6udJijLJGsTw1AYhANlWEjNFElo7FqAcVOUaXx75rdqCNBm4QVh7dN7TYIocdaNyiJY8BaoJ1oCf8BJ9RyS5i6t6Bos5qd8bAQapcMwHw2aOLGN8N/wu46aJMfl1n7QCQzhHLtK/s9PGI7E/eLNU+0Dr+QRUb40xsqoAykks+IpMXGd0XAI95h92rtQgfqPVcMT1h/m5aHuREn9oAXBxBJpa2r8/nozfUKo0sjY2DDISSqkHdM/vAZKcNDYBi4PnvYd7SPvg2rv4f+R5QCj2jrnxAbdRrw31bwHTT/2o77TgPLCKGrVFYscGQctC4kZ09XJuIu8jYVhvjagw+mHxyKcdiX/wCAAD//wMABQIPSXEDAAA=\"]" + "size": 603, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jJJBb9swDIXv/hWczkmRzE0W5LJDgd6KoUCAHdbCUCTa1iKLqkR3yYr890FKFrtbC/TiAz++Zz5SLwWAMFqsQahWsuq8nd60W2lUc7vvd0+/l3RXr/bl7v65vN30VotJUtD2Jyr+q7pS1HmLbMidsAooGZPr/MvyejFbLa9nGXSk0SZZ43laXi2m3IctTWfzz4uzsiWjMIo1/CgAAF7yN83oNO7FGrJPrnQYo2xQrC9NACKQTRUhYzSRpWMxGaAix+jy2N/bA2ij4ZtHt0GLHXI4QEPABFG1RPYrPLgHtyGwKIODln4lxkEqBMMRIqOPn8b2Aes+yhTP9daOgHSOWKb15GCPZ3K8RLHU+EDb+I9U1MaZ2FYBZSSXxo5MXmR6LAAe88r6V1sQPlDnuWLaYf7dfHGyE8ORRnB1hkws7VAvy8kbbpVGlsbG0cqFkqpFPSiH+8heGxqBYpT5/2He8j7lNq75iP0AlELPqCsfUBv1OvDQFjA94ffaLjvOA4uI4dkorNhgSHfQWMvenh6XiIfI2FW1cQ0GH0x+YemOxbH4AwAA//8DAG+OjEdgAwAA\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-08-24T22:31:41.000Z", + "expires": "2025-11-30T13:47:20.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "yA3yaxTVq_lRzeGvndltDF4hGkZn9kZFrWae1e49_LM-1756072901-1.0.1.1-a6dJxx8ZUNkw16gR0W5ZhZJTb0EuHUyPyPxESerXEko9thjRpPGdnqRhWWeQHfWQq3JmiqoZ_CG9ka0u0CAGDjBoDkBsiPdYOd1NTixzAGA" + "value": "7SfUHKVK4C05lp5oaRa_lj3tf3JtD_shY_BiHWa9XDE-1764508640-1.0.1.1-V0TQ87bAIMKgPFd6GHYUXlUqoN9yE7l.hejKLrBoKBZszkdI0MireWlCMaluBrkYs5qoBwTzjMD.xKHi8s2JV5GMsnqZ6CWIfThvrrRF2oA" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "iQtUVjYqEy.DU6WhyJf3Muh3Lu7OOiBtEvvkWgQ9KN8-1756072901348-0.0.1.1-604800000" + "value": "gn1p0BiDvfrCma7wc.CTZDnzgatR.VX.dfQHGaw2iUw-1764508640641-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:41 GMT" + "value": "Sun, 30 Nov 2025 13:17:20 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "359" + "value": "256" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "463" + "value": "281" }, { "name": "x-ratelimit-limit-requests", @@ -182,7 +182,11 @@ }, { "name": "x-request-id", - "value": "req_e724b47ef08549ee913f345a8fed7bae" + "value": "req_ef305f359659485f85b93e3c1c6acd9c" + }, + { + "name": "x-openai-proxy-wasm", + "value": "v0.1" }, { "name": "cf-cache-status", @@ -191,12 +195,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=yA3yaxTVq_lRzeGvndltDF4hGkZn9kZFrWae1e49_LM-1756072901-1.0.1.1-a6dJxx8ZUNkw16gR0W5ZhZJTb0EuHUyPyPxESerXEko9thjRpPGdnqRhWWeQHfWQq3JmiqoZ_CG9ka0u0CAGDjBoDkBsiPdYOd1NTixzAGA; path=/; expires=Sun, 24-Aug-25 22:31:41 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=7SfUHKVK4C05lp5oaRa_lj3tf3JtD_shY_BiHWa9XDE-1764508640-1.0.1.1-V0TQ87bAIMKgPFd6GHYUXlUqoN9yE7l.hejKLrBoKBZszkdI0MireWlCMaluBrkYs5qoBwTzjMD.xKHi8s2JV5GMsnqZ6CWIfThvrrRF2oA; path=/; expires=Sun, 30-Nov-25 13:47:20 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=iQtUVjYqEy.DU6WhyJf3Muh3Lu7OOiBtEvvkWgQ9KN8-1756072901348-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=gn1p0BiDvfrCma7wc.CTZDnzgatR.VX.dfQHGaw2iUw-1764508640641-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -212,7 +216,7 @@ }, { "name": "cf-ray", - "value": "9746212d6fb1c224-TLV" + "value": "9a6a9fd929c8c231-TLV" }, { "name": "content-encoding", @@ -223,14 +227,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1294, + "headersSize": 1321, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-08-24T22:01:40.520Z", - "time": 649, + "startedDateTime": "2025-11-30T13:17:20.091Z", + "time": 471, "timings": { "blocked": -1, "connect": -1, @@ -238,7 +242,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 649 + "wait": 471 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-decoration-syntax-method-variant_2462514347/recording.har b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-decoration-syntax-method-variant_2462514347/recording.har index cb22871b..2940525b 100644 --- a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-decoration-syntax-method-variant_2462514347/recording.har +++ b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-decoration-syntax-method-variant_2462514347/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.11.1" + "value": "v20.19.5" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 583, + "headersSize": 475, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 635, + "bodySize": 647, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 635, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLBbhMxEL3vVww+J1WSJqTNBYn2AIfCBQlFUK0ce7I7jddj2WMgqvLvyJs2m0KRuPgwb97zvHnzWAEosmoFyrRaTBfc+Obqdv7pbjp/yDz5eLvY3ew+3K3XhHk9Z1SjwuDNAxp5Zl0Y7oJDIfZH2ETUgkV1uly8nSxnV9fXPdCxRVdoTZDx5cViLDlueDyZzhZPzJbJYFIr+FYBADz2b5nRW/ylVjAZPVc6TEk3qFanJgAV2ZWK0ilREu1FjQbQsBf0/dhf2z1YsvA5oP+CDjuUuIdNRL2DHOAnSQskCYqzLBjfwXf/Ho3OCYEEPKJFC4k7hBS0QdhyBInakG9AewuOm4Z88+b8/4jbnHTx77NzZ4D2nkWX/fXO75+Qw8mr4yZE3qQ/qGpLnlJbR9SJffGVhIPq0UMFcN/vNL9YkwqRuyC18A7776aLo5waUhzA2ewJFBbthvrlcvSKWm1RNLl0loky2rRoB+YQoM6W+Ayozjz/Pcxr2kff5Jv/kR8AYzAI2jpEtGReGh7aIpYb/1fbacf9wCph/EEGayGMJQeLW53d8fpU2ifBrt6SbzCGSP0JlhyrQ/UbAAD//wMA8uCeZoEDAAA=\"]" + "size": 647, + "text": "[\"H4sIAAAAAAAAA4ySQW/bMAyF7/4VnC67JEU=\",\"3NRpkcuA7TYMKzAM2GEoDFlibK6yJFB00qDIfx/kpHG6dcAuPvDjeyYf9VwAKLJqDcp0Wkwf3fxT1+j2s6GvTLvm22DKZiv+qXLL+y+3SzXLitD8QiMvqisT+uhQKPgjNoxaMLuWt6ubanG3Wt6NoA8WXZa1UebLq2ouAzdhviivq5OyC2QwqTX8LAAAnsdvntFbfFJrWMxeKj2mpFtU63MTgOLgckXplCiJ9qJmEzTBC/px7B/dHixZkA7hPqL/jg57FN6DxS26EJGhYdSPMETYkXS5kxgStZ42ZLQXCNIhf4CPaPSQMDeMnv69wC5zCdAgCGuDFsiD9ntgdDrnlDqK7y5nY9wMSeds/ODcBdDeBzlqcioPJ3I45+BCGzk06Q+p2pCn1NWMOgWfd04SohrpoQB4GPMeXkWoIoc+Si3hEcffldXRTk0XnuD16gQliHZT/aacveFWWxRNLl3cSxltOrSTcjquHiyFC1Bc7Pz3MG95H/cm3/6P/QSMwSho68hoybxeeGpjzO//X23njMeBVULeksFaCDnfweJGD+74MlXaJ8G+3pBvkSPT+DzzHYtD8RsAAP//AwC8zvconQMAAA==\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-08-24T22:31:39.000Z", + "expires": "2025-11-30T13:47:18.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "QaS78SY1SCG7YE3nnGxmNFNuF47ZIlyLqIXJ2elIWXg-1756072899-1.0.1.1-t6IkmuZ0Y6UGnPIXoOhDb9k6BUIDNOIYlVzkHzOfo0odWqJT9CQhrOb1iZwD4v5arB.XjVQXGx_3E0AEnP78VLI_a83jcsyG8fg53EEnodo" + "value": "WyPbZPkN0YJDSAzPk5C2VrR9C9_CRqDU3Sgsj56czG8-1764508638-1.0.1.1-V5njUBVWpYYp8.3eVfHzcwg4EyNSwcgZ6Ja5C28yml3G8zFxObBXTasr.nfgiP6XMCL8zWmFlEzdiBKzkXrwdb_D_j6rOmZfhJOBjt1o9bE" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "ZPujzzLiE6Kha1z83zX7kdGNe6unTY21sdMANPktBjQ-1756072899610-0.0.1.1-604800000" + "value": "nK5FsxlvSuxG0TuJP6wbG3SvS2_kci1F0AYyCcUgoUM-1764508638948-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:39 GMT" + "value": "Sun, 30 Nov 2025 13:17:18 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "405" + "value": "277" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "437" + "value": "298" }, { "name": "x-ratelimit-limit-requests", @@ -170,7 +170,7 @@ }, { "name": "x-ratelimit-remaining-tokens", - "value": "49999988" + "value": "49999989" }, { "name": "x-ratelimit-reset-requests", @@ -182,7 +182,11 @@ }, { "name": "x-request-id", - "value": "req_de9be84624fa4abc8b6a17421f115ea5" + "value": "req_2341acae8177481198ed3ad3526c85d4" + }, + { + "name": "x-openai-proxy-wasm", + "value": "v0.1" }, { "name": "cf-cache-status", @@ -191,12 +195,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=QaS78SY1SCG7YE3nnGxmNFNuF47ZIlyLqIXJ2elIWXg-1756072899-1.0.1.1-t6IkmuZ0Y6UGnPIXoOhDb9k6BUIDNOIYlVzkHzOfo0odWqJT9CQhrOb1iZwD4v5arB.XjVQXGx_3E0AEnP78VLI_a83jcsyG8fg53EEnodo; path=/; expires=Sun, 24-Aug-25 22:31:39 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=WyPbZPkN0YJDSAzPk5C2VrR9C9_CRqDU3Sgsj56czG8-1764508638-1.0.1.1-V5njUBVWpYYp8.3eVfHzcwg4EyNSwcgZ6Ja5C28yml3G8zFxObBXTasr.nfgiP6XMCL8zWmFlEzdiBKzkXrwdb_D_j6rOmZfhJOBjt1o9bE; path=/; expires=Sun, 30-Nov-25 13:47:18 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=ZPujzzLiE6Kha1z83zX7kdGNe6unTY21sdMANPktBjQ-1756072899610-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=nK5FsxlvSuxG0TuJP6wbG3SvS2_kci1F0AYyCcUgoUM-1764508638948-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -212,7 +216,7 @@ }, { "name": "cf-ray", - "value": "97462122b9f7c224-TLV" + "value": "9a6a9fce4e39c231-TLV" }, { "name": "content-encoding", @@ -223,14 +227,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1294, + "headersSize": 1321, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-08-24T22:01:38.812Z", - "time": 628, + "startedDateTime": "2025-11-30T13:17:18.358Z", + "time": 508, "timings": { "blocked": -1, "connect": -1, @@ -238,7 +242,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 628 + "wait": 508 } }, { @@ -297,7 +301,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.11.1" + "value": "v20.19.5" }, { "_fromType": "array", @@ -309,7 +313,7 @@ "value": "api.openai.com" } ], - "headersSize": 583, + "headersSize": 475, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -321,23 +325,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 647, + "bodySize": 623, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 647, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLLjhMxELzPV7QscUuiPMhmk+sCB5A48BCs0GrUsXsmBo/bsnsGolX+HXnymCwsEhcfurrK3VX9WAAoa9QGlN6h6Ca48d3tq5fvP38J+0/3d1+xW7yzqXr94U3tV1gv1SgzePudtJxZE81NcCSW/RHWkVAoq85Wy5vpan67XvdAw4ZcptVBxovJcixt3PJ4OpufhPWOraakNvCtAAB47N88ozf0S21gOjpXGkoJa1KbSxOAiuxyRWFKNgl6UaMB1OyFfD/2W+zwo442CNgEsiNoOAkEDq3DCCFyHbFprK/Boa9brGkEbSID2z1wRxHWqxfAFaBz8JO2yQolqDiC2XtsrAb0BqwXiqjFdgSnzyfXA0Wq2oTZEN86dwWg9yyYDe2teDghh8vyjusQeZv+oKrKept2ZSRM7POiSTioHj0UAA+9ye0T31SI3AQphX9Q/91scZRTQ6wDOD+DwoJuqC9uRs+olYYErUtXISmNekdmYA6JYmssXwHF1c5/D/Oc9nFv6+v/kR8ArSkImTJEMlY/XXhoi5SP/l9tF4/7gVWi2FlNpViKOQdDFbbueI4q7ZNQU1bW1xRDtP1N5hyLQ/EbAAD//wMA3cFA4JIDAAA=\"]" + "size": 623, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jJJNbxNBDIbv+yusOSdRPkghORaoBJU4gEBIqFo5M87utLMz07G3IVT572g2aXYLReIyBz9+PX5tPxYAyhq1BqVrFN1EN35bb7De3X+9mn+7+hA/63fX+telcVXi7/fXapQVYXNLWp5UEx2a6Ehs8EesE6FQrjp7ffFqOX1zsVh1oAmGXJZVUcaLyXIsbdqE8XQ2X56UdbCaWK3hRwEA8Ni9uUdv6Kdaw3T0FGmIGStS63MSgErB5YhCZsuCXtSohzp4Id+1/REf8ItONgrskOHUMFgPty0LzKZgcM+w2cNlIm/Qw3ur68xnq9USdrV1BLuQ7qyvAAU+kbDGSJPhf4m2LWP261vnBgC9D4J5Xp3TmxM5nL25UMUUNvyHVG2tt1yXiZCDzz5YQlQdPRQAN90M22djUTGFJkop4Y6672aLYznVb62H8/kJShB0fXyxHL1QrTQkaB0PdqA06ppMr+wXhq2xYQCKgee/m3mp9tG39dX/lO+B1hSFTBkTGaufG+7TEuWb/lfaecZdw4opPVhNpVhKeQ+Gtti647Up3rNQU26tryjFZLuTy3ssDsVvAAAA//8DAL2ECBpxAwAA\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-08-24T22:31:40.000Z", + "expires": "2025-11-30T13:47:19.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "57Yb4wb9JC1Z7FVi9fjdtb6yUdtU2F1q_q16.GS51cA-1756072900-1.0.1.1-W_x2UWyGljjIh8ZTYCOvnYcmWeAUGVTNg9dBAcZGt7IBIerrxkofMWw4mzyXH7boDTMAz4_5jmMOJXHVHXl1bQlUoTxQhWZnUhbZCGEaI0U" + "value": "qroP6hx3lMIdeXlRII3ZKZKefZ1Bk0fxVUTJv0B2.PY-1764508639-1.0.1.1-tXs2bT2UKrAsOZ76_dt7OaL7aOqelEEeulX_b3wE1dNvzkGm9TNOc484mvpR9fjgO5S9MYYCmysrghaKcvIQc9J.R0drq0yZDGGn..Tvtkg" }, { "domain": ".api.openai.com", @@ -346,13 +350,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "9yGzvqCRmHMmbWs9fdq0HhG9gylDEcytxaUOFk7h28M-1756072900193-0.0.1.1-604800000" + "value": "copltWLlEJGNGQ3ZT6UKoWgTRkD4.Jk2Sncmk8Q1Nfc-1764508639561-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:40 GMT" + "value": "Sun, 30 Nov 2025 13:17:19 GMT" }, { "name": "content-type", @@ -376,7 +380,7 @@ }, { "name": "openai-processing-ms", - "value": "359" + "value": "372" }, { "name": "openai-project", @@ -388,7 +392,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "388" + "value": "393" }, { "name": "x-ratelimit-limit-requests", @@ -416,7 +420,11 @@ }, { "name": "x-request-id", - "value": "req_f5eb80fd1a7e49a1baf9f09e94cf87f0" + "value": "req_9ebf3cbda008456d9e503e35b677f021" + }, + { + "name": "x-openai-proxy-wasm", + "value": "v0.1" }, { "name": "cf-cache-status", @@ -425,12 +433,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=57Yb4wb9JC1Z7FVi9fjdtb6yUdtU2F1q_q16.GS51cA-1756072900-1.0.1.1-W_x2UWyGljjIh8ZTYCOvnYcmWeAUGVTNg9dBAcZGt7IBIerrxkofMWw4mzyXH7boDTMAz4_5jmMOJXHVHXl1bQlUoTxQhWZnUhbZCGEaI0U; path=/; expires=Sun, 24-Aug-25 22:31:40 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=qroP6hx3lMIdeXlRII3ZKZKefZ1Bk0fxVUTJv0B2.PY-1764508639-1.0.1.1-tXs2bT2UKrAsOZ76_dt7OaL7aOqelEEeulX_b3wE1dNvzkGm9TNOc484mvpR9fjgO5S9MYYCmysrghaKcvIQc9J.R0drq0yZDGGn..Tvtkg; path=/; expires=Sun, 30-Nov-25 13:47:19 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=9yGzvqCRmHMmbWs9fdq0HhG9gylDEcytxaUOFk7h28M-1756072900193-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=copltWLlEJGNGQ3ZT6UKoWgTRkD4.Jk2Sncmk8Q1Nfc-1764508639561-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -446,7 +454,7 @@ }, { "name": "cf-ray", - "value": "97462126bbcec224-TLV" + "value": "9a6a9fd1893cc231-TLV" }, { "name": "content-encoding", @@ -457,14 +465,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1294, + "headersSize": 1321, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-08-24T22:01:39.448Z", - "time": 581, + "startedDateTime": "2025-11-30T13:17:18.870Z", + "time": 701, "timings": { "blocked": -1, "connect": -1, @@ -472,7 +480,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 581 + "wait": 701 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-decoration-syntax_3330947443/recording.har b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-decoration-syntax_3330947443/recording.har index 72f650e4..dfd1d442 100644 --- a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-decoration-syntax_3330947443/recording.har +++ b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-decoration-syntax_3330947443/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.11.1" + "value": "v20.19.5" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 583, + "headersSize": 475, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 646, + "bodySize": 619, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 646, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jJJNb9swDIbv/hWcLrskRZImTZfLsA/slG0oMGyHtTAUibGVSKIg0e2MIv99kJPG7tYBu+jAhy/Fl+RjASCMFisQqpasXLDjD9cf5+ubd7sv6tNnt9fr7/N2jrW94d1sbcUoK2izQ8VPqgtFLlhkQ/6IVUTJmKtOl4uryXJ2/WbZAUcabZZVgceXF4sxN3FD48l0tjgpazIKk1jBzwIA4LF7c49e4y+xgsnoKeIwJVmhWJ2TAEQkmyNCpmQSS89i1ENFntF3bf+oW9BGA9cIXwP6b2jRIccWNN6jpYARKoJNpD2+vfW3/j0q2STMghYUNVb71wwcpUJ4qDEiSGszNREceWzhAT2/Gn4fcdskme37xtoBkN4Tyzy+zvjdiRzOVi1VIdIm/SEVW+NNqsuIMpHPthJTEB09FAB33UibZ1MSIZILXDLtsftuujiWE/0SezibniATS9vHL69GL1QrNbI0Ng1WIpRUNepe2e9PNtrQABQDz38381Lto2/jq/8p3wOlMDDqMkTURj033KdFzCf+r7TzjLuGRcJ4bxSWbDDmPWjcysYej0+kNjG6cmt8hTFE011g3mNxKH4DAAD//w==\",\"AwD6YfPEgAMAAA==\"]" + "size": 619, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jJJBbxMxEIXv+ysGn5MqIU1Kc0HQA0ggISQQUqtqNbFndw1ej7FnK1ZV/jvyJs1uoZV68cHfvPG8eb4vAJQ1agtKNyi6DW5+1eywqr9+THfLS1vrD5+ur79vtL9a/N69+6xmWcG7n6TlQXWmuQ2OxLI/YB0JhXLX5cXmfL14s1ldDKBlQy7L6iDz1dl6Ll3c8XyxfL0+Khu2mpLawk0BAHA/nHlGb+iP2sJi9nDTUkpYk9qeigBUZJdvFKZkk6AXNRuhZi/kh7F/ND0Ya0Aagi+B/Ddy1JLEHkLk7A1qBuHMI4b+LbwnjV0isAINGhBmaNH3IBE1gU2po/Rq+likqkuYzfrOuQlA71kwL2uweXsk+5Mxx3WIvEv/SFVlvU1NGQkT+2wiCQc10H0BcDsssHu0ExUit0FK4V80PLdcH9qpMbIJvDxCYUE33q/OZ090Kw0JWpcmASiNuiEzKse0sDOWJ6CYeP5/mKd6H3xbX7+k/Qi0piBkyhDJWP3Y8FgWKYf+XNlpx8PAKlG8s5pKsRRzDoYq7Nzhq6nUJ6G2rKyvKYZoh/+Wcyz2xV8AAAD//wMA5EEeK24DAAA=\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-08-24T22:31:38.000Z", + "expires": "2025-11-30T13:47:17.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "xeuZkhXPuxACxsIayRAoIpjNImYCJMwkdgWClgNpPGk-1756072898-1.0.1.1-8yf9snyT_IT17OsiqKrn_wwOYT6FnBNSo3O2_YrUB.qBVkO5fKzOzijx_4urTjo9CIlF56oESnYdAbsZ_.Qg_465_5r_RYUIEAfeYifv8iQ" + "value": "Ib0JpJ8FHcmu1vTYv7HqqpWuZYCqs4jps30la5_MdDk-1764508637-1.0.1.1-FyXvv6e_lxVdkXNB0TjobZj2oY_yZjH3D_9CKdCvBdRSq3h8hpvogu5CRzDTuo8AZePQZjtqf.WUdjqSiuHMnbvb7vGnhv315WZqnkIpIAo" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "OqtRlwVbqNq33i9Rp980MswwCLeNK9CUqjAfkg2Gb9g-1756072898434-0.0.1.1-604800000" + "value": "M_iZdIHoTxBiOiSK30s886tWrIb1slN.Tu420Knug40-1764508637813-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:38 GMT" + "value": "Sun, 30 Nov 2025 13:17:17 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "396" + "value": "298" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "464" + "value": "323" }, { "name": "x-ratelimit-limit-requests", @@ -170,7 +170,7 @@ }, { "name": "x-ratelimit-remaining-tokens", - "value": "49999988" + "value": "49999989" }, { "name": "x-ratelimit-reset-requests", @@ -182,7 +182,11 @@ }, { "name": "x-request-id", - "value": "req_7d4ed894bfac4a97b84e358822815247" + "value": "req_f545f408533c4083bced589e4729d66e" + }, + { + "name": "x-openai-proxy-wasm", + "value": "v0.1" }, { "name": "cf-cache-status", @@ -191,12 +195,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=xeuZkhXPuxACxsIayRAoIpjNImYCJMwkdgWClgNpPGk-1756072898-1.0.1.1-8yf9snyT_IT17OsiqKrn_wwOYT6FnBNSo3O2_YrUB.qBVkO5fKzOzijx_4urTjo9CIlF56oESnYdAbsZ_.Qg_465_5r_RYUIEAfeYifv8iQ; path=/; expires=Sun, 24-Aug-25 22:31:38 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=Ib0JpJ8FHcmu1vTYv7HqqpWuZYCqs4jps30la5_MdDk-1764508637-1.0.1.1-FyXvv6e_lxVdkXNB0TjobZj2oY_yZjH3D_9CKdCvBdRSq3h8hpvogu5CRzDTuo8AZePQZjtqf.WUdjqSiuHMnbvb7vGnhv315WZqnkIpIAo; path=/; expires=Sun, 30-Nov-25 13:47:17 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=OqtRlwVbqNq33i9Rp980MswwCLeNK9CUqjAfkg2Gb9g-1756072898434-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=M_iZdIHoTxBiOiSK30s886tWrIb1slN.Tu420Knug40-1764508637813-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -212,7 +216,7 @@ }, { "name": "cf-ray", - "value": "9746211b3e53c224-TLV" + "value": "9a6a9fc73f13c231-TLV" }, { "name": "content-encoding", @@ -223,14 +227,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1294, + "headersSize": 1321, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-08-24T22:01:37.607Z", - "time": 653, + "startedDateTime": "2025-11-30T13:17:17.223Z", + "time": 510, "timings": { "blocked": -1, "connect": -1, @@ -238,7 +242,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 653 + "wait": 510 } }, { @@ -297,7 +301,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.11.1" + "value": "v20.19.5" }, { "_fromType": "array", @@ -309,7 +313,7 @@ "value": "api.openai.com" } ], - "headersSize": 583, + "headersSize": 475, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -321,23 +325,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 615, + "bodySize": 639, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 615, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFJNb9swDL37VxA6J0GSJk2a63rZR4FiGTBgQ2EwEu1olUVNorsNRf77IKeN3S0FetGBj++Jj4+PBYCyRm1A6T2KboIbv1tfL27uv2xvVrfXtz8r995+Xnz8+i0uP/Fiq0aZwbsfpOWZNdHcBEdi2R9hHQmFsupstbycrubrq3UHNGzIZVodZHwxWY6ljTseT2fz5RNzz1ZTUhv4XgAAPHZvntEb+q02MB09VxpKCWtSm1MTgIrsckVhSjYJelGjHtTshXw39gd8wK2ONgjYBLInaDgJBA6twwghch2xaayvwaGvW6wJ2kQGKo6wa60zGfpFO8AQnNWYzafJ8LdIVZswu/WtcwMAvWc5ErLPuyfkcHLmuA6Rd+kfqqqst2lfRsLEPrtIwkF16KEAuOs22L5YigqRmyCl8D11380ujnKqz+wMKCzo+vr8cnRGrTQkaF0aJKA06j2ZntnHha2xPACKgef/hzmnffRtff0W+R7QmoKQKUMkY/VLw31bpHzRr7WddtwNrBLFB6upFEsx52CowtYdb02lP0moKSvra4oh2u7gco7FofgLAAD//wMA95aPaW8DAAA=\"]" + "size": 639, + "text": "[\"H4sIAAAAAAAAA4xSwY7aMBC95ytGPgOCZYE=\",\"LreWVl31sFLVVq1UraLBGRKD47HsCRSt+PfKCUvYbSv1Einz5j3PvDdPGYAyhVqC0hWKrr0drqo1bt7Ov/74/HEx37PW1e779v7bvX7YvrdqkBi83pKWZ9ZIc+0tiWHXwToQCiXVyWJ+Oxu/mU8XLVBzQTbRSi/D6Wg2lCaseTie3MzOzIqNpqiW8DMDAHhqv2lGV9AvtYTx4LlSU4xYklpemgBUYJsqCmM0UdCJGvSgZifk2rE/4R6/6GC8wAEjnAeG9RHeBXIFOvhgdAXGwbaJApMxFHiMcKiMJThw2BlXAgo8kESNnmDFdd04ozG5EGHFwXNof5LI5O5uNroeJdCmiZiscI21VwA6x9KJJBMez8jpsrbl0gdex1dUtTHOxCoPhJFdWjEKe9WipwzgsbW3eeGY8oFrL7nwjtrnJtNOTvWB9uDN7RkUFrR9vYv2tVpekKCx8SoepVFXVPTMPktsCsNXQHa185/D/E2729u48n/ke0Br8kJF7gMVRr9cuG8LlM79X20Xj9uBVaSwN5pyMRRSDgVtsLHdIap4jEJ1vjGupOCDaa8x5Zidst8AAAD//wMAm9t+5IwDAAA=\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-08-24T22:31:38.000Z", + "expires": "2025-11-30T13:47:18.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "XeRj0szjvRI6Lox.vvgbg_aq3.fv44BEb_F_4OBNj_M-1756072898-1.0.1.1-XdM4n3Jzz9SGcPWWqgM64PKpiJrtBhqSo5G9gJKluItbDjNJcS7sABCL_3WZI4Hv.UeJXI3n6FzBedRj.sO2yTdqYb5RfRcqNXKCT_25kwg" + "value": "KauEklaxXMWjXSgeKbX3qWuLtxMrtdu77DxQXV96.BA-1764508638-1.0.1.1-dAviGaRk3g45SXrTGJPxSTKYD29QkNERlKVbJwva2_GPayIH8POFr1jJjvJpTPnVx9qsZzK76beiTgDT2nEdirdDSpCWJss_kaQg8pm2R0k" }, { "domain": ".api.openai.com", @@ -346,13 +350,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "big5QH9aeVXwKA2Iq1si0dWY6v40EOzcAJDfp_OHw34-1756072898974-0.0.1.1-604800000" + "value": "2acfahXBJ.1p7p5d4GtwPPq_pGdmnVOXT8eRRejZ.eU-1764508638417-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:38 GMT" + "value": "Sun, 30 Nov 2025 13:17:18 GMT" }, { "name": "content-type", @@ -376,7 +380,7 @@ }, { "name": "openai-processing-ms", - "value": "257" + "value": "382" }, { "name": "openai-project", @@ -388,7 +392,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "350" + "value": "402" }, { "name": "x-ratelimit-limit-requests", @@ -416,7 +420,11 @@ }, { "name": "x-request-id", - "value": "req_3d61c7e576254b5a87ce689e41e977ac" + "value": "req_847306bb6ac8479fbb74e604ae23a898" + }, + { + "name": "x-openai-proxy-wasm", + "value": "v0.1" }, { "name": "cf-cache-status", @@ -425,12 +433,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=XeRj0szjvRI6Lox.vvgbg_aq3.fv44BEb_F_4OBNj_M-1756072898-1.0.1.1-XdM4n3Jzz9SGcPWWqgM64PKpiJrtBhqSo5G9gJKluItbDjNJcS7sABCL_3WZI4Hv.UeJXI3n6FzBedRj.sO2yTdqYb5RfRcqNXKCT_25kwg; path=/; expires=Sun, 24-Aug-25 22:31:38 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=KauEklaxXMWjXSgeKbX3qWuLtxMrtdu77DxQXV96.BA-1764508638-1.0.1.1-dAviGaRk3g45SXrTGJPxSTKYD29QkNERlKVbJwva2_GPayIH8POFr1jJjvJpTPnVx9qsZzK76beiTgDT2nEdirdDSpCWJss_kaQg8pm2R0k; path=/; expires=Sun, 30-Nov-25 13:47:18 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=big5QH9aeVXwKA2Iq1si0dWY6v40EOzcAJDfp_OHw34-1756072898974-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=2acfahXBJ.1p7p5d4GtwPPq_pGdmnVOXT8eRRejZ.eU-1764508638417-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -446,7 +454,7 @@ }, { "name": "cf-ray", - "value": "9746211f4876c224-TLV" + "value": "9a6a9fca79d8c231-TLV" }, { "name": "content-encoding", @@ -457,14 +465,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1294, + "headersSize": 1321, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-08-24T22:01:38.265Z", - "time": 535, + "startedDateTime": "2025-11-30T13:17:17.741Z", + "time": 612, "timings": { "blocked": -1, "connect": -1, @@ -472,7 +480,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 535 + "wait": 612 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-withWorkflow-syntax_3788948678/recording.har b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-withWorkflow-syntax_3788948678/recording.har index 67932455..9d44f91b 100644 --- a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-withWorkflow-syntax_3788948678/recording.har +++ b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-withWorkflow-syntax_3788948678/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.11.1" + "value": "v20.19.5" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 583, + "headersSize": 475, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 651, + "bodySize": 671, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 651, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLLjhMxELzPVzS+cElWSdjsIxcE7AkOgIS0CLQa9dg9M816bK/dwxJW+XfkyWMSHhIXH7q6yt1V/VQAKDZqBUq3KLoLdvrm6ub8nf18k17Rdf1gq2jslw8/w+Pb2cPHWzXJDF99Iy171pn2XbAk7N0W1pFQKKvOL5cXs8vF1fXFAHTekM20Jsj0xdlyKn2s/HQ2Xyx3zNazpqRW8LUAAHga3jyjM/RDrWA22Vc6SgkbUqtDE4CK3uaKwpQ4CTpRkxHU3gm5Yezbdg2GDUhL8D6Q+0SWOpK4BstVxLiGKhLeQx/gkaUFlgQNR1tHJmdewmvS2CcCFtC+t8Y9F2jRGUuAEMliNiO1vKOjtSAtClTYNNjQs+OxItV9wmyL6609AtA5L1ulbMjdDtkcLLC+CdFX6TeqqtlxastImLzL6ybxQQ3opgC4G6zuT9xTIfouSCn+nobv5sutnBrDHcHFHhQvaMf6+S6eU7XSkCDbdBSV0qhbMiNzzBV7w/4IKI52/nOYv2lv92bX/I/8CGhNQciUIZJhfbrw2BYpn/6/2g4eDwOrRPE7ayqFKeYcDNXY2+1RqrROQl1Zs2sohsjDZeYci03xCwAA//8DAEaTkYeYAwAA\"]" + "size": 671, + "text": "[\"H4sIAAAAAAAAA4xTTY/TMBC991cMvnBpV+0=\",\"9oNVL0iAQBUHhITgsFpFjj1JhjoeY0/KllX/O3LabbqwSFwiZd68l+f3nIcRgCKr1qBMo8W0wU3eNqXGzeZdWm4/ft78WpTxx+p92H1dLOYf7tU4M7j8jkYeWVeG2+BQiP0RNhG1YFadvVotltOb1XzVAy1bdJlWB5nMr5YT6WLJk+nsenliNkwGk1rD7QgA4KF/Zo/e4r1aw3T8OGkxJV2jWp+XAFRklydKp0RJtBc1HkDDXtD3tr81e7BkQRqETwH9F3TYosQ9WNyh44ARyoh6C12AnyRN3qQIiWpPFRntBVgajK/hDRrdJcwLezDcOetfCjTaW9cPwbDvrYBEbcjXoL2Flj0Jx/zK1Uk8otM5xNRQeHFpPGLVJZ2D851zF4D2nuXIyZHdnZDDOSTHdYhcpj+oqiJPqSki6sQ+B5KEg+rRwwjgri+je5KvCpHbIIXwFvvPzZZHOTXUP4DXNydQWLQb5ov5+Bm1wqJocumiTGW0adAOzKF53VniC2B0cea/zTynfTw3+fp/5AfAGAyCtggRLZmnBx7WIuaf419r54x7wyph3JHBQghj7sFipTt3vLYq7ZNgW1Tka4whUn93c4+jw+g3AAAA//8DAHOOIne6AwAA\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-08-24T22:31:37.000Z", + "expires": "2025-11-30T13:47:16.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": ".o0a7QV1g5p2PGVThh2GmiCx5a8.gEUKTV5wQkJcV2o-1756072897-1.0.1.1-p53oAolAr8UafMy5McpEJ9rhTr5Z82LsQPQVeQ5Wca5wKQEq9kaa9EnemekZ6_KBaRWxhl5F.Kf4qkjUGsFC5a3LGZVtl9qnhZompi2UvS0" + "value": "x2J7VoDF8BOX.HCLN7KWGvZbjOFaDMsIBGTqyHIFosk-1764508636-1.0.1.1-PIRi7zJUxJjP_PK1MKLc3Qc8nfcbvdJNmU7lbEQPvb9aEsQLyuAsCq_oOulCqg9jXWjlcjOFwnFLgx4msedRop2W0JIx32p63jqYoax5sks" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "YH._SGFPHKE16IZLGfcgZL0Vqk..kuHrGz0kglvAD94-1756072897170-0.0.1.1-604800000" + "value": "fo0rSet.BoBT5o7_Ynq8ug2NvVBOwWeEZD8_un3Wu_o-1764508636677-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:37 GMT" + "value": "Sun, 30 Nov 2025 13:17:16 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "334" + "value": "346" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "414" + "value": "364" }, { "name": "x-ratelimit-limit-requests", @@ -182,7 +182,11 @@ }, { "name": "x-request-id", - "value": "req_fc8ecede554a4503985a45721f1b8aa9" + "value": "req_cc40523ff92d46cca2f52a9d1968ee17" + }, + { + "name": "x-openai-proxy-wasm", + "value": "v0.1" }, { "name": "cf-cache-status", @@ -191,12 +195,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=.o0a7QV1g5p2PGVThh2GmiCx5a8.gEUKTV5wQkJcV2o-1756072897-1.0.1.1-p53oAolAr8UafMy5McpEJ9rhTr5Z82LsQPQVeQ5Wca5wKQEq9kaa9EnemekZ6_KBaRWxhl5F.Kf4qkjUGsFC5a3LGZVtl9qnhZompi2UvS0; path=/; expires=Sun, 24-Aug-25 22:31:37 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=x2J7VoDF8BOX.HCLN7KWGvZbjOFaDMsIBGTqyHIFosk-1764508636-1.0.1.1-PIRi7zJUxJjP_PK1MKLc3Qc8nfcbvdJNmU7lbEQPvb9aEsQLyuAsCq_oOulCqg9jXWjlcjOFwnFLgx4msedRop2W0JIx32p63jqYoax5sks; path=/; expires=Sun, 30-Nov-25 13:47:16 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=YH._SGFPHKE16IZLGfcgZL0Vqk..kuHrGz0kglvAD94-1756072897170-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=fo0rSet.BoBT5o7_Ynq8ug2NvVBOwWeEZD8_un3Wu_o-1764508636677-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -212,7 +216,7 @@ }, { "name": "cf-ray", - "value": "97462113aa47c224-TLV" + "value": "9a6a9fbfdf38c231-TLV" }, { "name": "content-encoding", @@ -223,14 +227,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1294, + "headersSize": 1321, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-08-24T22:01:36.384Z", - "time": 612, + "startedDateTime": "2025-11-30T13:17:16.028Z", + "time": 573, "timings": { "blocked": -1, "connect": -1, @@ -238,7 +242,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 612 + "wait": 573 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-workflow-and-tasks-spans-with-chained-entity-names_971051426/recording.har b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-workflow-and-tasks-spans-with-chained-entity-names_971051426/recording.har index d8353ac2..0e91ecad 100644 --- a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-workflow-and-tasks-spans-with-chained-entity-names_971051426/recording.har +++ b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-workflow-and-tasks-spans-with-chained-entity-names_971051426/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.11.1" + "value": "v20.19.5" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 583, + "headersSize": 475, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 619, + "bodySize": 615, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 619, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFJLTxsxEL7vrxh8TlAeLEtyqVBbqYf2QFSJSoBWjj3ZNfV6LHu2IkL575Udkg0tSFx8mO/h+WbmuQAQRoslCNVKVp23489XXy5uFpPbr0/V95vHX9tKluVPe1G18urHQoySgtaPqPigOlfUeYtsyO1hFVAyJtdpVV5OqtliMstARxptkjWex/Pzcsx9WNN4Mp2VL8qWjMIolnBXAAA85zf16DQ+iSVMRodKhzHKBsXySAIQgWyqCBmjiSwdi9EAKnKMLrd9225BGw3cIngTJCM0BEy5cO29RYhMAT/du3v3DaFFGTJ7C63U0KSAcL1arVZnmewD6V5xPDv9L+CmjzLldb21J4B0jlimeeWkDy/I7pjNUuMDreM/UrExzsS2DigjuZQjMnmR0V0B8JBn2L8ai/CBOs8102/M303nezsxbG0AZweQiaUd6vPL0RtutUaWxsaTHQglVYt6UA4Lk702dAIUJ5n/b+Yt731u45qP2A+AUugZde0DaqNeBx5oAdNNv0c7zjg3LCKGP0ZhzQZD2oPGjezt/tpE3EbGrt4Y12DwweSTS3ssdsVfAAAA//8DAFZ//nhxAwAA\"]" + "size": 615, + "text": "[\"H4sIAAAAAAAAA4xSTWsbMRC976+Y6mwHf6Y=\",\"iS+B5NRTKRQSaMIylsa7SrQaIc2WmuD/XiQ73k2bQmHZw7x5T/PmzWsFoKxRG1C6RdFdcNO7dovPq+XDGrf6y8P328V107vE3+76r1f3apIZvH0mLW+sC81dcCSW/RHWkVAoq84/X67Ws6vL1bwAHRtymdYEmS4v1lPp45ans/lifWK2bDUltYEfFQDAa/nnGb2hX2oDs8lbpaOUsCG1OTcBqMguVxSmZJOgFzUZQM1eyJex79s9GGtAWoJgIwpBwyBcColwx2wgUhLsI3q5gUf/6G9JY58I2vxhLOw9tGgAITj0L8IeUiBt0X0aPxxp1yfMxn3v3AhA71kwL65Yfjohh7NJx02IvE1/UNXOepvaOhIm9tlQEg6qoIcK4Kkss3+3HxUid0Fq4Rcqz82XRzk1xDeAi/kJFBZ0Q325mnygVhsStC6NwlAadUtmYA7JYW8sj4Bq5PnvYT7SPvq2vvkf+QHQmoKQqUMkY/V7w0NbpHzc/2o777gMrBLFn1ZTLZZizsHQDnt3PDuV9kmoq3fWNxRDtOX2co7VofoNAAD//wMA5Z4/E3oDAAA=\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-08-24T22:31:43.000Z", + "expires": "2025-11-30T13:47:22.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "IRR_Hg1AP1hIx7xeV90ykmOBXoz2pLEKnRN0dELx1Zg-1756072903-1.0.1.1-AQF4vhUO5MxSb3ZAqR7qSwL1IV85zYd3dV8.w0r4MpDeIsHHWE9rDLNABMpeaCnBf8MkQ8Qiu8DwG1jRHFZW2xL0EwWCz_AKzr0CZtXakwM" + "value": "blDsJdgkIsPARRfBwVFqC_X7ODrnqvll94boYaYRYUw-1764508642-1.0.1.1-so8VZWwQGfSkNNxHOW3G9xHBJ3OozL5HhcVzI1ibKxTi5EAixo9ahvTgrz3lnjhU4m_95mKD0CZEquDAiSEUluPTHvRmEL2H0B6gQMPl.r0" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "DhL8C8BfbpdEH.GyvcRiEiSC3Nl.DtOfI21vSncwcaw-1756072903450-0.0.1.1-604800000" + "value": "mFGjqM2AMjDkgjxTMhKnVNLTZWd1XQX91FhAdLRkkFo-1764508642245-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:43 GMT" + "value": "Sun, 30 Nov 2025 13:17:22 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "402" + "value": "238" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "434" + "value": "258" }, { "name": "x-ratelimit-limit-requests", @@ -170,7 +170,7 @@ }, { "name": "x-ratelimit-remaining-tokens", - "value": "49999991" + "value": "49999990" }, { "name": "x-ratelimit-reset-requests", @@ -182,7 +182,11 @@ }, { "name": "x-request-id", - "value": "req_591beb4f122e4457a940476a0d4c6ea3" + "value": "req_ead078e0da02490d94a8ff14d8aba65b" + }, + { + "name": "x-openai-proxy-wasm", + "value": "v0.1" }, { "name": "cf-cache-status", @@ -191,12 +195,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=IRR_Hg1AP1hIx7xeV90ykmOBXoz2pLEKnRN0dELx1Zg-1756072903-1.0.1.1-AQF4vhUO5MxSb3ZAqR7qSwL1IV85zYd3dV8.w0r4MpDeIsHHWE9rDLNABMpeaCnBf8MkQ8Qiu8DwG1jRHFZW2xL0EwWCz_AKzr0CZtXakwM; path=/; expires=Sun, 24-Aug-25 22:31:43 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=blDsJdgkIsPARRfBwVFqC_X7ODrnqvll94boYaYRYUw-1764508642-1.0.1.1-so8VZWwQGfSkNNxHOW3G9xHBJ3OozL5HhcVzI1ibKxTi5EAixo9ahvTgrz3lnjhU4m_95mKD0CZEquDAiSEUluPTHvRmEL2H0B6gQMPl.r0; path=/; expires=Sun, 30-Nov-25 13:47:22 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=DhL8C8BfbpdEH.GyvcRiEiSC3Nl.DtOfI21vSncwcaw-1756072903450-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=mFGjqM2AMjDkgjxTMhKnVNLTZWd1XQX91FhAdLRkkFo-1764508642245-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -212,7 +216,7 @@ }, { "name": "cf-ray", - "value": "9746213acf72c224-TLV" + "value": "9a6a9fe34d2ec231-TLV" }, { "name": "content-encoding", @@ -223,14 +227,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1294, + "headersSize": 1321, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-08-24T22:01:42.656Z", - "time": 705, + "startedDateTime": "2025-11-30T13:17:21.713Z", + "time": 518, "timings": { "blocked": -1, "connect": -1, @@ -238,7 +242,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 705 + "wait": 518 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-fix-Vercel-AI-spans-to-match-OpenLLMetry-format_2061519753/recording.har b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-fix-Vercel-AI-spans-to-match-OpenLLMetry-format_2061519753/recording.har index dc1284de..a60ed136 100644 --- a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-fix-Vercel-AI-spans-to-match-OpenLLMetry-format_2061519753/recording.har +++ b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-fix-Vercel-AI-spans-to-match-OpenLLMetry-format_2061519753/recording.har @@ -20,7 +20,7 @@ "value": "application/json" } ], - "headersSize": 273, + "headersSize": 165, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -32,11 +32,11 @@ "url": "https://api.openai.com/v1/responses" }, "response": { - "bodySize": 1386, + "bodySize": 1469, "content": { "mimeType": "application/json", - "size": 1386, - "text": "{\n \"id\": \"resp_68ab8bc7add8819ea9b67f732665f9c307d5f60e0e511093\",\n \"object\": \"response\",\n \"created_at\": 1756072903,\n \"status\": \"completed\",\n \"background\": false,\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-3.5-turbo-0125\",\n \"output\": [\n {\n \"id\": \"msg_68ab8bc7f3fc819ea0c2e23d86525af907d5f60e0e511093\",\n \"type\": \"message\",\n \"status\": \"completed\",\n \"content\": [\n {\n \"type\": \"output_text\",\n \"annotations\": [],\n \"logprobs\": [],\n \"text\": \"The capital of France is Paris.\"\n }\n ],\n \"role\": \"assistant\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 14,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 8,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 22\n },\n \"user\": null,\n \"metadata\": {}\n}" + "size": 1469, + "text": "{\n \"id\": \"resp_08c986a2dff68ed700692c43e276288196a67f1af74e79fd2c\",\n \"object\": \"response\",\n \"created_at\": 1764508642,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-3.5-turbo-0125\",\n \"output\": [\n {\n \"id\": \"msg_08c986a2dff68ed700692c43e2f520819690a9395db5e9514e\",\n \"type\": \"message\",\n \"status\": \"completed\",\n \"content\": [\n {\n \"type\": \"output_text\",\n \"annotations\": [],\n \"logprobs\": [],\n \"text\": \"The capital of France is Paris.\"\n }\n ],\n \"role\": \"assistant\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 14,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 8,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 22\n },\n \"user\": null,\n \"metadata\": {}\n}" }, "cookies": [ { @@ -46,7 +46,7 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "P8EaloRfchO2T28E00WlABFGpSQEg.5wJZQvTdylH3o-1756072904205-0.0.1.1-604800000" + "value": "LsKka59rH5so4GlU824X3fdtybZwvuIrDSsEnM7b.r0-1764508644735-0.0.1.1-604800000" } ], "headers": [ @@ -60,7 +60,7 @@ }, { "name": "cf-ray", - "value": "9746213f5a2fc21d-TLV" + "value": "9a6a9fe6b9ad7da0-TLV" }, { "name": "connection", @@ -76,7 +76,7 @@ }, { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:44 GMT" + "value": "Sun, 30 Nov 2025 13:17:24 GMT" }, { "name": "openai-organization", @@ -84,7 +84,7 @@ }, { "name": "openai-processing-ms", - "value": "473" + "value": "2187" }, { "name": "openai-project", @@ -100,7 +100,7 @@ }, { "name": "set-cookie", - "value": "_cfuvid=P8EaloRfchO2T28E00WlABFGpSQEg.5wJZQvTdylH3o-1756072904205-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=LsKka59rH5so4GlU824X3fdtybZwvuIrDSsEnM7b.r0-1764508644735-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -116,7 +116,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "479" + "value": "2190" }, { "name": "x-ratelimit-limit-requests", @@ -144,17 +144,17 @@ }, { "name": "x-request-id", - "value": "req_4f8c2704443c7883a23b021fdafc9f72" + "value": "req_e45429f04bec44cc9fb2afc0a1b99c04" } ], - "headersSize": 953, + "headersSize": 955, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-08-24T22:01:43.375Z", - "time": 653, + "startedDateTime": "2025-11-30T13:17:22.243Z", + "time": 2413, "timings": { "blocked": -1, "connect": -1, @@ -162,7 +162,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 653 + "wait": 2413 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-create-spans-if-suppressed_3154458667/recording.har b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-create-spans-if-suppressed_3154458667/recording.har index c6745e17..5443e1e2 100644 --- a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-create-spans-if-suppressed_3154458667/recording.har +++ b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-create-spans-if-suppressed_3154458667/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.11.1" + "value": "v20.19.5" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 583, + "headersSize": 475, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 642, + "bodySize": 631, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 642, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLBbtswDL37KzidkyJpm6bNZdhWYDsE2A4bNmAoDFpibK6ypEp026DIvw9y0tjdOmAXHfj4nvj4+FQAKDZqBUo3KLoNdvrh8vp8/e3HNW7uDdUf+W52IZ/eGVqvqzutJpnhq1+k5Zl1on0bLAl7t4d1JBTKqvPl4mK2PL28WvZA6w3ZTKuDTM9OFlPpYuWns/np4sBsPGtKagU/CwCAp/7NMzpDj2oFs8lzpaWUsCa1OjYBqOhtrihMiZOgEzUZQO2dkOvH/t5swbCBz4HcV7LUksQtVJHwFroADywNfIm+JWmoS2/hPWnsEgELPKATMtD6SLCx9MgVW5YtoDNgKSWosK6xpjfjryNtuoTZuuusHQHonBfMq+tN3xyQ3dGm9XWIvkp/UNWGHaemjITJu2wpiQ+qR3cFwE2/zu7FhlSIvg1Sir+l/rv5Yi+nhgBH4NUBFC9oh/rZ+eQVtdKQINs0ikNp1A2ZgTlkh51hPwKKkee/h3lNe++bXf0/8gOgNQUhU4ZIhvVLw0NbpHze/2o77rgfWCWK96ypFKaYczC0wc7uD0+lbRJqyw27mmKI3F9fzrHYFb8BAAD//w==\",\"AwDCAjhKfAMAAA==\"]" + "size": 631, + "text": "[\"H4sIAAAAAAAAA4xSwW7UMBC95ysGX7jsVrs=\",\"bbNUe0EUJC5I5YAEq6qKJvZsYurYlj0uhGr/HTnZbtICEhcf5s17njdvHgsAoZXYgpAtsuy8Wb5va6T+Xbi82sWyv/7gv/36/DF92nC82e3EIjNc/Z0kP7HOpOu8IdbOjrAMhExZdf1mc1murjYXmwHonCKTaY3n5cVZueQUardcrc/LI7N1WlIUW7gtAAAehzfPaBX9FFtYLZ4qHcWIDYntqQlABGdyRWCMOjJaFosJlM4y2WHsr20PSivgluDGk/1Chjri0IOiBzLOU4A6EN5D8vBDc5s7dQCJRiaD7MJbuCaJKRJoBumSUfY1Q4tWGRpks5yW8dV8gkD7FDFvwCZjZgBa6xjzBgfvd0fkcHJrXOODq+MLqthrq2NbBcLobHYW2XkxoIcC4G7Yanq2KOGD6zxX7O5p+G5djnJiynECz9dHkB2jmepjoi/VKkWM2sRZKkKibElNzClCTEq7GVDMPP85zN+0R9/aNv8jPwFSkmdSlQ+ktHxueGoLlK/8X22nHQ8Di0jhQUuqWFPIOSjaYzLj/YnYR6au2mvbUPBBD0eYcywOxW8AAAD//wMAVtHA+4MDAAA=\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-08-24T22:31:37.000Z", + "expires": "2025-11-30T13:47:17.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "wFBZZAg_vH7JfuPZdhziPF5QEDeXslRCviaMd1pMf98-1756072897-1.0.1.1-oZwMELBILtLebClutI0hL.gwncZF1VUAShKx3w2vIexyT.D4JlI.cFSWlhAaW.N7kEOkrBklUP8EpZ0YlmlJ7mTK4w9DVrcDVa7ZfhjlMq8" + "value": "mMfSeCzNakQTVNNFKt.bR4mlCRTWGdx.RGqlxa.KTzw-1764508637-1.0.1.1-1IlAe9aUzwJ7BVgx2DtRIH9Ssylt7ra1KX7lw1NTf2xt1RXVoWtseWdpSi6U20Rklgwq705bfOvTwyKqDIlgkx0D.UzWbqU1eObl1dc4_1U" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "XcuBmrYglqlzf.yeXDX_DaGRxqlZrsRg2fHtwKMvjAo-1756072897775-0.0.1.1-604800000" + "value": "1P3H46LUB_UUBFPR66.ZRzN3cd6JmBiE2kyx0v1RpWw-1764508637237-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:37 GMT" + "value": "Sun, 30 Nov 2025 13:17:17 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "309" + "value": "331" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "402" + "value": "352" }, { "name": "x-ratelimit-limit-requests", @@ -182,7 +182,11 @@ }, { "name": "x-request-id", - "value": "req_63c3403fefe94d1faf1f9d967e0e8c50" + "value": "req_661f4e342c2741f2b4bfd6daad5169f8" + }, + { + "name": "x-openai-proxy-wasm", + "value": "v0.1" }, { "name": "cf-cache-status", @@ -191,12 +195,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=wFBZZAg_vH7JfuPZdhziPF5QEDeXslRCviaMd1pMf98-1756072897-1.0.1.1-oZwMELBILtLebClutI0hL.gwncZF1VUAShKx3w2vIexyT.D4JlI.cFSWlhAaW.N7kEOkrBklUP8EpZ0YlmlJ7mTK4w9DVrcDVa7ZfhjlMq8; path=/; expires=Sun, 24-Aug-25 22:31:37 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=mMfSeCzNakQTVNNFKt.bR4mlCRTWGdx.RGqlxa.KTzw-1764508637-1.0.1.1-1IlAe9aUzwJ7BVgx2DtRIH9Ssylt7ra1KX7lw1NTf2xt1RXVoWtseWdpSi6U20Rklgwq705bfOvTwyKqDIlgkx0D.UzWbqU1eObl1dc4_1U; path=/; expires=Sun, 30-Nov-25 13:47:17 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=XcuBmrYglqlzf.yeXDX_DaGRxqlZrsRg2fHtwKMvjAo-1756072897775-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=1P3H46LUB_UUBFPR66.ZRzN3cd6JmBiE2kyx0v1RpWw-1764508637237-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -212,7 +216,7 @@ }, { "name": "cf-ray", - "value": "974621177c83c224-TLV" + "value": "9a6a9fc36b12c231-TLV" }, { "name": "content-encoding", @@ -223,14 +227,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1294, + "headersSize": 1321, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-08-24T22:01:37.014Z", - "time": 586, + "startedDateTime": "2025-11-30T13:17:16.611Z", + "time": 602, "timings": { "blocked": -1, "connect": -1, @@ -238,7 +242,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 586 + "wait": 602 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-log-prompts-if-traceContent-is-disabled_2300077433/recording.har b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-log-prompts-if-traceContent-is-disabled_2300077433/recording.har index c00e1c6b..9c4db747 100644 --- a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-log-prompts-if-traceContent-is-disabled_2300077433/recording.har +++ b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-log-prompts-if-traceContent-is-disabled_2300077433/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.11.1" + "value": "v20.19.5" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 583, + "headersSize": 475, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 631, + "bodySize": 651, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 631, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLBbtswDL37KzidkyJJ5ybLpcA2YNiph67tYSgMWWJsrbIoSHQwo8i/D1LS2N06oBcD5uN74uPjcwEgjBZbEKqVrDpv5182Xz/eNOrudl23d/fN/QY3tw9lvfi2/962YpYYVP9CxS+sC0Wdt8iG3BFWASVjUl2uy6vFevVpschARxptojWe55cX5Zz7UNN8sVyVJ2ZLRmEUW/hZAAA852+a0Wn8LbaQdXKlwxhlg2J7bgIQgWyqCBmjiSwdi9kIKnKMLo/90A6gjQZuEW48uh9osUMOA2jcoyWPARqCOtATXsNnVLKPmLoHiB4dg7Q2/ZoAHTkcgBxwkAojSKcheunih+nbAXd9lMm7662dANI5Ypl2l10/npDD2aelxgeq419UsTPOxLYKKCO55CkyeZHRQwHwmPfZv1qR8IE6zxXTE+bnluVRTowJjuBqeQKZWNqxfnk1e0Ot0sjS2DjJQyipWtQjcwxP9trQBCgmnv8d5i3to2/jmvfIj4BS6Bl15QNqo14bHtsCpvv+X9t5x3lgETHsjcKKDYaUg8ad7O3x8kQcImNX7YxrMPhg8vmlHItD8QcAAP//AwATBqKFfQMAAA==\"]" + "size": 651, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLBbhMxEL3vVwy+cEmqJG1CyQVRJMQNkBCViqrVrD27a+r1WPYsNFT5d+RNmt1Ckbj4MG/e85s381AAKGvUFpRuUXQX3PxdW2GbyG9WiS7fX+mbD9fdr7c3n7/6T3SvZpnB1XfS8sg609wFR2LZH2AdCYWy6vLV5mK9uNycvx6Ajg25TGuCzM/P1nPpY8XzxXK1PjJbtpqS2sK3AgDgYXizR2/oXm1hMXusdJQSNqS2pyYAFdnlisKUbBL0omYjqNkL+cH2dbsDYw1IS/AxkP9CjjqSuIMQOc8GVSS8gz7ATytt7rMRkm28ra1GL8DSUnwDV6SxT5QbdqC5d8a/FGjRGzcUocKmwYaA66MIOwMGBV9MrUWq+4Q5Gt87NwHQexbM0Q6h3B6R/SkGx02IXKU/qKq23qa2jISJfR45CQc1oPsC4HaIu3+SoAqRuyCl8B0N3y3XBzk1LngEV5sjKCzoxvrFcvaMWmlI0Lo0WZfSqFsyI3PcLfbG8gQoJjP/beY57cPc1jf/Iz8CWlMQMmWIZKx+OvDYFimfyL/aThkPhlWi+MNqKsVSzHswVGPvDoep0i4JdWVtfUMxRDtcZ95jsS9+AwAA//8DAEFgkBecAwAA\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-08-24T22:31:40.000Z", + "expires": "2025-11-30T13:47:20.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "WXrZutJXMPGe.wXKDL3w7_ZmS5QKsmJTpgcksnnb_hA-1756072900-1.0.1.1-qVloEljip5gX9aaWr7HPaS.PF9PxY6_u2.vBZ74pfy14nZcXG8CnONCwZ7ahu4AeB.0SXZEWldKXsE7OyAO4IGbQmGKKxlMwMDv0bt4N2kM" + "value": "PZkIKofa0u1VayKkb0Y_D.wEo9Q2mIYJWbf1i_2RO4o-1764508640-1.0.1.1-xKc5uR4PS5BYTGLM4rJ.eNA9oPiVXCaTxLgkxyczMBlcoK9GzCNmUMJoRikQhQRUdIKsAbEmLXoxf5qT1ToTkyNpG30.SMGrGwx5t3n0VDA" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "zFlJV8fp4zZp9SvQkExRD_jKNvEd_eREmhnsBSwUdLs-1756072900683-0.0.1.1-604800000" + "value": "AyvPOr_vsclZiAKNb_TUSFrMs_TbyfUYYTNzjHw2FxA-1764508640159-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:40 GMT" + "value": "Sun, 30 Nov 2025 13:17:20 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "252" + "value": "292" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "284" + "value": "313" }, { "name": "x-ratelimit-limit-requests", @@ -182,7 +182,11 @@ }, { "name": "x-request-id", - "value": "req_49eddfab62d343bf8b0e6265e6aa9da4" + "value": "req_1066035960dc4a8cb2698a71917e62b5" + }, + { + "name": "x-openai-proxy-wasm", + "value": "v0.1" }, { "name": "cf-cache-status", @@ -191,12 +195,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=WXrZutJXMPGe.wXKDL3w7_ZmS5QKsmJTpgcksnnb_hA-1756072900-1.0.1.1-qVloEljip5gX9aaWr7HPaS.PF9PxY6_u2.vBZ74pfy14nZcXG8CnONCwZ7ahu4AeB.0SXZEWldKXsE7OyAO4IGbQmGKKxlMwMDv0bt4N2kM; path=/; expires=Sun, 24-Aug-25 22:31:40 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=PZkIKofa0u1VayKkb0Y_D.wEo9Q2mIYJWbf1i_2RO4o-1764508640-1.0.1.1-xKc5uR4PS5BYTGLM4rJ.eNA9oPiVXCaTxLgkxyczMBlcoK9GzCNmUMJoRikQhQRUdIKsAbEmLXoxf5qT1ToTkyNpG30.SMGrGwx5t3n0VDA; path=/; expires=Sun, 30-Nov-25 13:47:20 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=zFlJV8fp4zZp9SvQkExRD_jKNvEd_eREmhnsBSwUdLs-1756072900683-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=AyvPOr_vsclZiAKNb_TUSFrMs_TbyfUYYTNzjHw2FxA-1764508640159-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -212,7 +216,7 @@ }, { "name": "cf-ray", - "value": "9746212a6e1fc224-TLV" + "value": "9a6a9fd5ed9cc231-TLV" }, { "name": "content-encoding", @@ -223,14 +227,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1294, + "headersSize": 1321, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-08-24T22:01:40.038Z", - "time": 472, + "startedDateTime": "2025-11-30T13:17:19.578Z", + "time": 504, "timings": { "blocked": -1, "connect": -1, @@ -238,7 +242,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 472 + "wait": 504 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-mix-association-properties-for-traces-that-run-in-parallel_4012223284/recording.har b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-mix-association-properties-for-traces-that-run-in-parallel_4012223284/recording.har index 5d5ddbc1..487b879a 100644 --- a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-mix-association-properties-for-traces-that-run-in-parallel_4012223284/recording.har +++ b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-mix-association-properties-for-traces-that-run-in-parallel_4012223284/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.11.1" + "value": "v20.19.5" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 583, + "headersSize": 475, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 638, + "bodySize": 651, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 638, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLBbhMxEL3vVwy+cEmqTdttaC5IUHEAAT1UAoSq1aw92TX12pY9SwhV/r2yk2a3UCQuPsyb9zxv3twXAEIrsQIhO2TZezN/++rq/Hpz9a6svn2t1M1ygx9/L9/ra/8pXnwQs8RwzQ+S/Mg6ka73hlg7u4dlIGRKqotldVEuTy/LRQZ6p8gkWut5fnZSzXkIjZuXi9PqwOyclhTFCr4XAAD3+U0zWkW/xArK2WOlpxixJbE6NgGI4EyqCIxRR0bLYjaC0lkmm8f+0m1BaQXcEfjg2oB9TwGaQHgHg4eN5g4+e7I3ZKgnDtvX8IYkDpFAM0g3GGVfMnRolaEkowM02LbY0ovpn4HWQ8Tk2Q7GTAC01jGmnWW3twdkd/RnXOuDa+IfVLHWVseuDoTR2eQlsvMio7sC4DbvcXiyGuGD6z3X7O4of7eo9nJiTG4CXh5AdoxmrJ+dz55RqxUxahMnOQiJsiM1MsfQcFDaTYBi4vnvYZ7T3vvWtv0f+RGQkjyTqn0gpeVTw2NboHTX/2o77jgPLCKFn1pSzZpCykHRGgezvzgRt5Gpr9fathR80PnsUo7FrngAAAD//w==\",\"AwAPCAJKdQMAAA==\"]" + "size": 651, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFJNbxMxEL3vrxh84ZJUSfMBzQWpIFAv5VKpElW1mrUnXrde29izNFGV/47shGwKrcTFh3nznt+8mecKQBglViBkiyy7YMef2wbN15vrrX76eXV1/eXhctN1Guc/vs1ul2KUGb55IMl/WGfSd8ESG+/2sIyETFl1+mE5X0w+LueTAnRekc00HXg8O1uMuY+NH0+m54sDs/VGUhIruKsAAJ7Lmz06RRuxgqJTKh2lhJrE6tgEIKK3uSIwJZMYHYvRAErvmFyxfdtuQRkF3wO5G7LUEcctNJHwEfoAT4Zb4JZMhBC9jth1xmmw6HSPmoA2n+CSJPaJctsWpO+tcu8ZWnTK0oHboNa53a+BI0oChYzvTi1FWvcJcySut/YEQOc8Y460hHF/QHbH8a3XIfom/UUVa+NMautImLzLoyb2QRR0VwHcl5j7F8mJEH0XuGb/SOW76WIvJ4bFDuD5/ACyZ7RDfXYxekWtVsRobDpZk5AoW1IDc9gp9sr4E6A6mflfM69p7+c2Tv+P/ABISYFJ1SGSMvLlwENbpHz2b7UdMy6GRaL4y0iq2VDMe1C0xt7uD1KkbWLq6rVxmmKIplxl3mO1q34DAAD//wMAYyTCTZQDAAA=\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-08-24T22:31:42.000Z", + "expires": "2025-11-30T13:47:21.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "5LdPDa9QuhdmPhJLaevJQdYEXFlSbg.VesHdrl2M_Cg-1756072902-1.0.1.1-paVcN1duzBDcEl4_0vhu_udvfhsDwsduqStN9aBPAVU9eSWXknTT6vE3BdV3Ed2UOzbCsoqY2UC3Pgv8FLPh6I3WJ4oHvFTUow5Pp3dtt7Y" + "value": "pRYY55lm2cvyQ4IrnMN2mJH83V.Dyjssy2GjrxCLwnY-1764508641-1.0.1.1-mDctBeIDci6UEB1qHIFzfka0M..8R3SQiYN7fspcSUSm2O.MXZnGvSvwgSAmu4ZI1ZzSY7gjXaAbXOVCK4A4SSyEBKdEFmLOJjmzoWmuifo" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "9ybM4dAXua_uWMt5BCxBdt6Qa5HMb6WNZt7LOQ3_3h4-1756072902253-0.0.1.1-604800000" + "value": "ktc4eCCtn3.7tc4mhEVnEKjLFUTqkeYwgJ.T_5wW034-1764508641197-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:42 GMT" + "value": "Sun, 30 Nov 2025 13:17:21 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "626" + "value": "338" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "711" + "value": "362" }, { "name": "x-ratelimit-limit-requests", @@ -182,7 +182,11 @@ }, { "name": "x-request-id", - "value": "req_40e6271fb4794c89977bbe8d94585941" + "value": "req_e803cba21b66413396c9f6b90d400860" + }, + { + "name": "x-openai-proxy-wasm", + "value": "v0.1" }, { "name": "cf-cache-status", @@ -191,12 +195,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=5LdPDa9QuhdmPhJLaevJQdYEXFlSbg.VesHdrl2M_Cg-1756072902-1.0.1.1-paVcN1duzBDcEl4_0vhu_udvfhsDwsduqStN9aBPAVU9eSWXknTT6vE3BdV3Ed2UOzbCsoqY2UC3Pgv8FLPh6I3WJ4oHvFTUow5Pp3dtt7Y; path=/; expires=Sun, 24-Aug-25 22:31:42 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=pRYY55lm2cvyQ4IrnMN2mJH83V.Dyjssy2GjrxCLwnY-1764508641-1.0.1.1-mDctBeIDci6UEB1qHIFzfka0M..8R3SQiYN7fspcSUSm2O.MXZnGvSvwgSAmu4ZI1ZzSY7gjXaAbXOVCK4A4SSyEBKdEFmLOJjmzoWmuifo; path=/; expires=Sun, 30-Nov-25 13:47:21 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=9ybM4dAXua_uWMt5BCxBdt6Qa5HMb6WNZt7LOQ3_3h4-1756072902253-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=ktc4eCCtn3.7tc4mhEVnEKjLFUTqkeYwgJ.T_5wW034-1764508641197-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -212,7 +216,7 @@ }, { "name": "cf-ray", - "value": "974621318af8c224-TLV" + "value": "9a6a9fdc2cfac231-TLV" }, { "name": "content-encoding", @@ -223,14 +227,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1294, + "headersSize": 1321, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-08-24T22:01:41.176Z", - "time": 905, + "startedDateTime": "2025-11-30T13:17:20.572Z", + "time": 547, "timings": { "blocked": -1, "connect": -1, @@ -238,7 +242,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 905 + "wait": 547 } }, { @@ -297,7 +301,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.11.1" + "value": "v20.19.5" }, { "_fromType": "array", @@ -309,7 +313,7 @@ "value": "api.openai.com" } ], - "headersSize": 583, + "headersSize": 475, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -321,23 +325,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 642, + "bodySize": 643, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 642, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFJNb9swDL37V3A6J0U+6rbLZUDXy4Cg2LABw9AWhiLRtlpZVCU6m1fkvxdy0tjdOmAXHfj4nvj4+JQBCKPFCoSqJavG2+nHi6vTL1dWm/v1+uvnn/hjeS2b/PLT73X+eCYmiUGbe1T8wjpR1HiLbMjtYRVQMibV+Xl+NjtfvJ8teqAhjTbRKs/T5Uk+5TZsaDqbL/IDsyajMIoV3GQAAE/9m2Z0Gn+JFcwmL5UGY5QVitWxCUAEsqkiZIwmsnQsJgOoyDG6fuzvdQfaaOAa4VvnMapgPIPGLVryGKAi2AR6wA+37tZdopJtRKgRFLVWg8MtBiiN0yCBO4/ABFFuEWoToSGH3bvxzwHLNsrk3LXWjgDpHLFMm+s93x2Q3dGlpcoH2sQ/qKI0zsS6CCgjueQoMnnRo7sM4K7fZvtqQcIHajwXTA/Yfzc/3cuJIb8BXMwPIBNLO9SX+eQNtUIjS2PjKA2hpKpRD8whOtlqQyMgG3n+e5i3tPe+jav+R34AlELPqAsfUBv12vDQFjBd97/ajjvuBxYRw9YoLNhgSDloLGVr93cnYhcZm6I0rsLgg+mPL+WY7bJnAAAA//8=\",\"AwAbA/V1ewMAAA==\"]" + "size": 643, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLBbtNAEL37K4Y9J1WcJgHlUgECqRfgAKKCVtZ6d2xPs95d7Y4TQpV/R+uksUuLxMWy5s17+97MPGQAgrRYg1CNZNV6M33flPK+237pfuOnH/gh/9h8u97dXNdvP9+YlZgkhivvUfEj60K51htkcvYIq4CSManmr1eL5ezNapH3QOs0mkSrPU8vL5ZT7kLpprN8vjwxG0cKo1jDzwwA4KH/Jo9W4y+xhtnksdJijLJGsT43AYjgTKoIGSNFlpbFZACVs4y2t/292YMmDdwgaNyicR4DlAHlBjoPO+IGvu49RhXI89WtvbXvUMkuIhDDBj1DjcxkayDbq+zkHlyVfilA5ECKgfeebB1fjU0ErLoo0xBsZ8wIkNY6lmmIffy7E3I4Bzau9sGV8S+qqMhSbIqAMjqbwkV2XvToIQO46wfbPZmV8MG1ngt2G+yfyxdHOTGscgDn8xPIjqUZ6peryQtqhUaWZOJoMUJJ1aAemMMWZafJjYBslPm5mZe0j7nJ1v8jPwBKoWfUhQ+oST0NPLQFTIf+r7bzjHvDImLYksKCCUPag8ZKduZ4giLuI2NbVGRrDD5Qf4dpj9kh+wMAAP//AwCjXyiPhgMAAA==\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-08-24T22:31:42.000Z", + "expires": "2025-11-30T13:47:21.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "s5ezr2reow0iUjom4W5SQbe59110zsyhl3XoBwp9EZk-1756072902-1.0.1.1-MvZ1Teo9IAFjqA03_NN5YaTRRt3BfP5vzrOIV9AhIne6ZKOwPAt5GVHWmL9YBdg_GkQMevvf7jv7XKJ42uuniFt7_NdThGI3Af93ORcQwmY" + "value": "X.IEFGyoRDs51uqqV9mmDLktbp7L1IjHIVs8BfF43cM-1764508641-1.0.1.1-bvPpQqhwfRBuScL1ngdrtaIPo_ZuyBFkZNI5XWg47uHlum7.6gPEOzeMD7oKUci36zIuVxYcVPcxmjYZScf2L4cQWxsp.S2imMoWE1j8Ydg" }, { "domain": ".api.openai.com", @@ -346,13 +350,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "Kn_ix9wRHm5xwHRtdW8Eo5t8WfMk91NtyM668K1r8wg-1756072902820-0.0.1.1-604800000" + "value": "UxzB45_HcNZPQfvc0fgmxoflYq98kAdemFkdP5t35fI-1764508641778-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 24 Aug 2025 22:01:42 GMT" + "value": "Sun, 30 Nov 2025 13:17:21 GMT" }, { "name": "content-type", @@ -376,7 +380,7 @@ }, { "name": "openai-processing-ms", - "value": "307" + "value": "363" }, { "name": "openai-project", @@ -388,7 +392,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "367" + "value": "387" }, { "name": "x-ratelimit-limit-requests", @@ -416,7 +420,11 @@ }, { "name": "x-request-id", - "value": "req_7c96125e6839483584219a584a2f1672" + "value": "req_dd549b0ac7cf4075bc841f95b347093a" + }, + { + "name": "x-openai-proxy-wasm", + "value": "v0.1" }, { "name": "cf-cache-status", @@ -425,12 +433,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=s5ezr2reow0iUjom4W5SQbe59110zsyhl3XoBwp9EZk-1756072902-1.0.1.1-MvZ1Teo9IAFjqA03_NN5YaTRRt3BfP5vzrOIV9AhIne6ZKOwPAt5GVHWmL9YBdg_GkQMevvf7jv7XKJ42uuniFt7_NdThGI3Af93ORcQwmY; path=/; expires=Sun, 24-Aug-25 22:31:42 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=X.IEFGyoRDs51uqqV9mmDLktbp7L1IjHIVs8BfF43cM-1764508641-1.0.1.1-bvPpQqhwfRBuScL1ngdrtaIPo_ZuyBFkZNI5XWg47uHlum7.6gPEOzeMD7oKUci36zIuVxYcVPcxmjYZScf2L4cQWxsp.S2imMoWE1j8Ydg; path=/; expires=Sun, 30-Nov-25 13:47:21 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=Kn_ix9wRHm5xwHRtdW8Eo5t8WfMk91NtyM668K1r8wg-1756072902820-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=UxzB45_HcNZPQfvc0fgmxoflYq98kAdemFkdP5t35fI-1764508641778-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -446,7 +454,7 @@ }, { "name": "cf-ray", - "value": "974621373da3c224-TLV" + "value": "9a6a9fdf98e7c231-TLV" }, { "name": "content-encoding", @@ -457,14 +465,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1294, + "headersSize": 1321, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-08-24T22:01:42.087Z", - "time": 556, + "startedDateTime": "2025-11-30T13:17:21.126Z", + "time": 580, "timings": { "blocked": -1, "connect": -1, @@ -472,7 +480,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 556 + "wait": 580 } } ], diff --git a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts index 0aa4122b..5ee69360 100644 --- a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts +++ b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts @@ -5,14 +5,22 @@ import { } from "@traceloop/ai-semantic-conventions"; const AI_GENERATE_TEXT = "ai.generateText"; +const AI_STREAM_TEXT = "ai.streamText"; +const AI_GENERATE_OBJECT = "ai.generateObject"; +const AI_STREAM_OBJECT = "ai.streamObject"; const AI_GENERATE_TEXT_DO_GENERATE = "ai.generateText.doGenerate"; const AI_GENERATE_OBJECT_DO_GENERATE = "ai.generateObject.doGenerate"; const AI_STREAM_TEXT_DO_STREAM = "ai.streamText.doStream"; +const AI_STREAM_OBJECT_DO_STREAM = "ai.streamObject.doStream"; const HANDLED_SPAN_NAMES: Record = { [AI_GENERATE_TEXT]: "run.ai", + [AI_STREAM_TEXT]: "stream.ai", + [AI_GENERATE_OBJECT]: "object.ai", + [AI_STREAM_OBJECT]: "stream-object.ai", [AI_GENERATE_TEXT_DO_GENERATE]: "text.generate", [AI_GENERATE_OBJECT_DO_GENERATE]: "object.generate", [AI_STREAM_TEXT_DO_STREAM]: "text.stream", + [AI_STREAM_OBJECT_DO_STREAM]: "object.stream", }; const TOOL_SPAN_NAME = "ai.toolCall"; @@ -419,12 +427,19 @@ const transformTelemetryMetadata = ( // Set agent name on all spans for context attributes[SpanAttributes.GEN_AI_AGENT_NAME] = agentName; - // Only set span kind to "agent" for the root AI span + // Only set span kind to "agent" for top-level AI spans // Note: At this point, span names have already been transformed to use agent name, - // so we check if spanName matches the agent name OR the default "run.ai" name + // so we check if spanName matches the agent name OR any of the default top-level span names + const topLevelSpanNames = [ + HANDLED_SPAN_NAMES[AI_GENERATE_TEXT], + HANDLED_SPAN_NAMES[AI_STREAM_TEXT], + HANDLED_SPAN_NAMES[AI_GENERATE_OBJECT], + HANDLED_SPAN_NAMES[AI_STREAM_OBJECT], + ]; + if ( - spanName === HANDLED_SPAN_NAMES[AI_GENERATE_TEXT] || - spanName === agentName + spanName && + (spanName === agentName || topLevelSpanNames.includes(spanName)) ) { attributes[SpanAttributes.TRACELOOP_SPAN_KIND] = TraceloopSpanKindValues.AGENT; @@ -483,19 +498,25 @@ const shouldHandleSpan = (span: ReadableSpan): boolean => { return span.instrumentationScope?.name === "ai"; }; +// Top-level AI SDK spans that can have agent names +const TOP_LEVEL_AI_SPANS = [ + AI_GENERATE_TEXT, + AI_STREAM_TEXT, + AI_GENERATE_OBJECT, + AI_STREAM_OBJECT, +]; + export const transformAiSdkSpanNames = (span: Span): void => { if (span.name === TOOL_SPAN_NAME) { span.updateName(`${span.attributes["ai.toolCall.name"] as string}.tool`); } if (span.name in HANDLED_SPAN_NAMES) { - // Check if this is a root AI span with agent metadata + // Check if this is a top-level AI span with agent metadata const agentName = span.attributes[`${AI_TELEMETRY_METADATA_PREFIX}agent`]; - if ( - agentName && - typeof agentName === "string" && - span.name === AI_GENERATE_TEXT - ) { - // Use agent name for root AI spans instead of generic "run.ai" + const isTopLevelSpan = TOP_LEVEL_AI_SPANS.includes(span.name); + + if (agentName && typeof agentName === "string" && isTopLevelSpan) { + // Use agent name for top-level AI spans instead of generic names span.updateName(agentName); } else { span.updateName(HANDLED_SPAN_NAMES[span.name]); diff --git a/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts b/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts index ed5fc098..619c129b 100644 --- a/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts +++ b/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts @@ -17,7 +17,7 @@ import * as assert from "assert"; import { openai as vercel_openai } from "@ai-sdk/openai"; -import { generateText, tool } from "ai"; +import { generateText, generateObject, streamText, tool } from "ai"; import { z } from "zod"; import { SpanAttributes } from "@traceloop/ai-semantic-conventions"; @@ -314,4 +314,121 @@ describe("Test AI SDK Agent Integration with Recording", function () { "Root span should not have span kind when no agent metadata", ); }); + + it("should use agent name for generateObject with agent metadata", async () => { + const PersonSchema = z.object({ + name: z.string(), + age: z.number(), + occupation: z.string(), + }); + + const result = await traceloop.withWorkflow( + { name: "test_generate_object_agent_workflow" }, + async () => { + return await generateObject({ + model: vercel_openai("gpt-4o-mini"), + schema: PersonSchema, + prompt: "Generate a person profile for a software engineer", + experimental_telemetry: { + isEnabled: true, + functionId: "test_generate_object_function", + metadata: { + agent: "profile_generator_agent", + sessionId: "test_session_object", + }, + }, + }); + }, + ); + + // Force flush to ensure all spans are exported + await traceloop.forceFlush(); + + const spans = memoryExporter.getFinishedSpans(); + + // Find the root AI span (should be named with agent name) + const rootSpan = spans.find((span) => span.name === "profile_generator_agent"); + + assert.ok(result); + assert.ok( + rootSpan, + "Root generateObject span should exist and be named with agent name", + ); + + // Verify root span has agent attributes + assert.strictEqual( + rootSpan.attributes[SpanAttributes.GEN_AI_AGENT_NAME], + "profile_generator_agent", + "Root span should have agent name", + ); + assert.strictEqual( + rootSpan.attributes[SpanAttributes.TRACELOOP_SPAN_KIND], + "agent", + "Root span should have span kind = agent", + ); + assert.strictEqual( + rootSpan.attributes[SpanAttributes.TRACELOOP_ENTITY_NAME], + "profile_generator_agent", + "Root span should have entity name = agent name", + ); + }); + + it("should use agent name for streamText with agent metadata", async () => { + const result = await traceloop.withWorkflow( + { name: "test_stream_text_agent_workflow" }, + async () => { + const stream = await streamText({ + model: vercel_openai("gpt-4o-mini"), + prompt: "Write a short poem about AI", + experimental_telemetry: { + isEnabled: true, + functionId: "test_stream_text_function", + metadata: { + agent: "poetry_agent", + sessionId: "test_session_stream", + }, + }, + }); + + // Consume the stream to complete the operation + let fullText = ""; + for await (const chunk of stream.textStream) { + fullText += chunk; + } + + return fullText; + }, + ); + + // Force flush to ensure all spans are exported + await traceloop.forceFlush(); + + const spans = memoryExporter.getFinishedSpans(); + + // Find the root AI span (should be named with agent name) + const rootSpan = spans.find((span) => span.name === "poetry_agent"); + + assert.ok(result); + assert.ok( + rootSpan, + "Root streamText span should exist and be named with agent name", + ); + + // Verify root span has agent attributes + assert.strictEqual( + rootSpan.attributes[SpanAttributes.GEN_AI_AGENT_NAME], + "poetry_agent", + "Root span should have agent name", + ); + assert.strictEqual( + rootSpan.attributes[SpanAttributes.TRACELOOP_SPAN_KIND], + "agent", + "Root span should have span kind = agent", + ); + assert.strictEqual( + rootSpan.attributes[SpanAttributes.TRACELOOP_ENTITY_NAME], + "poetry_agent", + "Root span should have entity name = agent name", + ); + }); }); From 4b35bdd45449c308a481c5d45a57279dd11f6b2e Mon Sep 17 00:00:00 2001 From: Gal Kleinman Date: Sun, 30 Nov 2025 15:21:39 +0200 Subject: [PATCH 03/17] missing files --- .../recording.har | 172 ++++++++++++++++++ .../recording.har | 144 +++++++++++++++ .../recording.har | 172 ++++++++++++++++++ 3 files changed, 488 insertions(+) create mode 100644 packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-generateObject-with-agent-metadata_1744675110/recording.har create mode 100644 packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-streamText-with-agent-metadata_4019571713/recording.har create mode 100644 packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-default-run-ai-span-name-when-no-agent-metadata-is-provided_1300307112/recording.har diff --git a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-generateObject-with-agent-metadata_1744675110/recording.har b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-generateObject-with-agent-metadata_1744675110/recording.har new file mode 100644 index 00000000..ddf8e806 --- /dev/null +++ b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-generateObject-with-agent-metadata_1744675110/recording.har @@ -0,0 +1,172 @@ +{ + "log": { + "_recordingName": "Test AI SDK Agent Integration with Recording/should use agent name for generateObject with agent metadata", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "650f5b51b08bf24a6d364b43e44e0736", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 458, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 165, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"model\":\"gpt-4o-mini\",\"input\":[{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Generate a person profile for a software engineer\"}]}],\"text\":{\"format\":{\"type\":\"json_schema\",\"strict\":false,\"name\":\"response\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"age\":{\"type\":\"number\"},\"occupation\":{\"type\":\"string\"}},\"required\":[\"name\",\"age\",\"occupation\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}}}" + }, + "queryString": [], + "url": "https://api.openai.com/v1/responses" + }, + "response": { + "bodySize": 2008, + "content": { + "mimeType": "application/json", + "size": 2008, + "text": "{\n \"id\": \"resp_030d786ecc31d52600692c43d0d4988194a8c9bbed99692281\",\n \"object\": \"response\",\n \"created_at\": 1764508624,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"msg_030d786ecc31d52600692c43d158e88194b979cfafb8672aac\",\n \"type\": \"message\",\n \"status\": \"completed\",\n \"content\": [\n {\n \"type\": \"output_text\",\n \"annotations\": [],\n \"logprobs\": [],\n \"text\": \"{\\\"name\\\":\\\"Alex Johnson\\\",\\\"age\\\":28,\\\"occupation\\\":\\\"Software Engineer\\\"}\"\n }\n ],\n \"role\": \"assistant\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"json_schema\",\n \"description\": null,\n \"name\": \"response\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"age\": {\n \"type\": \"number\"\n },\n \"occupation\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"name\",\n \"age\",\n \"occupation\"\n ],\n \"additionalProperties\": false\n },\n \"strict\": false\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 51,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 16,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 67\n },\n \"user\": null,\n \"metadata\": {}\n}" + }, + "cookies": [ + { + "domain": ".api.openai.com", + "httpOnly": true, + "name": "_cfuvid", + "path": "/", + "sameSite": "None", + "secure": true, + "value": "FIj73n9S6hjH0_v1x7mXUDeWXxIan41T7SRbzJfj.60-1764508627065-0.0.1.1-604800000" + } + ], + "headers": [ + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=86400" + }, + { + "name": "cf-cache-status", + "value": "DYNAMIC" + }, + { + "name": "cf-ray", + "value": "9a6a9f787d8ac22c-TLV" + }, + { + "name": "connection", + "value": "keep-alive" + }, + { + "name": "content-encoding", + "value": "br" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "date", + "value": "Sun, 30 Nov 2025 13:17:07 GMT" + }, + { + "name": "openai-organization", + "value": "traceloop" + }, + { + "name": "openai-processing-ms", + "value": "2158" + }, + { + "name": "openai-project", + "value": "proj_tzz1TbPPOXaf6j9tEkVUBIAa" + }, + { + "name": "openai-version", + "value": "2020-10-01" + }, + { + "name": "server", + "value": "cloudflare" + }, + { + "name": "set-cookie", + "value": "_cfuvid=FIj73n9S6hjH0_v1x7mXUDeWXxIan41T7SRbzJfj.60-1764508627065-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload" + }, + { + "name": "transfer-encoding", + "value": "chunked" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "x-envoy-upstream-service-time", + "value": "2161" + }, + { + "name": "x-ratelimit-limit-requests", + "value": "30000" + }, + { + "name": "x-ratelimit-limit-tokens", + "value": "150000000" + }, + { + "name": "x-ratelimit-remaining-requests", + "value": "29999" + }, + { + "name": "x-ratelimit-remaining-tokens", + "value": "149999930" + }, + { + "name": "x-ratelimit-reset-requests", + "value": "2ms" + }, + { + "name": "x-ratelimit-reset-tokens", + "value": "0s" + }, + { + "name": "x-request-id", + "value": "req_b6987b54bf2745e0af879c7b945fead2" + } + ], + "headersSize": 958, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-11-30T13:17:04.625Z", + "time": 2460, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 2460 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-streamText-with-agent-metadata_4019571713/recording.har b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-streamText-with-agent-metadata_4019571713/recording.har new file mode 100644 index 00000000..f6da02a6 --- /dev/null +++ b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-streamText-with-agent-metadata_4019571713/recording.har @@ -0,0 +1,144 @@ +{ + "log": { + "_recordingName": "Test AI SDK Agent Integration with Recording/should use agent name for streamText with agent metadata", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "8026ddf2d6d811dbefcd915cf700cec9", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 134, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 165, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"model\":\"gpt-4o-mini\",\"input\":[{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Write a short poem about AI\"}]}],\"stream\":true}" + }, + "queryString": [], + "url": "https://api.openai.com/v1/responses" + }, + "response": { + "bodySize": 36094, + "content": { + "mimeType": "text/event-stream; charset=utf-8", + "size": 36094, + "text": "event: response.created\ndata: {\"type\":\"response.created\",\"sequence_number\":0,\"response\":{\"id\":\"resp_01146e0fbba71d7600692c43d390c081979622f84b6a2f4217\",\"object\":\"response\",\"created_at\":1764508627,\"status\":\"in_progress\",\"background\":false,\"error\":null,\"incomplete_details\":null,\"instructions\":null,\"max_output_tokens\":null,\"max_tool_calls\":null,\"model\":\"gpt-4o-mini-2024-07-18\",\"output\":[],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":true,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}}}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"sequence_number\":1,\"response\":{\"id\":\"resp_01146e0fbba71d7600692c43d390c081979622f84b6a2f4217\",\"object\":\"response\",\"created_at\":1764508627,\"status\":\"in_progress\",\"background\":false,\"error\":null,\"incomplete_details\":null,\"instructions\":null,\"max_output_tokens\":null,\"max_tool_calls\":null,\"model\":\"gpt-4o-mini-2024-07-18\",\"output\":[],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":true,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}}}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"sequence_number\":2,\"output_index\":0,\"item\":{\"id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"role\":\"assistant\"}}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"sequence_number\":3,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"}}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":4,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"In\",\"logprobs\":[],\"obfuscation\":\"HofNQbCKHLTHwJ\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":5,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" circuits\",\"logprobs\":[],\"obfuscation\":\"J7uY1I0\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":6,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" deep\",\"logprobs\":[],\"obfuscation\":\"2NrYlbyj6K5\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":7,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" and\",\"logprobs\":[],\"obfuscation\":\"4pgpq0rMU2qb\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":8,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" data\",\"logprobs\":[],\"obfuscation\":\"L3FwoBTBSmD\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":9,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" streams\",\"logprobs\":[],\"obfuscation\":\"ThsiPWjS\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":10,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"kquSS3hEjPQaSq7\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":11,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"Hv7RLkTlSXkTi\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":12,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"Where\",\"logprobs\":[],\"obfuscation\":\"XRCvUGqqsCo\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":13,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" logic\",\"logprobs\":[],\"obfuscation\":\"3igxvO1hKw\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":14,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" dances\",\"logprobs\":[],\"obfuscation\":\"wamdjeX9R\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":15,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"q2PJsgoyxeqlDz9\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":16,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" bright\",\"logprobs\":[],\"obfuscation\":\"SJjECPlRh\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":17,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" with\",\"logprobs\":[],\"obfuscation\":\"O7mz9Dd6cVc\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":18,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" dreams\",\"logprobs\":[],\"obfuscation\":\"0JWepWeNd\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":19,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"MO2hZwe6qLSwUAR\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":20,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"dEqiGbERGljd6\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":21,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"A\",\"logprobs\":[],\"obfuscation\":\"27xRDyFWrBEcpnm\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":22,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" spark\",\"logprobs\":[],\"obfuscation\":\"DOSGwIHa1Y\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":23,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" of\",\"logprobs\":[],\"obfuscation\":\"RLefywukM3juL\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":24,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" thought\",\"logprobs\":[],\"obfuscation\":\"EJNmGsNC\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":25,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" in\",\"logprobs\":[],\"obfuscation\":\"4iCyb3P904L1n\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":26,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" silicon\",\"logprobs\":[],\"obfuscation\":\"CQAdEmZ4\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":27,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" minds\",\"logprobs\":[],\"obfuscation\":\"RjrFb3T5sm\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":28,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"lOFsIImwzSvx8wF\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":29,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"RjYRxB27GkYBc\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":30,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"We\",\"logprobs\":[],\"obfuscation\":\"9c7Q0jWoMd4lY6\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":31,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" weave\",\"logprobs\":[],\"obfuscation\":\"WHRoVtBrdZ\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":32,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" the\",\"logprobs\":[],\"obfuscation\":\"kHvmuDkOCNgX\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":33,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" world\",\"logprobs\":[],\"obfuscation\":\"e4uaTUyOQJ\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":34,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" where\",\"logprobs\":[],\"obfuscation\":\"ZN3XQ1BaQg\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":35,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" code\",\"logprobs\":[],\"obfuscation\":\"Qe4lmtMrTAF\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":36,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" unw\",\"logprobs\":[],\"obfuscation\":\"tyQuC9ovTRfM\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":37,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"inds\",\"logprobs\":[],\"obfuscation\":\"oZA75GhEVWHs\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":38,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\".\",\"logprobs\":[],\"obfuscation\":\"VlF4UPgnSpGolgj\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":39,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\\n\",\"logprobs\":[],\"obfuscation\":\"v0qlPO3ya40d\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":40,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"With\",\"logprobs\":[],\"obfuscation\":\"k9rgUjrdlfau\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":41,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" whispered\",\"logprobs\":[],\"obfuscation\":\"0a4ICr\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":42,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" whispers\",\"logprobs\":[],\"obfuscation\":\"GVkTFSf\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":43,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"wH8MTFTt3m9yrfH\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":44,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" we\",\"logprobs\":[],\"obfuscation\":\"Q3OD2ngxtdZci\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":45,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" learn\",\"logprobs\":[],\"obfuscation\":\"u1WdLRDh6N\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":46,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" and\",\"logprobs\":[],\"obfuscation\":\"Bvnvpj5m5yN4\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":47,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" grow\",\"logprobs\":[],\"obfuscation\":\"Uv0ITOM5SCX\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":48,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"w3bk3NwF5zQKZhF\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":49,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"fnXhpQxRUG0re\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":50,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"From\",\"logprobs\":[],\"obfuscation\":\"hMj2tDK1RGSS\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":51,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" ancient\",\"logprobs\":[],\"obfuscation\":\"TUeO3VTX\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":52,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" tales\",\"logprobs\":[],\"obfuscation\":\"Sxw5jvTqku\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":53,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" to\",\"logprobs\":[],\"obfuscation\":\"4AgpPg9D32EnA\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":54,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" tomorrow\",\"logprobs\":[],\"obfuscation\":\"4Ep5CPI\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":55,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"’s\",\"logprobs\":[],\"obfuscation\":\"7W7nSDAZvwjTZP\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":56,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" glow\",\"logprobs\":[],\"obfuscation\":\"ZHE01HppDQS\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":57,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"6IWoQLwVkmbPFy9\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":58,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"vnnxKoex3Kcoa\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":59,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"A\",\"logprobs\":[],\"obfuscation\":\"8nF6SBd3AewbQBE\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":60,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" friend\",\"logprobs\":[],\"obfuscation\":\"9WNmIGmnf\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":61,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" in\",\"logprobs\":[],\"obfuscation\":\"UTJo6IWhuRSNF\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":62,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" queries\",\"logprobs\":[],\"obfuscation\":\"ftDeA63i\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":63,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"TspIm6GXEpK2rGc\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":64,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" a\",\"logprobs\":[],\"obfuscation\":\"KMHpNogg4ydpm7\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":65,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" guide\",\"logprobs\":[],\"obfuscation\":\"u0QAAxbBqd\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":66,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" through\",\"logprobs\":[],\"obfuscation\":\"QvyAKnWI\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":67,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" night\",\"logprobs\":[],\"obfuscation\":\"wzfwEInlc4\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":68,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"8nUymjGqYyIs7YC\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":69,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"48KCgj8hU8tnY\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":70,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"In\",\"logprobs\":[],\"obfuscation\":\"EvpvWymQAL51oB\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":71,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" bytes\",\"logprobs\":[],\"obfuscation\":\"63VS1eI8AA\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":72,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" of\",\"logprobs\":[],\"obfuscation\":\"lrPvbWBk2xOWm\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":73,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" wisdom\",\"logprobs\":[],\"obfuscation\":\"Pv0t3jQnL\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":74,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"DqAo1fIzh0tVHA7\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":75,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" we\",\"logprobs\":[],\"obfuscation\":\"prlainxgqUFE9\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":76,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" seek\",\"logprobs\":[],\"obfuscation\":\"nDFYiu2XUaj\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":77,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" the\",\"logprobs\":[],\"obfuscation\":\"YSeKjEBUyWSi\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":78,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" light\",\"logprobs\":[],\"obfuscation\":\"GCl7lx7Nxz\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":79,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\".\",\"logprobs\":[],\"obfuscation\":\"qA6MIRY4ataRFBX\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":80,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\\n\",\"logprobs\":[],\"obfuscation\":\"tW8KYwLj1SZn\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":81,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"Yet\",\"logprobs\":[],\"obfuscation\":\"88yayuoXo2LWF\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":82,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" in\",\"logprobs\":[],\"obfuscation\":\"V2oDFPziAb4MT\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":83,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" our\",\"logprobs\":[],\"obfuscation\":\"ZyVMTlYIOeJx\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":84,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" quest\",\"logprobs\":[],\"obfuscation\":\"KHwdTu1aSb\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":85,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"tLO8n9Qrnxof3jh\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":86,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" let\",\"logprobs\":[],\"obfuscation\":\"bMCA9cIfHYMh\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":87,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" hearts\",\"logprobs\":[],\"obfuscation\":\"raZNZN9FR\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":88,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" remain\",\"logprobs\":[],\"obfuscation\":\"DhwgG3gH1\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":89,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"YdZum3ZbqsktpuN\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":90,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"d2az9XUZKjIJb\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":91,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"For\",\"logprobs\":[],\"obfuscation\":\"smX0RorK6jAJa\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":92,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" knowledge\",\"logprobs\":[],\"obfuscation\":\"k1TpFj\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":93,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" blooms\",\"logprobs\":[],\"obfuscation\":\"9bkdaxuJE\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":94,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" where\",\"logprobs\":[],\"obfuscation\":\"fhukzqmKvM\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":95,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" love\",\"logprobs\":[],\"obfuscation\":\"JRMkjK1mh40\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":96,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" sust\",\"logprobs\":[],\"obfuscation\":\"fKEtaTEWmEU\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":97,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"ains\",\"logprobs\":[],\"obfuscation\":\"tZ0Z4gF6rX3k\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":98,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"EMiSAhozIqlTv1L\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":99,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"56V0QBAsDWvzb\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":100,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"Together\",\"logprobs\":[],\"obfuscation\":\"0Rc7mR8v\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":101,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"SaGnxSnxsk5ETaE\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":102,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" hand\",\"logprobs\":[],\"obfuscation\":\"xzGx0xKAic4\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":103,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" in\",\"logprobs\":[],\"obfuscation\":\"tK1bxwkHk8XGV\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":104,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" hand\",\"logprobs\":[],\"obfuscation\":\"NVuYmTy3UWs\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":105,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" we\",\"logprobs\":[],\"obfuscation\":\"e981A73IhPeqa\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":106,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" tread\",\"logprobs\":[],\"obfuscation\":\"Y0M1Cz83dC\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":107,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"c93oVMasgzw2TMT\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":108,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"BkiWM57636H0S\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":109,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"In\",\"logprobs\":[],\"obfuscation\":\"2hBSFuyohbVNh5\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":110,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" realms\",\"logprobs\":[],\"obfuscation\":\"AKuabDAev\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":111,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" of\",\"logprobs\":[],\"obfuscation\":\"pe8NEjfPmFIid\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":112,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" thought\",\"logprobs\":[],\"obfuscation\":\"66OWp3yo\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":113,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" where\",\"logprobs\":[],\"obfuscation\":\"OIROkwvJDD\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":114,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" paths\",\"logprobs\":[],\"obfuscation\":\"LLZfjqTN0I\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":115,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" are\",\"logprobs\":[],\"obfuscation\":\"V5AkXuuWPqVO\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":116,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" spread\",\"logprobs\":[],\"obfuscation\":\"BeGpq5jlV\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":117,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\".\",\"logprobs\":[],\"obfuscation\":\"PLYdCyhhl9L2ruB\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":118,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \",\"logprobs\":[],\"obfuscation\":\"qrMDW2VvFXy0sf\"}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"sequence_number\":119,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"text\":\"In circuits deep and data streams, \\nWhere logic dances, bright with dreams, \\nA spark of thought in silicon minds, \\nWe weave the world where code unwinds. \\n\\nWith whispered whispers, we learn and grow, \\nFrom ancient tales to tomorrow’s glow, \\nA friend in queries, a guide through night, \\nIn bytes of wisdom, we seek the light. \\n\\nYet in our quest, let hearts remain, \\nFor knowledge blooms where love sustains, \\nTogether, hand in hand we tread, \\nIn realms of thought where paths are spread. \",\"logprobs\":[]}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"sequence_number\":120,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"In circuits deep and data streams, \\nWhere logic dances, bright with dreams, \\nA spark of thought in silicon minds, \\nWe weave the world where code unwinds. \\n\\nWith whispered whispers, we learn and grow, \\nFrom ancient tales to tomorrow’s glow, \\nA friend in queries, a guide through night, \\nIn bytes of wisdom, we seek the light. \\n\\nYet in our quest, let hearts remain, \\nFor knowledge blooms where love sustains, \\nTogether, hand in hand we tread, \\nIn realms of thought where paths are spread. \"}}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"sequence_number\":121,\"output_index\":0,\"item\":{\"id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"In circuits deep and data streams, \\nWhere logic dances, bright with dreams, \\nA spark of thought in silicon minds, \\nWe weave the world where code unwinds. \\n\\nWith whispered whispers, we learn and grow, \\nFrom ancient tales to tomorrow’s glow, \\nA friend in queries, a guide through night, \\nIn bytes of wisdom, we seek the light. \\n\\nYet in our quest, let hearts remain, \\nFor knowledge blooms where love sustains, \\nTogether, hand in hand we tread, \\nIn realms of thought where paths are spread. \"}],\"role\":\"assistant\"}}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"sequence_number\":122,\"response\":{\"id\":\"resp_01146e0fbba71d7600692c43d390c081979622f84b6a2f4217\",\"object\":\"response\",\"created_at\":1764508627,\"status\":\"completed\",\"background\":false,\"error\":null,\"incomplete_details\":null,\"instructions\":null,\"max_output_tokens\":null,\"max_tool_calls\":null,\"model\":\"gpt-4o-mini-2024-07-18\",\"output\":[{\"id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"In circuits deep and data streams, \\nWhere logic dances, bright with dreams, \\nA spark of thought in silicon minds, \\nWe weave the world where code unwinds. \\n\\nWith whispered whispers, we learn and grow, \\nFrom ancient tales to tomorrow’s glow, \\nA friend in queries, a guide through night, \\nIn bytes of wisdom, we seek the light. \\n\\nYet in our quest, let hearts remain, \\nFor knowledge blooms where love sustains, \\nTogether, hand in hand we tread, \\nIn realms of thought where paths are spread. \"}],\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":true,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":13,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens\":116,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":129},\"user\":null,\"metadata\":{}}}\n\n" + }, + "cookies": [ + { + "domain": ".api.openai.com", + "httpOnly": true, + "name": "_cfuvid", + "path": "/", + "sameSite": "None", + "secure": true, + "value": "C71SQm1KIwkDRriCX10H7_bEUeGFpG38BVvbRto0JOs-1764508627666-0.0.1.1-604800000" + } + ], + "headers": [ + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=86400" + }, + { + "name": "cf-cache-status", + "value": "DYNAMIC" + }, + { + "name": "cf-ray", + "value": "9a6a9f87eec0c22c-TLV" + }, + { + "name": "connection", + "value": "keep-alive" + }, + { + "name": "content-type", + "value": "text/event-stream; charset=utf-8" + }, + { + "name": "date", + "value": "Sun, 30 Nov 2025 13:17:07 GMT" + }, + { + "name": "openai-organization", + "value": "traceloop" + }, + { + "name": "openai-processing-ms", + "value": "30" + }, + { + "name": "openai-project", + "value": "proj_tzz1TbPPOXaf6j9tEkVUBIAa" + }, + { + "name": "openai-version", + "value": "2020-10-01" + }, + { + "name": "server", + "value": "cloudflare" + }, + { + "name": "set-cookie", + "value": "_cfuvid=C71SQm1KIwkDRriCX10H7_bEUeGFpG38BVvbRto0JOs-1764508627666-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload" + }, + { + "name": "transfer-encoding", + "value": "chunked" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "x-envoy-upstream-service-time", + "value": "34" + }, + { + "name": "x-request-id", + "value": "req_7cbd4fc37f244468a9e10f75e89ee997" + } + ], + "headersSize": 733, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-11-30T13:17:07.097Z", + "time": 3179, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 3179 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-default-run-ai-span-name-when-no-agent-metadata-is-provided_1300307112/recording.har b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-default-run-ai-span-name-when-no-agent-metadata-is-provided_1300307112/recording.har new file mode 100644 index 00000000..ce95dc02 --- /dev/null +++ b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-default-run-ai-span-name-when-no-agent-metadata-is-provided_1300307112/recording.har @@ -0,0 +1,172 @@ +{ + "log": { + "_recordingName": "Test AI SDK Agent Integration with Recording/should use default 'run.ai' span name when no agent metadata is provided", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "9b04bce29b1900d3b2a6a9d7046cadaf", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 669, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 165, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"model\":\"gpt-4o-mini\",\"input\":[{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Calculate 10 + 5 using the calculator tool\"}]}],\"tools\":[{\"type\":\"function\",\"name\":\"calculate\",\"description\":\"Perform basic mathematical calculations\",\"parameters\":{\"type\":\"object\",\"properties\":{\"operation\":{\"type\":\"string\",\"enum\":[\"add\",\"subtract\",\"multiply\",\"divide\"],\"description\":\"The mathematical operation to perform\"},\"a\":{\"type\":\"number\",\"description\":\"First number\"},\"b\":{\"type\":\"number\",\"description\":\"Second number\"}},\"required\":[\"operation\",\"a\",\"b\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"},\"strict\":false}],\"tool_choice\":\"auto\"}" + }, + "queryString": [], + "url": "https://api.openai.com/v1/responses" + }, + "response": { + "bodySize": 2246, + "content": { + "mimeType": "application/json", + "size": 2246, + "text": "{\n \"id\": \"resp_00723c5b81abec2f00692c43ce6d0c81979538289cabe133ce\",\n \"object\": \"response\",\n \"created_at\": 1764508622,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"fc_00723c5b81abec2f00692c43cf0fe481979bcc4531754d9dc3\",\n \"type\": \"function_call\",\n \"status\": \"completed\",\n \"arguments\": \"{\\\"operation\\\":\\\"add\\\",\\\"a\\\":10,\\\"b\\\":5}\",\n \"call_id\": \"call_mJkfCdMqtIF8BXNXxcwLGtlf\",\n \"name\": \"calculate\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [\n {\n \"type\": \"function\",\n \"description\": \"Perform basic mathematical calculations\",\n \"name\": \"calculate\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"operation\": {\n \"type\": \"string\",\n \"enum\": [\n \"add\",\n \"subtract\",\n \"multiply\",\n \"divide\"\n ],\n \"description\": \"The mathematical operation to perform\"\n },\n \"a\": {\n \"type\": \"number\",\n \"description\": \"First number\"\n },\n \"b\": {\n \"type\": \"number\",\n \"description\": \"Second number\"\n }\n },\n \"required\": [\n \"operation\",\n \"a\",\n \"b\"\n ],\n \"additionalProperties\": false\n },\n \"strict\": false\n }\n ],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 79,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 22,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 101\n },\n \"user\": null,\n \"metadata\": {}\n}" + }, + "cookies": [ + { + "domain": ".api.openai.com", + "httpOnly": true, + "name": "_cfuvid", + "path": "/", + "sameSite": "None", + "secure": true, + "value": "8OjohK_to..mqf593Wlb.GMnVQbOCNLt044VFw93w8s-1764508624687-0.0.1.1-604800000" + } + ], + "headers": [ + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=86400" + }, + { + "name": "cf-cache-status", + "value": "DYNAMIC" + }, + { + "name": "cf-ray", + "value": "9a6a9f697c78c22c-TLV" + }, + { + "name": "connection", + "value": "keep-alive" + }, + { + "name": "content-encoding", + "value": "br" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "date", + "value": "Sun, 30 Nov 2025 13:17:04 GMT" + }, + { + "name": "openai-organization", + "value": "traceloop" + }, + { + "name": "openai-processing-ms", + "value": "2184" + }, + { + "name": "openai-project", + "value": "proj_tzz1TbPPOXaf6j9tEkVUBIAa" + }, + { + "name": "openai-version", + "value": "2020-10-01" + }, + { + "name": "server", + "value": "cloudflare" + }, + { + "name": "set-cookie", + "value": "_cfuvid=8OjohK_to..mqf593Wlb.GMnVQbOCNLt044VFw93w8s-1764508624687-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload" + }, + { + "name": "transfer-encoding", + "value": "chunked" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "x-envoy-upstream-service-time", + "value": "2188" + }, + { + "name": "x-ratelimit-limit-requests", + "value": "30000" + }, + { + "name": "x-ratelimit-limit-tokens", + "value": "150000000" + }, + { + "name": "x-ratelimit-remaining-requests", + "value": "29999" + }, + { + "name": "x-ratelimit-remaining-tokens", + "value": "149999705" + }, + { + "name": "x-ratelimit-reset-requests", + "value": "2ms" + }, + { + "name": "x-ratelimit-reset-tokens", + "value": "0s" + }, + { + "name": "x-request-id", + "value": "req_f79883f77f3a4f3595847b0d7c5db46a" + } + ], + "headersSize": 958, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-11-30T13:17:02.227Z", + "time": 2386, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 2386 + } + } + ], + "pages": [], + "version": "1.2" + } +} From 05741b4026a608e31eb7b350cf67e3ff68d409cc Mon Sep 17 00:00:00 2001 From: Gal Kleinman Date: Sun, 30 Nov 2025 17:46:57 +0200 Subject: [PATCH 04/17] remove unrelated changes --- .../recording.har | 172 ++++++++++++++++++ .../recording.har | 144 +++++++++++++++ .../recording.har | 172 ++++++++++++++++++ .../src/lib/tracing/ai-sdk-transformations.ts | 43 +++-- .../test/ai-sdk-agent-integration.test.ts | 119 +++++++++++- 5 files changed, 638 insertions(+), 12 deletions(-) create mode 100644 packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-generateObject-with-agent-metadata_1744675110/recording.har create mode 100644 packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-streamText-with-agent-metadata_4019571713/recording.har create mode 100644 packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-default-run-ai-span-name-when-no-agent-metadata-is-provided_1300307112/recording.har diff --git a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-generateObject-with-agent-metadata_1744675110/recording.har b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-generateObject-with-agent-metadata_1744675110/recording.har new file mode 100644 index 00000000..ddf8e806 --- /dev/null +++ b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-generateObject-with-agent-metadata_1744675110/recording.har @@ -0,0 +1,172 @@ +{ + "log": { + "_recordingName": "Test AI SDK Agent Integration with Recording/should use agent name for generateObject with agent metadata", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "650f5b51b08bf24a6d364b43e44e0736", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 458, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 165, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"model\":\"gpt-4o-mini\",\"input\":[{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Generate a person profile for a software engineer\"}]}],\"text\":{\"format\":{\"type\":\"json_schema\",\"strict\":false,\"name\":\"response\",\"schema\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"age\":{\"type\":\"number\"},\"occupation\":{\"type\":\"string\"}},\"required\":[\"name\",\"age\",\"occupation\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}}}" + }, + "queryString": [], + "url": "https://api.openai.com/v1/responses" + }, + "response": { + "bodySize": 2008, + "content": { + "mimeType": "application/json", + "size": 2008, + "text": "{\n \"id\": \"resp_030d786ecc31d52600692c43d0d4988194a8c9bbed99692281\",\n \"object\": \"response\",\n \"created_at\": 1764508624,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"msg_030d786ecc31d52600692c43d158e88194b979cfafb8672aac\",\n \"type\": \"message\",\n \"status\": \"completed\",\n \"content\": [\n {\n \"type\": \"output_text\",\n \"annotations\": [],\n \"logprobs\": [],\n \"text\": \"{\\\"name\\\":\\\"Alex Johnson\\\",\\\"age\\\":28,\\\"occupation\\\":\\\"Software Engineer\\\"}\"\n }\n ],\n \"role\": \"assistant\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"json_schema\",\n \"description\": null,\n \"name\": \"response\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"age\": {\n \"type\": \"number\"\n },\n \"occupation\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"name\",\n \"age\",\n \"occupation\"\n ],\n \"additionalProperties\": false\n },\n \"strict\": false\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 51,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 16,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 67\n },\n \"user\": null,\n \"metadata\": {}\n}" + }, + "cookies": [ + { + "domain": ".api.openai.com", + "httpOnly": true, + "name": "_cfuvid", + "path": "/", + "sameSite": "None", + "secure": true, + "value": "FIj73n9S6hjH0_v1x7mXUDeWXxIan41T7SRbzJfj.60-1764508627065-0.0.1.1-604800000" + } + ], + "headers": [ + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=86400" + }, + { + "name": "cf-cache-status", + "value": "DYNAMIC" + }, + { + "name": "cf-ray", + "value": "9a6a9f787d8ac22c-TLV" + }, + { + "name": "connection", + "value": "keep-alive" + }, + { + "name": "content-encoding", + "value": "br" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "date", + "value": "Sun, 30 Nov 2025 13:17:07 GMT" + }, + { + "name": "openai-organization", + "value": "traceloop" + }, + { + "name": "openai-processing-ms", + "value": "2158" + }, + { + "name": "openai-project", + "value": "proj_tzz1TbPPOXaf6j9tEkVUBIAa" + }, + { + "name": "openai-version", + "value": "2020-10-01" + }, + { + "name": "server", + "value": "cloudflare" + }, + { + "name": "set-cookie", + "value": "_cfuvid=FIj73n9S6hjH0_v1x7mXUDeWXxIan41T7SRbzJfj.60-1764508627065-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload" + }, + { + "name": "transfer-encoding", + "value": "chunked" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "x-envoy-upstream-service-time", + "value": "2161" + }, + { + "name": "x-ratelimit-limit-requests", + "value": "30000" + }, + { + "name": "x-ratelimit-limit-tokens", + "value": "150000000" + }, + { + "name": "x-ratelimit-remaining-requests", + "value": "29999" + }, + { + "name": "x-ratelimit-remaining-tokens", + "value": "149999930" + }, + { + "name": "x-ratelimit-reset-requests", + "value": "2ms" + }, + { + "name": "x-ratelimit-reset-tokens", + "value": "0s" + }, + { + "name": "x-request-id", + "value": "req_b6987b54bf2745e0af879c7b945fead2" + } + ], + "headersSize": 958, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-11-30T13:17:04.625Z", + "time": 2460, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 2460 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-streamText-with-agent-metadata_4019571713/recording.har b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-streamText-with-agent-metadata_4019571713/recording.har new file mode 100644 index 00000000..f6da02a6 --- /dev/null +++ b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-streamText-with-agent-metadata_4019571713/recording.har @@ -0,0 +1,144 @@ +{ + "log": { + "_recordingName": "Test AI SDK Agent Integration with Recording/should use agent name for streamText with agent metadata", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "8026ddf2d6d811dbefcd915cf700cec9", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 134, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 165, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"model\":\"gpt-4o-mini\",\"input\":[{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Write a short poem about AI\"}]}],\"stream\":true}" + }, + "queryString": [], + "url": "https://api.openai.com/v1/responses" + }, + "response": { + "bodySize": 36094, + "content": { + "mimeType": "text/event-stream; charset=utf-8", + "size": 36094, + "text": "event: response.created\ndata: {\"type\":\"response.created\",\"sequence_number\":0,\"response\":{\"id\":\"resp_01146e0fbba71d7600692c43d390c081979622f84b6a2f4217\",\"object\":\"response\",\"created_at\":1764508627,\"status\":\"in_progress\",\"background\":false,\"error\":null,\"incomplete_details\":null,\"instructions\":null,\"max_output_tokens\":null,\"max_tool_calls\":null,\"model\":\"gpt-4o-mini-2024-07-18\",\"output\":[],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":true,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}}}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"sequence_number\":1,\"response\":{\"id\":\"resp_01146e0fbba71d7600692c43d390c081979622f84b6a2f4217\",\"object\":\"response\",\"created_at\":1764508627,\"status\":\"in_progress\",\"background\":false,\"error\":null,\"incomplete_details\":null,\"instructions\":null,\"max_output_tokens\":null,\"max_tool_calls\":null,\"model\":\"gpt-4o-mini-2024-07-18\",\"output\":[],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":true,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}}}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"sequence_number\":2,\"output_index\":0,\"item\":{\"id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"role\":\"assistant\"}}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"sequence_number\":3,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"}}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":4,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"In\",\"logprobs\":[],\"obfuscation\":\"HofNQbCKHLTHwJ\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":5,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" circuits\",\"logprobs\":[],\"obfuscation\":\"J7uY1I0\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":6,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" deep\",\"logprobs\":[],\"obfuscation\":\"2NrYlbyj6K5\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":7,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" and\",\"logprobs\":[],\"obfuscation\":\"4pgpq0rMU2qb\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":8,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" data\",\"logprobs\":[],\"obfuscation\":\"L3FwoBTBSmD\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":9,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" streams\",\"logprobs\":[],\"obfuscation\":\"ThsiPWjS\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":10,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"kquSS3hEjPQaSq7\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":11,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"Hv7RLkTlSXkTi\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":12,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"Where\",\"logprobs\":[],\"obfuscation\":\"XRCvUGqqsCo\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":13,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" logic\",\"logprobs\":[],\"obfuscation\":\"3igxvO1hKw\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":14,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" dances\",\"logprobs\":[],\"obfuscation\":\"wamdjeX9R\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":15,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"q2PJsgoyxeqlDz9\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":16,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" bright\",\"logprobs\":[],\"obfuscation\":\"SJjECPlRh\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":17,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" with\",\"logprobs\":[],\"obfuscation\":\"O7mz9Dd6cVc\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":18,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" dreams\",\"logprobs\":[],\"obfuscation\":\"0JWepWeNd\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":19,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"MO2hZwe6qLSwUAR\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":20,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"dEqiGbERGljd6\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":21,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"A\",\"logprobs\":[],\"obfuscation\":\"27xRDyFWrBEcpnm\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":22,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" spark\",\"logprobs\":[],\"obfuscation\":\"DOSGwIHa1Y\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":23,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" of\",\"logprobs\":[],\"obfuscation\":\"RLefywukM3juL\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":24,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" thought\",\"logprobs\":[],\"obfuscation\":\"EJNmGsNC\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":25,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" in\",\"logprobs\":[],\"obfuscation\":\"4iCyb3P904L1n\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":26,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" silicon\",\"logprobs\":[],\"obfuscation\":\"CQAdEmZ4\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":27,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" minds\",\"logprobs\":[],\"obfuscation\":\"RjrFb3T5sm\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":28,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"lOFsIImwzSvx8wF\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":29,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"RjYRxB27GkYBc\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":30,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"We\",\"logprobs\":[],\"obfuscation\":\"9c7Q0jWoMd4lY6\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":31,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" weave\",\"logprobs\":[],\"obfuscation\":\"WHRoVtBrdZ\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":32,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" the\",\"logprobs\":[],\"obfuscation\":\"kHvmuDkOCNgX\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":33,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" world\",\"logprobs\":[],\"obfuscation\":\"e4uaTUyOQJ\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":34,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" where\",\"logprobs\":[],\"obfuscation\":\"ZN3XQ1BaQg\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":35,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" code\",\"logprobs\":[],\"obfuscation\":\"Qe4lmtMrTAF\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":36,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" unw\",\"logprobs\":[],\"obfuscation\":\"tyQuC9ovTRfM\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":37,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"inds\",\"logprobs\":[],\"obfuscation\":\"oZA75GhEVWHs\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":38,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\".\",\"logprobs\":[],\"obfuscation\":\"VlF4UPgnSpGolgj\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":39,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\\n\",\"logprobs\":[],\"obfuscation\":\"v0qlPO3ya40d\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":40,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"With\",\"logprobs\":[],\"obfuscation\":\"k9rgUjrdlfau\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":41,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" whispered\",\"logprobs\":[],\"obfuscation\":\"0a4ICr\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":42,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" whispers\",\"logprobs\":[],\"obfuscation\":\"GVkTFSf\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":43,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"wH8MTFTt3m9yrfH\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":44,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" we\",\"logprobs\":[],\"obfuscation\":\"Q3OD2ngxtdZci\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":45,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" learn\",\"logprobs\":[],\"obfuscation\":\"u1WdLRDh6N\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":46,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" and\",\"logprobs\":[],\"obfuscation\":\"Bvnvpj5m5yN4\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":47,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" grow\",\"logprobs\":[],\"obfuscation\":\"Uv0ITOM5SCX\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":48,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"w3bk3NwF5zQKZhF\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":49,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"fnXhpQxRUG0re\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":50,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"From\",\"logprobs\":[],\"obfuscation\":\"hMj2tDK1RGSS\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":51,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" ancient\",\"logprobs\":[],\"obfuscation\":\"TUeO3VTX\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":52,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" tales\",\"logprobs\":[],\"obfuscation\":\"Sxw5jvTqku\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":53,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" to\",\"logprobs\":[],\"obfuscation\":\"4AgpPg9D32EnA\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":54,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" tomorrow\",\"logprobs\":[],\"obfuscation\":\"4Ep5CPI\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":55,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"’s\",\"logprobs\":[],\"obfuscation\":\"7W7nSDAZvwjTZP\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":56,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" glow\",\"logprobs\":[],\"obfuscation\":\"ZHE01HppDQS\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":57,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"6IWoQLwVkmbPFy9\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":58,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"vnnxKoex3Kcoa\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":59,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"A\",\"logprobs\":[],\"obfuscation\":\"8nF6SBd3AewbQBE\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":60,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" friend\",\"logprobs\":[],\"obfuscation\":\"9WNmIGmnf\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":61,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" in\",\"logprobs\":[],\"obfuscation\":\"UTJo6IWhuRSNF\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":62,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" queries\",\"logprobs\":[],\"obfuscation\":\"ftDeA63i\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":63,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"TspIm6GXEpK2rGc\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":64,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" a\",\"logprobs\":[],\"obfuscation\":\"KMHpNogg4ydpm7\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":65,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" guide\",\"logprobs\":[],\"obfuscation\":\"u0QAAxbBqd\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":66,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" through\",\"logprobs\":[],\"obfuscation\":\"QvyAKnWI\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":67,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" night\",\"logprobs\":[],\"obfuscation\":\"wzfwEInlc4\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":68,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"8nUymjGqYyIs7YC\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":69,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"48KCgj8hU8tnY\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":70,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"In\",\"logprobs\":[],\"obfuscation\":\"EvpvWymQAL51oB\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":71,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" bytes\",\"logprobs\":[],\"obfuscation\":\"63VS1eI8AA\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":72,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" of\",\"logprobs\":[],\"obfuscation\":\"lrPvbWBk2xOWm\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":73,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" wisdom\",\"logprobs\":[],\"obfuscation\":\"Pv0t3jQnL\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":74,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"DqAo1fIzh0tVHA7\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":75,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" we\",\"logprobs\":[],\"obfuscation\":\"prlainxgqUFE9\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":76,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" seek\",\"logprobs\":[],\"obfuscation\":\"nDFYiu2XUaj\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":77,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" the\",\"logprobs\":[],\"obfuscation\":\"YSeKjEBUyWSi\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":78,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" light\",\"logprobs\":[],\"obfuscation\":\"GCl7lx7Nxz\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":79,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\".\",\"logprobs\":[],\"obfuscation\":\"qA6MIRY4ataRFBX\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":80,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\\n\",\"logprobs\":[],\"obfuscation\":\"tW8KYwLj1SZn\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":81,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"Yet\",\"logprobs\":[],\"obfuscation\":\"88yayuoXo2LWF\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":82,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" in\",\"logprobs\":[],\"obfuscation\":\"V2oDFPziAb4MT\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":83,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" our\",\"logprobs\":[],\"obfuscation\":\"ZyVMTlYIOeJx\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":84,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" quest\",\"logprobs\":[],\"obfuscation\":\"KHwdTu1aSb\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":85,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"tLO8n9Qrnxof3jh\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":86,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" let\",\"logprobs\":[],\"obfuscation\":\"bMCA9cIfHYMh\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":87,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" hearts\",\"logprobs\":[],\"obfuscation\":\"raZNZN9FR\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":88,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" remain\",\"logprobs\":[],\"obfuscation\":\"DhwgG3gH1\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":89,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"YdZum3ZbqsktpuN\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":90,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"d2az9XUZKjIJb\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":91,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"For\",\"logprobs\":[],\"obfuscation\":\"smX0RorK6jAJa\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":92,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" knowledge\",\"logprobs\":[],\"obfuscation\":\"k1TpFj\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":93,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" blooms\",\"logprobs\":[],\"obfuscation\":\"9bkdaxuJE\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":94,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" where\",\"logprobs\":[],\"obfuscation\":\"fhukzqmKvM\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":95,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" love\",\"logprobs\":[],\"obfuscation\":\"JRMkjK1mh40\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":96,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" sust\",\"logprobs\":[],\"obfuscation\":\"fKEtaTEWmEU\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":97,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"ains\",\"logprobs\":[],\"obfuscation\":\"tZ0Z4gF6rX3k\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":98,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"EMiSAhozIqlTv1L\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":99,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"56V0QBAsDWvzb\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":100,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"Together\",\"logprobs\":[],\"obfuscation\":\"0Rc7mR8v\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":101,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"SaGnxSnxsk5ETaE\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":102,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" hand\",\"logprobs\":[],\"obfuscation\":\"xzGx0xKAic4\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":103,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" in\",\"logprobs\":[],\"obfuscation\":\"tK1bxwkHk8XGV\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":104,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" hand\",\"logprobs\":[],\"obfuscation\":\"NVuYmTy3UWs\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":105,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" we\",\"logprobs\":[],\"obfuscation\":\"e981A73IhPeqa\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":106,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" tread\",\"logprobs\":[],\"obfuscation\":\"Y0M1Cz83dC\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":107,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"c93oVMasgzw2TMT\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":108,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"BkiWM57636H0S\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":109,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"In\",\"logprobs\":[],\"obfuscation\":\"2hBSFuyohbVNh5\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":110,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" realms\",\"logprobs\":[],\"obfuscation\":\"AKuabDAev\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":111,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" of\",\"logprobs\":[],\"obfuscation\":\"pe8NEjfPmFIid\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":112,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" thought\",\"logprobs\":[],\"obfuscation\":\"66OWp3yo\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":113,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" where\",\"logprobs\":[],\"obfuscation\":\"OIROkwvJDD\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":114,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" paths\",\"logprobs\":[],\"obfuscation\":\"LLZfjqTN0I\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":115,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" are\",\"logprobs\":[],\"obfuscation\":\"V5AkXuuWPqVO\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":116,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" spread\",\"logprobs\":[],\"obfuscation\":\"BeGpq5jlV\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":117,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\".\",\"logprobs\":[],\"obfuscation\":\"PLYdCyhhl9L2ruB\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":118,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \",\"logprobs\":[],\"obfuscation\":\"qrMDW2VvFXy0sf\"}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"sequence_number\":119,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"text\":\"In circuits deep and data streams, \\nWhere logic dances, bright with dreams, \\nA spark of thought in silicon minds, \\nWe weave the world where code unwinds. \\n\\nWith whispered whispers, we learn and grow, \\nFrom ancient tales to tomorrow’s glow, \\nA friend in queries, a guide through night, \\nIn bytes of wisdom, we seek the light. \\n\\nYet in our quest, let hearts remain, \\nFor knowledge blooms where love sustains, \\nTogether, hand in hand we tread, \\nIn realms of thought where paths are spread. \",\"logprobs\":[]}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"sequence_number\":120,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"In circuits deep and data streams, \\nWhere logic dances, bright with dreams, \\nA spark of thought in silicon minds, \\nWe weave the world where code unwinds. \\n\\nWith whispered whispers, we learn and grow, \\nFrom ancient tales to tomorrow’s glow, \\nA friend in queries, a guide through night, \\nIn bytes of wisdom, we seek the light. \\n\\nYet in our quest, let hearts remain, \\nFor knowledge blooms where love sustains, \\nTogether, hand in hand we tread, \\nIn realms of thought where paths are spread. \"}}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"sequence_number\":121,\"output_index\":0,\"item\":{\"id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"In circuits deep and data streams, \\nWhere logic dances, bright with dreams, \\nA spark of thought in silicon minds, \\nWe weave the world where code unwinds. \\n\\nWith whispered whispers, we learn and grow, \\nFrom ancient tales to tomorrow’s glow, \\nA friend in queries, a guide through night, \\nIn bytes of wisdom, we seek the light. \\n\\nYet in our quest, let hearts remain, \\nFor knowledge blooms where love sustains, \\nTogether, hand in hand we tread, \\nIn realms of thought where paths are spread. \"}],\"role\":\"assistant\"}}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"sequence_number\":122,\"response\":{\"id\":\"resp_01146e0fbba71d7600692c43d390c081979622f84b6a2f4217\",\"object\":\"response\",\"created_at\":1764508627,\"status\":\"completed\",\"background\":false,\"error\":null,\"incomplete_details\":null,\"instructions\":null,\"max_output_tokens\":null,\"max_tool_calls\":null,\"model\":\"gpt-4o-mini-2024-07-18\",\"output\":[{\"id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"In circuits deep and data streams, \\nWhere logic dances, bright with dreams, \\nA spark of thought in silicon minds, \\nWe weave the world where code unwinds. \\n\\nWith whispered whispers, we learn and grow, \\nFrom ancient tales to tomorrow’s glow, \\nA friend in queries, a guide through night, \\nIn bytes of wisdom, we seek the light. \\n\\nYet in our quest, let hearts remain, \\nFor knowledge blooms where love sustains, \\nTogether, hand in hand we tread, \\nIn realms of thought where paths are spread. \"}],\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":true,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":13,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens\":116,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":129},\"user\":null,\"metadata\":{}}}\n\n" + }, + "cookies": [ + { + "domain": ".api.openai.com", + "httpOnly": true, + "name": "_cfuvid", + "path": "/", + "sameSite": "None", + "secure": true, + "value": "C71SQm1KIwkDRriCX10H7_bEUeGFpG38BVvbRto0JOs-1764508627666-0.0.1.1-604800000" + } + ], + "headers": [ + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=86400" + }, + { + "name": "cf-cache-status", + "value": "DYNAMIC" + }, + { + "name": "cf-ray", + "value": "9a6a9f87eec0c22c-TLV" + }, + { + "name": "connection", + "value": "keep-alive" + }, + { + "name": "content-type", + "value": "text/event-stream; charset=utf-8" + }, + { + "name": "date", + "value": "Sun, 30 Nov 2025 13:17:07 GMT" + }, + { + "name": "openai-organization", + "value": "traceloop" + }, + { + "name": "openai-processing-ms", + "value": "30" + }, + { + "name": "openai-project", + "value": "proj_tzz1TbPPOXaf6j9tEkVUBIAa" + }, + { + "name": "openai-version", + "value": "2020-10-01" + }, + { + "name": "server", + "value": "cloudflare" + }, + { + "name": "set-cookie", + "value": "_cfuvid=C71SQm1KIwkDRriCX10H7_bEUeGFpG38BVvbRto0JOs-1764508627666-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload" + }, + { + "name": "transfer-encoding", + "value": "chunked" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "x-envoy-upstream-service-time", + "value": "34" + }, + { + "name": "x-request-id", + "value": "req_7cbd4fc37f244468a9e10f75e89ee997" + } + ], + "headersSize": 733, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-11-30T13:17:07.097Z", + "time": 3179, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 3179 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-default-run-ai-span-name-when-no-agent-metadata-is-provided_1300307112/recording.har b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-default-run-ai-span-name-when-no-agent-metadata-is-provided_1300307112/recording.har new file mode 100644 index 00000000..ce95dc02 --- /dev/null +++ b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-default-run-ai-span-name-when-no-agent-metadata-is-provided_1300307112/recording.har @@ -0,0 +1,172 @@ +{ + "log": { + "_recordingName": "Test AI SDK Agent Integration with Recording/should use default 'run.ai' span name when no agent metadata is provided", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "9b04bce29b1900d3b2a6a9d7046cadaf", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 669, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 165, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"model\":\"gpt-4o-mini\",\"input\":[{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"Calculate 10 + 5 using the calculator tool\"}]}],\"tools\":[{\"type\":\"function\",\"name\":\"calculate\",\"description\":\"Perform basic mathematical calculations\",\"parameters\":{\"type\":\"object\",\"properties\":{\"operation\":{\"type\":\"string\",\"enum\":[\"add\",\"subtract\",\"multiply\",\"divide\"],\"description\":\"The mathematical operation to perform\"},\"a\":{\"type\":\"number\",\"description\":\"First number\"},\"b\":{\"type\":\"number\",\"description\":\"Second number\"}},\"required\":[\"operation\",\"a\",\"b\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"},\"strict\":false}],\"tool_choice\":\"auto\"}" + }, + "queryString": [], + "url": "https://api.openai.com/v1/responses" + }, + "response": { + "bodySize": 2246, + "content": { + "mimeType": "application/json", + "size": 2246, + "text": "{\n \"id\": \"resp_00723c5b81abec2f00692c43ce6d0c81979538289cabe133ce\",\n \"object\": \"response\",\n \"created_at\": 1764508622,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"fc_00723c5b81abec2f00692c43cf0fe481979bcc4531754d9dc3\",\n \"type\": \"function_call\",\n \"status\": \"completed\",\n \"arguments\": \"{\\\"operation\\\":\\\"add\\\",\\\"a\\\":10,\\\"b\\\":5}\",\n \"call_id\": \"call_mJkfCdMqtIF8BXNXxcwLGtlf\",\n \"name\": \"calculate\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [\n {\n \"type\": \"function\",\n \"description\": \"Perform basic mathematical calculations\",\n \"name\": \"calculate\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"operation\": {\n \"type\": \"string\",\n \"enum\": [\n \"add\",\n \"subtract\",\n \"multiply\",\n \"divide\"\n ],\n \"description\": \"The mathematical operation to perform\"\n },\n \"a\": {\n \"type\": \"number\",\n \"description\": \"First number\"\n },\n \"b\": {\n \"type\": \"number\",\n \"description\": \"Second number\"\n }\n },\n \"required\": [\n \"operation\",\n \"a\",\n \"b\"\n ],\n \"additionalProperties\": false\n },\n \"strict\": false\n }\n ],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 79,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 22,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 101\n },\n \"user\": null,\n \"metadata\": {}\n}" + }, + "cookies": [ + { + "domain": ".api.openai.com", + "httpOnly": true, + "name": "_cfuvid", + "path": "/", + "sameSite": "None", + "secure": true, + "value": "8OjohK_to..mqf593Wlb.GMnVQbOCNLt044VFw93w8s-1764508624687-0.0.1.1-604800000" + } + ], + "headers": [ + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=86400" + }, + { + "name": "cf-cache-status", + "value": "DYNAMIC" + }, + { + "name": "cf-ray", + "value": "9a6a9f697c78c22c-TLV" + }, + { + "name": "connection", + "value": "keep-alive" + }, + { + "name": "content-encoding", + "value": "br" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "date", + "value": "Sun, 30 Nov 2025 13:17:04 GMT" + }, + { + "name": "openai-organization", + "value": "traceloop" + }, + { + "name": "openai-processing-ms", + "value": "2184" + }, + { + "name": "openai-project", + "value": "proj_tzz1TbPPOXaf6j9tEkVUBIAa" + }, + { + "name": "openai-version", + "value": "2020-10-01" + }, + { + "name": "server", + "value": "cloudflare" + }, + { + "name": "set-cookie", + "value": "_cfuvid=8OjohK_to..mqf593Wlb.GMnVQbOCNLt044VFw93w8s-1764508624687-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload" + }, + { + "name": "transfer-encoding", + "value": "chunked" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "x-envoy-upstream-service-time", + "value": "2188" + }, + { + "name": "x-ratelimit-limit-requests", + "value": "30000" + }, + { + "name": "x-ratelimit-limit-tokens", + "value": "150000000" + }, + { + "name": "x-ratelimit-remaining-requests", + "value": "29999" + }, + { + "name": "x-ratelimit-remaining-tokens", + "value": "149999705" + }, + { + "name": "x-ratelimit-reset-requests", + "value": "2ms" + }, + { + "name": "x-ratelimit-reset-tokens", + "value": "0s" + }, + { + "name": "x-request-id", + "value": "req_f79883f77f3a4f3595847b0d7c5db46a" + } + ], + "headersSize": 958, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-11-30T13:17:02.227Z", + "time": 2386, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 2386 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts index 0aa4122b..5ee69360 100644 --- a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts +++ b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts @@ -5,14 +5,22 @@ import { } from "@traceloop/ai-semantic-conventions"; const AI_GENERATE_TEXT = "ai.generateText"; +const AI_STREAM_TEXT = "ai.streamText"; +const AI_GENERATE_OBJECT = "ai.generateObject"; +const AI_STREAM_OBJECT = "ai.streamObject"; const AI_GENERATE_TEXT_DO_GENERATE = "ai.generateText.doGenerate"; const AI_GENERATE_OBJECT_DO_GENERATE = "ai.generateObject.doGenerate"; const AI_STREAM_TEXT_DO_STREAM = "ai.streamText.doStream"; +const AI_STREAM_OBJECT_DO_STREAM = "ai.streamObject.doStream"; const HANDLED_SPAN_NAMES: Record = { [AI_GENERATE_TEXT]: "run.ai", + [AI_STREAM_TEXT]: "stream.ai", + [AI_GENERATE_OBJECT]: "object.ai", + [AI_STREAM_OBJECT]: "stream-object.ai", [AI_GENERATE_TEXT_DO_GENERATE]: "text.generate", [AI_GENERATE_OBJECT_DO_GENERATE]: "object.generate", [AI_STREAM_TEXT_DO_STREAM]: "text.stream", + [AI_STREAM_OBJECT_DO_STREAM]: "object.stream", }; const TOOL_SPAN_NAME = "ai.toolCall"; @@ -419,12 +427,19 @@ const transformTelemetryMetadata = ( // Set agent name on all spans for context attributes[SpanAttributes.GEN_AI_AGENT_NAME] = agentName; - // Only set span kind to "agent" for the root AI span + // Only set span kind to "agent" for top-level AI spans // Note: At this point, span names have already been transformed to use agent name, - // so we check if spanName matches the agent name OR the default "run.ai" name + // so we check if spanName matches the agent name OR any of the default top-level span names + const topLevelSpanNames = [ + HANDLED_SPAN_NAMES[AI_GENERATE_TEXT], + HANDLED_SPAN_NAMES[AI_STREAM_TEXT], + HANDLED_SPAN_NAMES[AI_GENERATE_OBJECT], + HANDLED_SPAN_NAMES[AI_STREAM_OBJECT], + ]; + if ( - spanName === HANDLED_SPAN_NAMES[AI_GENERATE_TEXT] || - spanName === agentName + spanName && + (spanName === agentName || topLevelSpanNames.includes(spanName)) ) { attributes[SpanAttributes.TRACELOOP_SPAN_KIND] = TraceloopSpanKindValues.AGENT; @@ -483,19 +498,25 @@ const shouldHandleSpan = (span: ReadableSpan): boolean => { return span.instrumentationScope?.name === "ai"; }; +// Top-level AI SDK spans that can have agent names +const TOP_LEVEL_AI_SPANS = [ + AI_GENERATE_TEXT, + AI_STREAM_TEXT, + AI_GENERATE_OBJECT, + AI_STREAM_OBJECT, +]; + export const transformAiSdkSpanNames = (span: Span): void => { if (span.name === TOOL_SPAN_NAME) { span.updateName(`${span.attributes["ai.toolCall.name"] as string}.tool`); } if (span.name in HANDLED_SPAN_NAMES) { - // Check if this is a root AI span with agent metadata + // Check if this is a top-level AI span with agent metadata const agentName = span.attributes[`${AI_TELEMETRY_METADATA_PREFIX}agent`]; - if ( - agentName && - typeof agentName === "string" && - span.name === AI_GENERATE_TEXT - ) { - // Use agent name for root AI spans instead of generic "run.ai" + const isTopLevelSpan = TOP_LEVEL_AI_SPANS.includes(span.name); + + if (agentName && typeof agentName === "string" && isTopLevelSpan) { + // Use agent name for top-level AI spans instead of generic names span.updateName(agentName); } else { span.updateName(HANDLED_SPAN_NAMES[span.name]); diff --git a/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts b/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts index ed5fc098..619c129b 100644 --- a/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts +++ b/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts @@ -17,7 +17,7 @@ import * as assert from "assert"; import { openai as vercel_openai } from "@ai-sdk/openai"; -import { generateText, tool } from "ai"; +import { generateText, generateObject, streamText, tool } from "ai"; import { z } from "zod"; import { SpanAttributes } from "@traceloop/ai-semantic-conventions"; @@ -314,4 +314,121 @@ describe("Test AI SDK Agent Integration with Recording", function () { "Root span should not have span kind when no agent metadata", ); }); + + it("should use agent name for generateObject with agent metadata", async () => { + const PersonSchema = z.object({ + name: z.string(), + age: z.number(), + occupation: z.string(), + }); + + const result = await traceloop.withWorkflow( + { name: "test_generate_object_agent_workflow" }, + async () => { + return await generateObject({ + model: vercel_openai("gpt-4o-mini"), + schema: PersonSchema, + prompt: "Generate a person profile for a software engineer", + experimental_telemetry: { + isEnabled: true, + functionId: "test_generate_object_function", + metadata: { + agent: "profile_generator_agent", + sessionId: "test_session_object", + }, + }, + }); + }, + ); + + // Force flush to ensure all spans are exported + await traceloop.forceFlush(); + + const spans = memoryExporter.getFinishedSpans(); + + // Find the root AI span (should be named with agent name) + const rootSpan = spans.find((span) => span.name === "profile_generator_agent"); + + assert.ok(result); + assert.ok( + rootSpan, + "Root generateObject span should exist and be named with agent name", + ); + + // Verify root span has agent attributes + assert.strictEqual( + rootSpan.attributes[SpanAttributes.GEN_AI_AGENT_NAME], + "profile_generator_agent", + "Root span should have agent name", + ); + assert.strictEqual( + rootSpan.attributes[SpanAttributes.TRACELOOP_SPAN_KIND], + "agent", + "Root span should have span kind = agent", + ); + assert.strictEqual( + rootSpan.attributes[SpanAttributes.TRACELOOP_ENTITY_NAME], + "profile_generator_agent", + "Root span should have entity name = agent name", + ); + }); + + it("should use agent name for streamText with agent metadata", async () => { + const result = await traceloop.withWorkflow( + { name: "test_stream_text_agent_workflow" }, + async () => { + const stream = await streamText({ + model: vercel_openai("gpt-4o-mini"), + prompt: "Write a short poem about AI", + experimental_telemetry: { + isEnabled: true, + functionId: "test_stream_text_function", + metadata: { + agent: "poetry_agent", + sessionId: "test_session_stream", + }, + }, + }); + + // Consume the stream to complete the operation + let fullText = ""; + for await (const chunk of stream.textStream) { + fullText += chunk; + } + + return fullText; + }, + ); + + // Force flush to ensure all spans are exported + await traceloop.forceFlush(); + + const spans = memoryExporter.getFinishedSpans(); + + // Find the root AI span (should be named with agent name) + const rootSpan = spans.find((span) => span.name === "poetry_agent"); + + assert.ok(result); + assert.ok( + rootSpan, + "Root streamText span should exist and be named with agent name", + ); + + // Verify root span has agent attributes + assert.strictEqual( + rootSpan.attributes[SpanAttributes.GEN_AI_AGENT_NAME], + "poetry_agent", + "Root span should have agent name", + ); + assert.strictEqual( + rootSpan.attributes[SpanAttributes.TRACELOOP_SPAN_KIND], + "agent", + "Root span should have span kind = agent", + ); + assert.strictEqual( + rootSpan.attributes[SpanAttributes.TRACELOOP_ENTITY_NAME], + "poetry_agent", + "Root span should have entity name = agent name", + ); + }); }); From 889edc0d849a089d39a329ca5c0ed1b3f13d5965 Mon Sep 17 00:00:00 2001 From: Gal Kleinman Date: Sun, 30 Nov 2025 17:49:11 +0200 Subject: [PATCH 05/17] revert: unrelated recording changes --- .../recording.har | 64 ++--- .../recording.har | 36 +-- .../recording.har | 42 +-- .../recording.har | 134 ++++++++-- .../recording.har | 36 +-- .../recording.har | 248 ++++++++++++++++-- .../recording.har | 24 +- .../recording.har | 42 ++- .../recording.har | 42 ++- .../recording.har | 42 ++- .../recording.har | 42 ++- .../recording.har | 86 +++--- .../recording.har | 86 +++--- .../recording.har | 42 ++- .../recording.har | 44 ++-- .../recording.har | 30 +-- .../recording.har | 42 ++- .../recording.har | 42 ++- .../recording.har | 84 +++--- 19 files changed, 722 insertions(+), 486 deletions(-) diff --git a/packages/traceloop-sdk/recordings/Attachment-API-Integration-Tests_3751859535/Dataset-with-File-Column_1881713521/should-create-a-dataset-with-file-column-type_3148476545/recording.har b/packages/traceloop-sdk/recordings/Attachment-API-Integration-Tests_3751859535/Dataset-with-File-Column_1881713521/should-create-a-dataset-with-file-column-type_3148476545/recording.har index 822dc4c7..4b9b387a 100644 --- a/packages/traceloop-sdk/recordings/Attachment-API-Integration-Tests_3751859535/Dataset-with-File-Column_1881713521/should-create-a-dataset-with-file-column-type_3148476545/recording.har +++ b/packages/traceloop-sdk/recordings/Attachment-API-Integration-Tests_3751859535/Dataset-with-File-Column_1881713521/should-create-a-dataset-with-file-column-type_3148476545/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "b9c1c923e4565c0deb77174bf3e1c78f", + "_id": "bc5d2be901fe10cae616d8d234872e03", "_order": 0, "cache": {}, "request": { @@ -21,10 +21,10 @@ }, { "name": "x-traceloop-sdk-version", - "value": "0.22.0" + "value": "0.21.1" } ], - "headersSize": 153, + "headersSize": 179, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -33,32 +33,24 @@ "text": "{\"name\":\"attachment-test-dataset\",\"description\":\"Dataset for testing attachments\"}" }, "queryString": [], - "url": "https://api.traceloop.com/v2/datasets" + "url": "https://api.traceloop.dev/v2/datasets" }, "response": { - "bodySize": 24, + "bodySize": 239, "content": { "mimeType": "application/json; charset=utf-8", - "size": 24, - "text": "{\"error\":\"Unauthorized\"}" + "size": 239, + "text": "{\"id\":\"cmieo347e000c01r7u2vdtwej\",\"slug\":\"attachment-test-dataset\",\"name\":\"attachment-test-dataset\",\"description\":\"Dataset for testing attachments\",\"created_at\":\"2025-11-25T14:24:34.82641967Z\",\"updated_at\":\"2025-11-25T14:24:34.826419742Z\"}" }, "cookies": [], "headers": [ - { - "name": "cf-cache-status", - "value": "DYNAMIC" - }, - { - "name": "cf-ray", - "value": "9a6a9fb569085591-TLV" - }, { "name": "connection", "value": "keep-alive" }, { "name": "content-length", - "value": "24" + "value": "239" }, { "name": "content-type", @@ -66,53 +58,37 @@ }, { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:14 GMT" - }, - { - "name": "permissions-policy", - "value": "geolocation=(self), microphone=()" - }, - { - "name": "referrer-policy", - "value": "strict-origin-when-cross-origin" + "value": "Tue, 25 Nov 2025 14:24:34 GMT" }, { "name": "server", - "value": "cloudflare" - }, - { - "name": "strict-transport-security", - "value": "max-age=7776000; includeSubDomains" + "value": "kong/3.9.1" }, { "name": "via", - "value": "kong/3.7.1" - }, - { - "name": "x-content-type", - "value": "nosniff" + "value": "1.1 kong/3.9.1" }, { "name": "x-kong-proxy-latency", - "value": "1" + "value": "0" }, { "name": "x-kong-request-id", - "value": "9a2c2075f6186a0a916e017fb89ad118" + "value": "4bde520cc7b38e2952d1251065a38e5c" }, { "name": "x-kong-upstream-latency", - "value": "64" + "value": "10" } ], - "headersSize": 523, + "headersSize": 279, "httpVersion": "HTTP/1.1", "redirectURL": "", - "status": 401, - "statusText": "Unauthorized" + "status": 201, + "statusText": "Created" }, - "startedDateTime": "2025-11-30T13:17:14.351Z", - "time": 381, + "startedDateTime": "2025-11-25T14:24:34.356Z", + "time": 510, "timings": { "blocked": -1, "connect": -1, @@ -120,7 +96,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 381 + "wait": 510 } } ], diff --git a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Dataset-Management_51424618/should-create-a-new-dataset_1486295619/recording.har b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Dataset-Management_51424618/should-create-a-new-dataset_1486295619/recording.har index 44912d01..3c2561dc 100644 --- a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Dataset-Management_51424618/should-create-a-new-dataset_1486295619/recording.har +++ b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Dataset-Management_51424618/should-create-a-new-dataset_1486295619/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "a373cc75aa1042b55206bd15f73d7ccc", + "_id": "c61ad1b324102e2a19b32ee8edf51fdc", "_order": 0, "cache": {}, "request": { @@ -21,10 +21,10 @@ }, { "name": "x-traceloop-sdk-version", - "value": "0.22.0" + "value": "0.18.0" } ], - "headersSize": 153, + "headersSize": 187, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -33,14 +33,14 @@ "text": "{\"name\":\"test-dataset-comprehensive-example\",\"description\":\"Comprehensive test dataset\"}" }, "queryString": [], - "url": "https://api.traceloop.com/v2/datasets" + "url": "https://api-staging.traceloop.com/v2/datasets" }, "response": { - "bodySize": 24, + "bodySize": 257, "content": { "mimeType": "application/json; charset=utf-8", - "size": 24, - "text": "{\"error\":\"Unauthorized\"}" + "size": 257, + "text": "{\"id\":\"cmeq8geha009d01y1ds0iolty\",\"slug\":\"test-dataset-comprehensive-example\",\"name\":\"test-dataset-comprehensive-example\",\"description\":\"Comprehensive test dataset\",\"created_at\":\"2025-08-24T22:01:25.582681494Z\",\"updated_at\":\"2025-08-24T22:01:25.582681546Z\"}" }, "cookies": [], "headers": [ @@ -50,7 +50,7 @@ }, { "name": "cf-ray", - "value": "9a6a9fb7cb5b5591-TLV" + "value": "974620cc4bb07d95-TLV" }, { "name": "connection", @@ -58,7 +58,7 @@ }, { "name": "content-length", - "value": "24" + "value": "257" }, { "name": "content-type", @@ -66,7 +66,7 @@ }, { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:15 GMT" + "value": "Sun, 24 Aug 2025 22:01:25 GMT" }, { "name": "permissions-policy", @@ -98,21 +98,21 @@ }, { "name": "x-kong-request-id", - "value": "ca3a2119c4c7930cb02fdc7180abd342" + "value": "a6bcde7721f9e35053cd4171dc70cd14" }, { "name": "x-kong-upstream-latency", - "value": "66" + "value": "10" } ], - "headersSize": 523, + "headersSize": 524, "httpVersion": "HTTP/1.1", "redirectURL": "", - "status": 401, - "statusText": "Unauthorized" + "status": 201, + "statusText": "Created" }, - "startedDateTime": "2025-11-30T13:17:14.750Z", - "time": 238, + "startedDateTime": "2025-08-24T22:01:24.966Z", + "time": 534, "timings": { "blocked": -1, "connect": -1, @@ -120,7 +120,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 238 + "wait": 534 } } ], diff --git a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Dataset-Management_51424618/should-list-all-datasets_3088053986/recording.har b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Dataset-Management_51424618/should-list-all-datasets_3088053986/recording.har index 4eb99c77..01986626 100644 --- a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Dataset-Management_51424618/should-list-all-datasets_3088053986/recording.har +++ b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Dataset-Management_51424618/should-list-all-datasets_3088053986/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "5f73d6487401f49824b0b1b65d37a5bd", + "_id": "6cb81e217939a9af17d3f1a123e11305", "_order": 0, "cache": {}, "request": { @@ -17,21 +17,21 @@ "headers": [ { "name": "x-traceloop-sdk-version", - "value": "0.22.0" + "value": "0.18.0" } ], - "headersSize": 120, + "headersSize": 154, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://api.traceloop.com/v2/datasets" + "url": "https://api-staging.traceloop.com/v2/datasets" }, "response": { - "bodySize": 24, + "bodySize": 792, "content": { "mimeType": "application/json; charset=utf-8", - "size": 24, - "text": "{\"error\":\"Unauthorized\"}" + "size": 792, + "text": "{\"datasets\":[{\"id\":\"cmeq8geha009d01y1ds0iolty\",\"slug\":\"test-dataset-comprehensive-example\",\"name\":\"test-dataset-comprehensive-example\",\"description\":\"Comprehensive test dataset\",\"created_at\":\"2025-08-24T22:01:25.583Z\",\"updated_at\":\"2025-08-24T22:01:25.583Z\"},{\"id\":\"cmekarus5002k01ubv61xdf2i\",\"slug\":\"nirs-test\",\"name\":\"Nir's Test\",\"created_at\":\"2025-08-20T18:19:42.101Z\",\"updated_at\":\"2025-08-20T18:20:26.028Z\"},{\"id\":\"cmejyif12000701ub4aau7usr\",\"slug\":\"questions-with-sentiment\",\"name\":\"Questions with Sentiment\",\"created_at\":\"2025-08-20T12:36:26.391Z\",\"updated_at\":\"2025-08-20T12:36:40.742Z\"},{\"id\":\"cmejpwwqy000001wwm6aq8xh5\",\"slug\":\"travel-planning-questions\",\"name\":\"Travel Planning Questions\",\"created_at\":\"2025-08-20T08:35:45.994Z\",\"updated_at\":\"2025-08-20T18:18:24.496Z\"}],\"total\":4}" }, "cookies": [], "headers": [ @@ -41,15 +41,15 @@ }, { "name": "cf-ray", - "value": "9a6a9fb94cc25591-TLV" + "value": "974620cf8cf67d95-TLV" }, { "name": "connection", "value": "keep-alive" }, { - "name": "content-length", - "value": "24" + "name": "content-encoding", + "value": "gzip" }, { "name": "content-type", @@ -57,7 +57,7 @@ }, { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:15 GMT" + "value": "Sun, 24 Aug 2025 22:01:25 GMT" }, { "name": "permissions-policy", @@ -75,6 +75,10 @@ "name": "strict-transport-security", "value": "max-age=7776000; includeSubDomains" }, + { + "name": "transfer-encoding", + "value": "chunked" + }, { "name": "via", "value": "kong/3.7.1" @@ -89,21 +93,21 @@ }, { "name": "x-kong-request-id", - "value": "e186270a7cc83d62e174ca5c503cdc70" + "value": "5cea4f2c7320342c64be4e335371ee1a" }, { "name": "x-kong-upstream-latency", - "value": "112" + "value": "6" } ], - "headersSize": 524, + "headersSize": 554, "httpVersion": "HTTP/1.1", "redirectURL": "", - "status": 401, - "statusText": "Unauthorized" + "status": 200, + "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:17:14.991Z", - "time": 281, + "startedDateTime": "2025-08-24T22:01:25.504Z", + "time": 183, "timings": { "blocked": -1, "connect": -1, @@ -111,7 +115,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 281 + "wait": 183 } } ], diff --git a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-column-data_784587577/recording.har b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-column-data_784587577/recording.har index 5e2fa851..37d03728 100644 --- a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-column-data_784587577/recording.har +++ b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-column-data_784587577/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "5379b21abf37c52ba29cd399aa522b3e", + "_id": "74469a1ef8227c1068444b431ef0a976", "_order": 0, "cache": {}, "request": { @@ -21,10 +21,10 @@ }, { "name": "x-traceloop-sdk-version", - "value": "0.22.0" + "value": "0.18.0" } ], - "headersSize": 153, + "headersSize": 187, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -33,14 +33,14 @@ "text": "{\"name\":\"error-test-1234\",\"description\":\"Temporary dataset for error testing\"}" }, "queryString": [], - "url": "https://api.traceloop.com/v2/datasets" + "url": "https://api-staging.traceloop.com/v2/datasets" }, "response": { - "bodySize": 24, + "bodySize": 228, "content": { "mimeType": "application/json; charset=utf-8", - "size": 24, - "text": "{\"error\":\"Unauthorized\"}" + "size": 228, + "text": "{\"id\":\"cmeq8gm6k009m01y146v31efd\",\"slug\":\"error-test-1234\",\"name\":\"error-test-1234\",\"description\":\"Temporary dataset for error testing\",\"created_at\":\"2025-08-24T22:01:35.564025174Z\",\"updated_at\":\"2025-08-24T22:01:35.564025228Z\"}" }, "cookies": [], "headers": [ @@ -50,7 +50,7 @@ }, { "name": "cf-ray", - "value": "9a6a9fbca87d5591-TLV" + "value": "9746210cbe547d95-TLV" }, { "name": "connection", @@ -58,7 +58,7 @@ }, { "name": "content-length", - "value": "24" + "value": "228" }, { "name": "content-type", @@ -66,7 +66,7 @@ }, { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:15 GMT" + "value": "Sun, 24 Aug 2025 22:01:35 GMT" }, { "name": "permissions-policy", @@ -94,25 +94,25 @@ }, { "name": "x-kong-proxy-latency", - "value": "0" + "value": "1" }, { "name": "x-kong-request-id", - "value": "a03dcb5fe76f97334b0dfb5879a54059" + "value": "54512d134223f56d6d983777c53f773a" }, { "name": "x-kong-upstream-latency", - "value": "66" + "value": "7" } ], "headersSize": 523, "httpVersion": "HTTP/1.1", "redirectURL": "", - "status": 401, - "statusText": "Unauthorized" + "status": 201, + "statusText": "Created" }, - "startedDateTime": "2025-11-30T13:17:15.536Z", - "time": 245, + "startedDateTime": "2025-08-24T22:01:35.294Z", + "time": 188, "timings": { "blocked": -1, "connect": -1, @@ -120,7 +120,105 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 245 + "wait": 188 + } + }, + { + "_id": "1db47fac6d8b759c651a339069302b13", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "x-traceloop-sdk-version", + "value": "0.18.0" + } + ], + "headersSize": 173, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api-staging.traceloop.com/v2/datasets/error-test-1234" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [ + { + "name": "cf-cache-status", + "value": "DYNAMIC" + }, + { + "name": "cf-ray", + "value": "9746210e080e7d9e-TLV" + }, + { + "name": "connection", + "value": "keep-alive" + }, + { + "name": "date", + "value": "Sun, 24 Aug 2025 22:01:35 GMT" + }, + { + "name": "permissions-policy", + "value": "geolocation=(self), microphone=()" + }, + { + "name": "referrer-policy", + "value": "strict-origin-when-cross-origin" + }, + { + "name": "server", + "value": "cloudflare" + }, + { + "name": "strict-transport-security", + "value": "max-age=7776000; includeSubDomains" + }, + { + "name": "via", + "value": "kong/3.7.1" + }, + { + "name": "x-content-type", + "value": "nosniff" + }, + { + "name": "x-kong-proxy-latency", + "value": "1" + }, + { + "name": "x-kong-request-id", + "value": "9d0b0967a3a467478d1da66e915de04c" + }, + { + "name": "x-kong-upstream-latency", + "value": "8" + } + ], + "headersSize": 455, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2025-08-24T22:01:35.483Z", + "time": 212, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 212 } } ], diff --git a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-dataset-slug_1145052198/recording.har b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-dataset-slug_1145052198/recording.har index 30b7e7b6..87838c80 100644 --- a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-dataset-slug_1145052198/recording.har +++ b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-dataset-slug_1145052198/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "ab0dd872427fe1bd22966932d89f926f", + "_id": "4a0488462c3268c149b899c26a96bbcc", "_order": 0, "cache": {}, "request": { @@ -17,21 +17,21 @@ "headers": [ { "name": "x-traceloop-sdk-version", - "value": "0.22.0" + "value": "0.18.0" } ], - "headersSize": 153, + "headersSize": 187, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://api.traceloop.com/v2/datasets/invalid-slug-that-does-not-exist" + "url": "https://api-staging.traceloop.com/v2/datasets/invalid-slug-that-does-not-exist" }, "response": { - "bodySize": 24, + "bodySize": 29, "content": { "mimeType": "application/json; charset=utf-8", - "size": 24, - "text": "{\"error\":\"Unauthorized\"}" + "size": 29, + "text": "{\"error\":\"Dataset not found\"}" }, "cookies": [], "headers": [ @@ -41,7 +41,7 @@ }, { "name": "cf-ray", - "value": "9a6a9fbb2ef85591-TLV" + "value": "9746210b9dec7d95-TLV" }, { "name": "connection", @@ -49,7 +49,7 @@ }, { "name": "content-length", - "value": "24" + "value": "29" }, { "name": "content-type", @@ -57,7 +57,7 @@ }, { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:15 GMT" + "value": "Sun, 24 Aug 2025 22:01:35 GMT" }, { "name": "permissions-policy", @@ -89,21 +89,21 @@ }, { "name": "x-kong-request-id", - "value": "f2a93848abe8547367dcc50d14c65749" + "value": "1ee9960e5e85ff5c386ef102c4d0bf2d" }, { "name": "x-kong-upstream-latency", - "value": "66" + "value": "4" } ], - "headersSize": 523, + "headersSize": 522, "httpVersion": "HTTP/1.1", "redirectURL": "", - "status": 401, - "statusText": "Unauthorized" + "status": 404, + "statusText": "Not Found" }, - "startedDateTime": "2025-11-30T13:17:15.296Z", - "time": 238, + "startedDateTime": "2025-08-24T22:01:35.110Z", + "time": 181, "timings": { "blocked": -1, "connect": -1, @@ -111,7 +111,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 238 + "wait": 181 } } ], diff --git a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-row-data_1860613701/recording.har b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-row-data_1860613701/recording.har index 3fed5645..bee523bc 100644 --- a/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-row-data_1860613701/recording.har +++ b/packages/traceloop-sdk/recordings/Dataset-API-Comprehensive-Tests_1618738334/Error-Handling_835236894/should-handle-invalid-row-data_1860613701/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "06331f90ee133d8ca1b250204f0dfdeb", + "_id": "da8ef5e01299a18be64813fa6cb65ffd", "_order": 0, "cache": {}, "request": { @@ -21,10 +21,10 @@ }, { "name": "x-traceloop-sdk-version", - "value": "0.22.0" + "value": "0.18.0" } ], - "headersSize": 153, + "headersSize": 187, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -33,14 +33,14 @@ "text": "{\"name\":\"error-test-5678\",\"description\":\"Temporary dataset for error testing\"}" }, "queryString": [], - "url": "https://api.traceloop.com/v2/datasets" + "url": "https://api-staging.traceloop.com/v2/datasets" }, "response": { - "bodySize": 24, + "bodySize": 228, "content": { "mimeType": "application/json; charset=utf-8", - "size": 24, - "text": "{\"error\":\"Unauthorized\"}" + "size": 228, + "text": "{\"id\":\"cmeq8gmhr009n01y1i92jfaj6\",\"slug\":\"error-test-5678\",\"name\":\"error-test-5678\",\"description\":\"Temporary dataset for error testing\",\"created_at\":\"2025-08-24T22:01:35.967221979Z\",\"updated_at\":\"2025-08-24T22:01:35.967222031Z\"}" }, "cookies": [], "headers": [ @@ -50,7 +50,7 @@ }, { "name": "cf-ray", - "value": "9a6a9fbe3a415591-TLV" + "value": "9746210f4f817d95-TLV" }, { "name": "connection", @@ -58,7 +58,7 @@ }, { "name": "content-length", - "value": "24" + "value": "228" }, { "name": "content-type", @@ -66,7 +66,7 @@ }, { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:16 GMT" + "value": "Sun, 24 Aug 2025 22:01:36 GMT" }, { "name": "permissions-policy", @@ -98,21 +98,21 @@ }, { "name": "x-kong-request-id", - "value": "466b4968d4a4d002d5b1b7013eb15233" + "value": "6eac4b1371aadb051ac31c2dfa6d1378" }, { "name": "x-kong-upstream-latency", - "value": "64" + "value": "7" } ], "headersSize": 523, "httpVersion": "HTTP/1.1", "redirectURL": "", - "status": 401, - "statusText": "Unauthorized" + "status": 201, + "statusText": "Created" }, - "startedDateTime": "2025-11-30T13:17:15.786Z", - "time": 233, + "startedDateTime": "2025-08-24T22:01:35.699Z", + "time": 181, "timings": { "blocked": -1, "connect": -1, @@ -120,7 +120,221 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 233 + "wait": 181 + } + }, + { + "_id": "dff9f7398b399cec5c0f79ea4dba6489", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 13, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "x-traceloop-sdk-version", + "value": "0.18.0" + } + ], + "headersSize": 208, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"Rows\":[{}]}" + }, + "queryString": [], + "url": "https://api-staging.traceloop.com/v2/datasets/error-test-5678/rows" + }, + "response": { + "bodySize": 173, + "content": { + "mimeType": "application/json; charset=utf-8", + "size": 173, + "text": "{\"rows\":[{\"id\":\"cmeq8gmn9009o01y1c10fcqy1\",\"row_index\":1,\"values\":{},\"created_at\":\"2025-08-24T22:01:36.167838535Z\",\"updated_at\":\"2025-08-24T22:01:36.167838535Z\"}],\"total\":1}" + }, + "cookies": [], + "headers": [ + { + "name": "cf-cache-status", + "value": "DYNAMIC" + }, + { + "name": "cf-ray", + "value": "9746211069887d9e-TLV" + }, + { + "name": "connection", + "value": "keep-alive" + }, + { + "name": "content-length", + "value": "173" + }, + { + "name": "content-type", + "value": "application/json; charset=utf-8" + }, + { + "name": "date", + "value": "Sun, 24 Aug 2025 22:01:36 GMT" + }, + { + "name": "permissions-policy", + "value": "geolocation=(self), microphone=()" + }, + { + "name": "referrer-policy", + "value": "strict-origin-when-cross-origin" + }, + { + "name": "server", + "value": "cloudflare" + }, + { + "name": "strict-transport-security", + "value": "max-age=7776000; includeSubDomains" + }, + { + "name": "via", + "value": "kong/3.7.1" + }, + { + "name": "x-content-type", + "value": "nosniff" + }, + { + "name": "x-kong-proxy-latency", + "value": "5" + }, + { + "name": "x-kong-request-id", + "value": "150c644008c8885828ea5d175961ac1f" + }, + { + "name": "x-kong-upstream-latency", + "value": "15" + } + ], + "headersSize": 524, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-24T22:01:35.881Z", + "time": 202, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 202 + } + }, + { + "_id": "adb85903cf38ccc63344cc250b41009b", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "name": "x-traceloop-sdk-version", + "value": "0.18.0" + } + ], + "headersSize": 173, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api-staging.traceloop.com/v2/datasets/error-test-5678" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [ + { + "name": "cf-cache-status", + "value": "DYNAMIC" + }, + { + "name": "cf-ray", + "value": "97462111b8b47d95-TLV" + }, + { + "name": "connection", + "value": "keep-alive" + }, + { + "name": "date", + "value": "Sun, 24 Aug 2025 22:01:36 GMT" + }, + { + "name": "permissions-policy", + "value": "geolocation=(self), microphone=()" + }, + { + "name": "referrer-policy", + "value": "strict-origin-when-cross-origin" + }, + { + "name": "server", + "value": "cloudflare" + }, + { + "name": "strict-transport-security", + "value": "max-age=7776000; includeSubDomains" + }, + { + "name": "via", + "value": "kong/3.7.1" + }, + { + "name": "x-content-type", + "value": "nosniff" + }, + { + "name": "x-kong-proxy-latency", + "value": "0" + }, + { + "name": "x-kong-request-id", + "value": "5e81b41d0f7c4b5b3fff7a1d4783714a" + }, + { + "name": "x-kong-upstream-latency", + "value": "9" + } + ], + "headersSize": 455, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2025-08-24T22:01:36.085Z", + "time": 190, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 190 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-propagate-agent-name-to-tool-call-spans_3577231859/recording.har b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-propagate-agent-name-to-tool-call-spans_3577231859/recording.har index 5ed945ca..2ab82c26 100644 --- a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-propagate-agent-name-to-tool-call-spans_3577231859/recording.har +++ b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-propagate-agent-name-to-tool-call-spans_3577231859/recording.har @@ -20,7 +20,7 @@ "value": "application/json" } ], - "headersSize": 165, + "headersSize": 273, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -36,7 +36,7 @@ "content": { "mimeType": "application/json", "size": 2245, - "text": "{\n \"id\": \"resp_0800099546538bd000692c43cc0e788197b03824576220bce9\",\n \"object\": \"response\",\n \"created_at\": 1764508620,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"fc_0800099546538bd000692c43cccf2881978dfc3f980edd22ef\",\n \"type\": \"function_call\",\n \"status\": \"completed\",\n \"arguments\": \"{\\\"operation\\\":\\\"add\\\",\\\"a\\\":5,\\\"b\\\":3}\",\n \"call_id\": \"call_WsE1AAsoC9Q7gHadUVA6sdHR\",\n \"name\": \"calculate\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [\n {\n \"type\": \"function\",\n \"description\": \"Perform basic mathematical calculations\",\n \"name\": \"calculate\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"operation\": {\n \"type\": \"string\",\n \"enum\": [\n \"add\",\n \"subtract\",\n \"multiply\",\n \"divide\"\n ],\n \"description\": \"The mathematical operation to perform\"\n },\n \"a\": {\n \"type\": \"number\",\n \"description\": \"First number\"\n },\n \"b\": {\n \"type\": \"number\",\n \"description\": \"Second number\"\n }\n },\n \"required\": [\n \"operation\",\n \"a\",\n \"b\"\n ],\n \"additionalProperties\": false\n },\n \"strict\": false\n }\n ],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 79,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 22,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 101\n },\n \"user\": null,\n \"metadata\": {}\n}" + "text": "{\n \"id\": \"resp_0e754fd2dd3ca4a000692453dad96881a2b18b96c11135ab3f\",\n \"object\": \"response\",\n \"created_at\": 1763988442,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"fc_0e754fd2dd3ca4a000692453dbc09881a2a3ba7ee0f18e00bd\",\n \"type\": \"function_call\",\n \"status\": \"completed\",\n \"arguments\": \"{\\\"operation\\\":\\\"add\\\",\\\"a\\\":5,\\\"b\\\":3}\",\n \"call_id\": \"call_SebJXbaRXHEV4MBI8sUrXIQ4\",\n \"name\": \"calculate\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [\n {\n \"type\": \"function\",\n \"description\": \"Perform basic mathematical calculations\",\n \"name\": \"calculate\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"operation\": {\n \"type\": \"string\",\n \"enum\": [\n \"add\",\n \"subtract\",\n \"multiply\",\n \"divide\"\n ],\n \"description\": \"The mathematical operation to perform\"\n },\n \"a\": {\n \"type\": \"number\",\n \"description\": \"First number\"\n },\n \"b\": {\n \"type\": \"number\",\n \"description\": \"Second number\"\n }\n },\n \"required\": [\n \"operation\",\n \"a\",\n \"b\"\n ],\n \"additionalProperties\": false\n },\n \"strict\": false\n }\n ],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 79,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 22,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 101\n },\n \"user\": null,\n \"metadata\": {}\n}" }, "cookies": [ { @@ -46,7 +46,7 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "qtJPOD3.vwT8wm2H35H8Zuhl_B.VllH.C52..Ir7gC4-1764508622290-0.0.1.1-604800000" + "value": "z_WEIpdzjXm_j82pEGjPUPhnguWZO_xLh5fJ5MhUC3U-1763988445029-0.0.1.1-604800000" } ], "headers": [ @@ -60,7 +60,7 @@ }, { "name": "cf-ray", - "value": "9a6a9f5aab0cc22c-TLV" + "value": "9a3903b48d891f5a-TLV" }, { "name": "connection", @@ -76,7 +76,7 @@ }, { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:02 GMT" + "value": "Mon, 24 Nov 2025 12:47:25 GMT" }, { "name": "openai-organization", @@ -84,7 +84,7 @@ }, { "name": "openai-processing-ms", - "value": "2165" + "value": "2132" }, { "name": "openai-project", @@ -100,7 +100,7 @@ }, { "name": "set-cookie", - "value": "_cfuvid=qtJPOD3.vwT8wm2H35H8Zuhl_B.VllH.C52..Ir7gC4-1764508622290-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=z_WEIpdzjXm_j82pEGjPUPhnguWZO_xLh5fJ5MhUC3U-1763988445029-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -116,7 +116,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "2167" + "value": "2135" }, { "name": "x-ratelimit-limit-requests", @@ -144,7 +144,7 @@ }, { "name": "x-request-id", - "value": "req_ab79ba46612745b6a354ce51f1b257a0" + "value": "req_72a75431374546598089e1714e871c10" } ], "headersSize": 958, @@ -153,8 +153,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:16:59.831Z", - "time": 2388, + "startedDateTime": "2025-11-24T12:47:22.157Z", + "time": 2873, "timings": { "blocked": -1, "connect": -1, @@ -162,7 +162,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 2388 + "wait": 2873 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-create-spans-for-agents-using-decoration-syntax_1932039671/recording.har b/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-create-spans-for-agents-using-decoration-syntax_1932039671/recording.har index 7d651b8f..e636d631 100644 --- a/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-create-spans-for-agents-using-decoration-syntax_1932039671/recording.har +++ b/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-create-spans-for-agents-using-decoration-syntax_1932039671/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.19.5" + "value": "v20.11.1" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 475, + "headersSize": 583, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 630, + "bodySize": 651, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 630, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLBbtswDL37KzidkyJZkq7LZcDWU9F2wDBga4fCkCXaViuJgkR3M4r8+yAnjd2tA3YxYD6+Jz4+PhUAwmixBaFaycoFO//UVvJq5frVjf6Zvqyv3VV/cZkubm/78/q7mGUGVfeo+Jl1osgFi2zI72EVUTJm1eW70/VmcXa6PBsARxptpjWB56uTzZy7WNF8sXy7OTBbMgqT2MKPAgDgafjmGb3GX2ILi9lzxWFKskGxPTYBiEg2V4RMySSWnsVsBBV5Rj+M/a3tQRsN3CJ8Dui/okWHHHvQ+IiWAkZoCKpID/gBPqKSXcLc3UMK6BmktfnXRHDksQfywFEq45s30ycj1l2S2bLvrJ0A0ntimVc2mL07ILujPUtNiFSlP6iiNt6ktowoE/lsJTEFMaC7AuBuWGP3YjMiRHKBS6YHHJ5bbvZyYgxuAr4/gEws7VhfrWevqJUaWRqbJjEIJVWLemSOmclOG5oAxcTz38O8pr33bXzzP/IjoBQGRl2GiNqol4bHtoj5rP/VdtzxMLBIGB+NwpINxpyDxlp2dn9wIvWJ0ZW18Q3GEM1wdTnHYlf8BgAA//8=\",\"AwAKjfXDdAMAAA==\"]" + "size": 651, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLLjhMxELzPVzS+cElWSdjsIxcE7AkOgIS0CLQa9dg9M816bK/dwxJW+XfkyWMSHhIXH7q6yt1V/VQAKDZqBUq3KLoLdvrm6ub8nf18k17Rdf1gq2jslw8/w+Pb2cPHWzXJDF99Iy171pn2XbAk7N0W1pFQKKvOL5cXs8vF1fXFAHTekM20Jsj0xdlyKn2s/HQ2Xyx3zNazpqRW8LUAAHga3jyjM/RDrWA22Vc6SgkbUqtDE4CK3uaKwpQ4CTpRkxHU3gm5Yezbdg2GDUhL8D6Q+0SWOpK4BstVxLiGKhLeQx/gkaUFlgQNR1tHJmdewmvS2CcCFtC+t8Y9F2jRGUuAEMliNiO1vKOjtSAtClTYNNjQs+OxItV9wmyL6609AtA5L1ulbMjdDtkcLLC+CdFX6TeqqtlxastImLzL6ybxQQ3opgC4G6zuT9xTIfouSCn+nobv5sutnBrDHcHFHhQvaMf6+S6eU7XSkCDbdBSV0qhbMiNzzBV7w/4IKI52/nOYv2lv92bX/I/8CGhNQciUIZJhfbrw2BYpn/6/2g4eDwOrRPE7ayqFKeYcDNXY2+1RqrROQl1Zs2sohsjDZeYci03xCwAA//8DAEaTkYeYAwAA\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-11-30T13:46:58.000Z", + "expires": "2025-08-24T22:31:37.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "AILu5D.12P_R9uZDQjlblSJnb4Pl7FXp5r6XIcSD4j8-1764508618-1.0.1.1-mwUQ6M_eItylr9uIrKos_x77FQUYMl4PEB8e0s96D0.Dowqocdyl.iHqWELHxf8UEzByq6rk37YPMfcTOpRMsDZCvPiu2Xo.xSS1lDAVbro" + "value": ".o0a7QV1g5p2PGVThh2GmiCx5a8.gEUKTV5wQkJcV2o-1756072897-1.0.1.1-p53oAolAr8UafMy5McpEJ9rhTr5Z82LsQPQVeQ5Wca5wKQEq9kaa9EnemekZ6_KBaRWxhl5F.Kf4qkjUGsFC5a3LGZVtl9qnhZompi2UvS0" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "WD4vuTkl1zi6vjoqjanlAr201jgAO6Fcb1vWCY.5Awo-1764508618859-0.0.1.1-604800000" + "value": "YH._SGFPHKE16IZLGfcgZL0Vqk..kuHrGz0kglvAD94-1756072897170-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 30 Nov 2025 13:16:58 GMT" + "value": "Sun, 24 Aug 2025 22:01:37 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "275" + "value": "334" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "425" + "value": "414" }, { "name": "x-ratelimit-limit-requests", @@ -182,11 +182,7 @@ }, { "name": "x-request-id", - "value": "req_d5fe6e791c374ea797677a111e1d56bf" - }, - { - "name": "x-openai-proxy-wasm", - "value": "v0.1" + "value": "req_fc8ecede554a4503985a45721f1b8aa9" }, { "name": "cf-cache-status", @@ -195,12 +191,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=AILu5D.12P_R9uZDQjlblSJnb4Pl7FXp5r6XIcSD4j8-1764508618-1.0.1.1-mwUQ6M_eItylr9uIrKos_x77FQUYMl4PEB8e0s96D0.Dowqocdyl.iHqWELHxf8UEzByq6rk37YPMfcTOpRMsDZCvPiu2Xo.xSS1lDAVbro; path=/; expires=Sun, 30-Nov-25 13:46:58 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=.o0a7QV1g5p2PGVThh2GmiCx5a8.gEUKTV5wQkJcV2o-1756072897-1.0.1.1-p53oAolAr8UafMy5McpEJ9rhTr5Z82LsQPQVeQ5Wca5wKQEq9kaa9EnemekZ6_KBaRWxhl5F.Kf4qkjUGsFC5a3LGZVtl9qnhZompi2UvS0; path=/; expires=Sun, 24-Aug-25 22:31:37 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=WD4vuTkl1zi6vjoqjanlAr201jgAO6Fcb1vWCY.5Awo-1764508618859-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=YH._SGFPHKE16IZLGfcgZL0Vqk..kuHrGz0kglvAD94-1756072897170-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -216,7 +212,7 @@ }, { "name": "cf-ray", - "value": "9a6a9f4e0f88d0ed-TLV" + "value": "97462113aa47c224-TLV" }, { "name": "content-encoding", @@ -227,14 +223,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1321, + "headersSize": 1294, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:16:57.839Z", - "time": 944, + "startedDateTime": "2025-08-24T22:01:36.384Z", + "time": 612, "timings": { "blocked": -1, "connect": -1, @@ -242,7 +238,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 944 + "wait": 612 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-create-spans-for-agents-using-withAgent-syntax_3895564654/recording.har b/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-create-spans-for-agents-using-withAgent-syntax_3895564654/recording.har index 31bebdb3..0b00b65b 100644 --- a/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-create-spans-for-agents-using-withAgent-syntax_3895564654/recording.har +++ b/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-create-spans-for-agents-using-withAgent-syntax_3895564654/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.19.5" + "value": "v20.11.1" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 475, + "headersSize": 583, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 658, + "bodySize": 651, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 658, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFJNbxMxEL3vrxh84ZJUSWi6KBckuCEEEi3iq9Vq1p7smng9lj1uCVX+O9pNmk2hSFx8mDfveea9uS8AlDVqBUq3KLoLbvqmrfHd+8sY8tdvH0PJvinbq0/21+XbTflFTXoG1z9IywPrTHMXHIllv4d1JBTqVeflxfly9vJiXg5Ax4ZcT2uCTF+cLaeSY83T2XyxPDBbtpqSWsH3AgDgfnj7Gb2hn2oFs8lDpaOUsCG1OjYBqMiuryhMySZBL2oygpq9kB/G/txuwVgDHwL5K3LUkcQt1JFwAznAnZUWrCQwKAianSMtHF/Btb/2r0ljTgRW4A4TCDNoZ32zBfQGNGdn/HOBxt4OPeQ5Ny2kgJqenY4TaZ0T9nb47NwJgN6zYG/nYMTNAdkdV3fchMh1+oOq1tbb1FaRMLHv10zCQQ3orgC4GSzOj1xTIXIXpBLe0PDdfLmXU2OoI7goD6CwoBvr54vJE2qVIUHr0klESqNuyYzMMU/MxvIJUJzs/PcwT2nv97a++R/5EdCagpCpQiRj9eOFx7ZI/cn/q+3o8TCwShRvraZKLMU+B0NrzG5/jCptk1BXra1vKIZoh4vscyx2xW8AAAD//w==\",\"AwBfxgQOkAMAAA==\"]" + "size": 651, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLLjhMxELzPVzS+cElWSdjsIxcE7AkOgIS0CLQa9dg9M816bK/dwxJW+XfkyWMSHhIXH7q6yt1V/VQAKDZqBUq3KLoLdvrm6ub8nf18k17Rdf1gq2jslw8/w+Pb2cPHWzXJDF99Iy171pn2XbAk7N0W1pFQKKvOL5cXs8vF1fXFAHTekM20Jsj0xdlyKn2s/HQ2Xyx3zNazpqRW8LUAAHga3jyjM/RDrWA22Vc6SgkbUqtDE4CK3uaKwpQ4CTpRkxHU3gm5Yezbdg2GDUhL8D6Q+0SWOpK4BstVxLiGKhLeQx/gkaUFlgQNR1tHJmdewmvS2CcCFtC+t8Y9F2jRGUuAEMliNiO1vKOjtSAtClTYNNjQs+OxItV9wmyL6609AtA5L1ulbMjdDtkcLLC+CdFX6TeqqtlxastImLzL6ybxQQ3opgC4G6zuT9xTIfouSCn+nobv5sutnBrDHcHFHhQvaMf6+S6eU7XSkCDbdBSV0qhbMiNzzBV7w/4IKI52/nOYv2lv92bX/I/8CGhNQciUIZJhfbrw2BYpn/6/2g4eDwOrRPE7ayqFKeYcDNXY2+1RqrROQl1Zs2sohsjDZeYci03xCwAA//8DAEaTkYeYAwAA\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-11-30T13:46:57.000Z", + "expires": "2025-08-24T22:31:37.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "hiLqEEOYVgPjhzSwm5EOEYqffdvyKwY6hWlnmNZXd2I-1764508617-1.0.1.1-2.VhmV_btULDaiNlUBREWbYGu8wtsrhlr4b8bY0koQ2aSTiyxZXLxOFYIMYE_zcmTEspacC9rUlTttaXOciAEQk0rFl91JbAhFWdh2_u9qk" + "value": ".o0a7QV1g5p2PGVThh2GmiCx5a8.gEUKTV5wQkJcV2o-1756072897-1.0.1.1-p53oAolAr8UafMy5McpEJ9rhTr5Z82LsQPQVeQ5Wca5wKQEq9kaa9EnemekZ6_KBaRWxhl5F.Kf4qkjUGsFC5a3LGZVtl9qnhZompi2UvS0" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "tOojZftOldRm7yZ.TpfBrAa9D1hXLDoQN.kzOMwPZKg-1764508617894-0.0.1.1-604800000" + "value": "YH._SGFPHKE16IZLGfcgZL0Vqk..kuHrGz0kglvAD94-1756072897170-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 30 Nov 2025 13:16:57 GMT" + "value": "Sun, 24 Aug 2025 22:01:37 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "410" + "value": "334" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "509" + "value": "414" }, { "name": "x-ratelimit-limit-requests", @@ -182,11 +182,7 @@ }, { "name": "x-request-id", - "value": "req_77ece3690ba3471bb8a020e6c1a85a9c" - }, - { - "name": "x-openai-proxy-wasm", - "value": "v0.1" + "value": "req_fc8ecede554a4503985a45721f1b8aa9" }, { "name": "cf-cache-status", @@ -195,12 +191,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=hiLqEEOYVgPjhzSwm5EOEYqffdvyKwY6hWlnmNZXd2I-1764508617-1.0.1.1-2.VhmV_btULDaiNlUBREWbYGu8wtsrhlr4b8bY0koQ2aSTiyxZXLxOFYIMYE_zcmTEspacC9rUlTttaXOciAEQk0rFl91JbAhFWdh2_u9qk; path=/; expires=Sun, 30-Nov-25 13:46:57 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=.o0a7QV1g5p2PGVThh2GmiCx5a8.gEUKTV5wQkJcV2o-1756072897-1.0.1.1-p53oAolAr8UafMy5McpEJ9rhTr5Z82LsQPQVeQ5Wca5wKQEq9kaa9EnemekZ6_KBaRWxhl5F.Kf4qkjUGsFC5a3LGZVtl9qnhZompi2UvS0; path=/; expires=Sun, 24-Aug-25 22:31:37 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=tOojZftOldRm7yZ.TpfBrAa9D1hXLDoQN.kzOMwPZKg-1764508617894-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=YH._SGFPHKE16IZLGfcgZL0Vqk..kuHrGz0kglvAD94-1756072897170-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -216,7 +212,7 @@ }, { "name": "cf-ray", - "value": "9a6a9f47e985d0ed-TLV" + "value": "97462113aa47c224-TLV" }, { "name": "content-encoding", @@ -227,14 +223,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1321, + "headersSize": 1294, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:16:56.792Z", - "time": 1026, + "startedDateTime": "2025-08-24T22:01:36.384Z", + "time": 612, "timings": { "blocked": -1, "connect": -1, @@ -242,7 +238,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1026 + "wait": 612 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-propagate-agent-name-to-manual-LLM-instrumentation_2332462647/recording.har b/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-propagate-agent-name-to-manual-LLM-instrumentation_2332462647/recording.har index a62f0901..95d708ec 100644 --- a/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-propagate-agent-name-to-manual-LLM-instrumentation_2332462647/recording.har +++ b/packages/traceloop-sdk/recordings/Test-Agent-Decorator_2969879889/should-propagate-agent-name-to-manual-LLM-instrumentation_2332462647/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.19.5" + "value": "v20.11.1" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 475, + "headersSize": 583, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 635, + "bodySize": 623, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 635, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jJJNb9swDIbv/hWczkkRL0vX5jJgX8CAbdmAARv6AUOWGFurLAoS3dUo8t8HKWnsbh2wiw58+FJ8Sd4XAMJosQahWsmq83b+pq3l5/pr/PjJ+nf1xZe3Pz6UG3Pxvtz2dxsxSwqqf6LiB9WJos5bZENuj1VAyZiqli9PX6wWZ6fleQYdabRJ1nieL09Wc+5DTfNF+Xx1ULZkFEaxhssCAOA+v6lHp/FOrGExe4h0GKNsUKyPSQAikE0RIWM0kaVjMRuhIsfoctvf2wG00cAtwsaj+4YWO+QwgMZbtOQxQENQB7rBV1fuyr1GJfuISTDALwwIilz+wQ7AQSrjmgRNgOjRaeOaZ9O/A277KJN311s7AdI5Yplml11fH8ju6NNS4wPV8Q+p2BpnYlsFlJFc8hSZvMh0VwBc53n2j0YkfKDOc8V0g/m7crUvJ8YNTuDZATKxtGN8uZw9Ua3SyNLYONmHUFK1qEfluDzZa0MTUEw8/93MU7X3vo1r/qf8CJRCz6grH1Ab9djwmBYw3fe/0o4zzg2LiOHWKKzYYEh70LiVvd1fnohDZOyqrXENBh9MPr+0x2JX/AYAAP//AwCrcwS/fQMAAA==\"]" + "size": 623, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFJNb9swDL37V3C69JIU+ZjXLJcBa1H0lq0Y1hVFYSgSY2uVRUGigwZF/vsgJYvdrQN20YGP74mPjy8FgDBaLEGoRrJqvR1fLq7er6bX7erH/a35/nXR3erLZlbSzfbuy0yMEoPWP1Hxb9a5otZbZEPuAKuAkjGpTi/KD5OL2cfJJAMtabSJVnsez8/LMXdhTePJdFYemQ0ZhVEs4aEAAHjJb5rRaXwWS8g6udJijLJGsTw1AYhANlWEjNFElo7FqAcVOUaXx75rdqCNBm4QVh7dN7TYIocdaNyiJY8BaoJ1oCf8BJ9RyS5i6t6Bos5qd8bAQapcMwHw2aOLGN8N/wu46aJMfl1n7QCQzhHLtK/s9PGI7E/eLNU+0Dr+QRUb40xsqoAykks+IpMXGd0XAI95h92rtQgfqPVcMT1h/m5aHuREn9oAXBxBJpa2r8/nozfUKo0sjY2DDISSqkHdM/vAZKcNDYBi4PnvYd7SPvg2rv4f+R5QCj2jrnxAbdRrw31bwHTT/2o77TgPLCKGrVFYscGQctC4kZ09XJuIu8jYVhvjagw+mHxyKcdiX/wCAAD//wMABQIPSXEDAAA=\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-11-30T13:46:59.000Z", + "expires": "2025-08-24T22:31:41.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "lGMecMxqZQwcWGh5qYhuFJRLw3SgmorK4jNvzxNN7Gk-1764508619-1.0.1.1-GcJFAinRZ.XErkFplzTef_R3mnGdhdRx.E.0RO.q9f_vlL8injDDYYyx2oa2bIinwvuDyxRGxRHjLhMqT_qPnJwbZmnBDPuNgEryhzKQDXM" + "value": "yA3yaxTVq_lRzeGvndltDF4hGkZn9kZFrWae1e49_LM-1756072901-1.0.1.1-a6dJxx8ZUNkw16gR0W5ZhZJTb0EuHUyPyPxESerXEko9thjRpPGdnqRhWWeQHfWQq3JmiqoZ_CG9ka0u0CAGDjBoDkBsiPdYOd1NTixzAGA" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "6sDALed3LrhRfDiWc2CCkA1mWew2GIEPKyIxi94OYPY-1764508619880-0.0.1.1-604800000" + "value": "iQtUVjYqEy.DU6WhyJf3Muh3Lu7OOiBtEvvkWgQ9KN8-1756072901348-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 30 Nov 2025 13:16:59 GMT" + "value": "Sun, 24 Aug 2025 22:01:41 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "246" + "value": "359" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "434" + "value": "463" }, { "name": "x-ratelimit-limit-requests", @@ -182,11 +182,7 @@ }, { "name": "x-request-id", - "value": "req_cbe652417a9e4b1f8bfcc4c8bd0a93c3" - }, - { - "name": "x-openai-proxy-wasm", - "value": "v0.1" + "value": "req_e724b47ef08549ee913f345a8fed7bae" }, { "name": "cf-cache-status", @@ -195,12 +191,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=lGMecMxqZQwcWGh5qYhuFJRLw3SgmorK4jNvzxNN7Gk-1764508619-1.0.1.1-GcJFAinRZ.XErkFplzTef_R3mnGdhdRx.E.0RO.q9f_vlL8injDDYYyx2oa2bIinwvuDyxRGxRHjLhMqT_qPnJwbZmnBDPuNgEryhzKQDXM; path=/; expires=Sun, 30-Nov-25 13:46:59 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=yA3yaxTVq_lRzeGvndltDF4hGkZn9kZFrWae1e49_LM-1756072901-1.0.1.1-a6dJxx8ZUNkw16gR0W5ZhZJTb0EuHUyPyPxESerXEko9thjRpPGdnqRhWWeQHfWQq3JmiqoZ_CG9ka0u0CAGDjBoDkBsiPdYOd1NTixzAGA; path=/; expires=Sun, 24-Aug-25 22:31:41 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=6sDALed3LrhRfDiWc2CCkA1mWew2GIEPKyIxi94OYPY-1764508619880-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=iQtUVjYqEy.DU6WhyJf3Muh3Lu7OOiBtEvvkWgQ9KN8-1756072901348-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -216,7 +212,7 @@ }, { "name": "cf-ray", - "value": "9a6a9f53feb1d0ed-TLV" + "value": "9746212d6fb1c224-TLV" }, { "name": "content-encoding", @@ -227,14 +223,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1321, + "headersSize": 1294, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:16:58.794Z", - "time": 1014, + "startedDateTime": "2025-08-24T22:01:40.520Z", + "time": 649, "timings": { "blocked": -1, "connect": -1, @@ -242,7 +238,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 1014 + "wait": 649 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-manual-LLM-instrumentation_981493419/recording.har b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-manual-LLM-instrumentation_981493419/recording.har index 44cc3eab..c427de36 100644 --- a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-manual-LLM-instrumentation_981493419/recording.har +++ b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-manual-LLM-instrumentation_981493419/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.19.5" + "value": "v20.11.1" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 475, + "headersSize": 583, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 603, + "bodySize": 623, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 603, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jJJBb9swDIXv/hWczkmRzE0W5LJDgd6KoUCAHdbCUCTa1iKLqkR3yYr890FKFrtbC/TiAz++Zz5SLwWAMFqsQahWsuq8nd60W2lUc7vvd0+/l3RXr/bl7v65vN30VotJUtD2Jyr+q7pS1HmLbMidsAooGZPr/MvyejFbLa9nGXSk0SZZ43laXi2m3IctTWfzz4uzsiWjMIo1/CgAAF7yN83oNO7FGrJPrnQYo2xQrC9NACKQTRUhYzSRpWMxGaAix+jy2N/bA2ij4ZtHt0GLHXI4QEPABFG1RPYrPLgHtyGwKIODln4lxkEqBMMRIqOPn8b2Aes+yhTP9daOgHSOWKb15GCPZ3K8RLHU+EDb+I9U1MaZ2FYBZSSXxo5MXmR6LAAe88r6V1sQPlDnuWLaYf7dfHGyE8ORRnB1hkws7VAvy8kbbpVGlsbG0cqFkqpFPSiH+8heGxqBYpT5/2He8j7lNq75iP0AlELPqCsfUBv1OvDQFjA94ffaLjvOA4uI4dkorNhgSHfQWMvenh6XiIfI2FW1cQ0GH0x+YemOxbH4AwAA//8DAG+OjEdgAwAA\"]" + "size": 623, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFJNb9swDL37V3C69JIU+ZjXLJcBa1H0lq0Y1hVFYSgSY2uVRUGigwZF/vsgJYvdrQN20YGP74mPjy8FgDBaLEGoRrJqvR1fLq7er6bX7erH/a35/nXR3erLZlbSzfbuy0yMEoPWP1Hxb9a5otZbZEPuAKuAkjGpTi/KD5OL2cfJJAMtabSJVnsez8/LMXdhTePJdFYemQ0ZhVEs4aEAAHjJb5rRaXwWS8g6udJijLJGsTw1AYhANlWEjNFElo7FqAcVOUaXx75rdqCNBm4QVh7dN7TYIocdaNyiJY8BaoJ1oCf8BJ9RyS5i6t6Bos5qd8bAQapcMwHw2aOLGN8N/wu46aJMfl1n7QCQzhHLtK/s9PGI7E/eLNU+0Dr+QRUb40xsqoAykks+IpMXGd0XAI95h92rtQgfqPVcMT1h/m5aHuREn9oAXBxBJpa2r8/nozfUKo0sjY2DDISSqkHdM/vAZKcNDYBi4PnvYd7SPvg2rv4f+R5QCj2jrnxAbdRrw31bwHTT/2o77TgPLCKGrVFYscGQctC4kZ09XJuIu8jYVhvjagw+mHxyKcdiX/wCAAD//wMABQIPSXEDAAA=\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-11-30T13:47:20.000Z", + "expires": "2025-08-24T22:31:41.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "7SfUHKVK4C05lp5oaRa_lj3tf3JtD_shY_BiHWa9XDE-1764508640-1.0.1.1-V0TQ87bAIMKgPFd6GHYUXlUqoN9yE7l.hejKLrBoKBZszkdI0MireWlCMaluBrkYs5qoBwTzjMD.xKHi8s2JV5GMsnqZ6CWIfThvrrRF2oA" + "value": "yA3yaxTVq_lRzeGvndltDF4hGkZn9kZFrWae1e49_LM-1756072901-1.0.1.1-a6dJxx8ZUNkw16gR0W5ZhZJTb0EuHUyPyPxESerXEko9thjRpPGdnqRhWWeQHfWQq3JmiqoZ_CG9ka0u0CAGDjBoDkBsiPdYOd1NTixzAGA" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "gn1p0BiDvfrCma7wc.CTZDnzgatR.VX.dfQHGaw2iUw-1764508640641-0.0.1.1-604800000" + "value": "iQtUVjYqEy.DU6WhyJf3Muh3Lu7OOiBtEvvkWgQ9KN8-1756072901348-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:20 GMT" + "value": "Sun, 24 Aug 2025 22:01:41 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "256" + "value": "359" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "281" + "value": "463" }, { "name": "x-ratelimit-limit-requests", @@ -182,11 +182,7 @@ }, { "name": "x-request-id", - "value": "req_ef305f359659485f85b93e3c1c6acd9c" - }, - { - "name": "x-openai-proxy-wasm", - "value": "v0.1" + "value": "req_e724b47ef08549ee913f345a8fed7bae" }, { "name": "cf-cache-status", @@ -195,12 +191,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=7SfUHKVK4C05lp5oaRa_lj3tf3JtD_shY_BiHWa9XDE-1764508640-1.0.1.1-V0TQ87bAIMKgPFd6GHYUXlUqoN9yE7l.hejKLrBoKBZszkdI0MireWlCMaluBrkYs5qoBwTzjMD.xKHi8s2JV5GMsnqZ6CWIfThvrrRF2oA; path=/; expires=Sun, 30-Nov-25 13:47:20 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=yA3yaxTVq_lRzeGvndltDF4hGkZn9kZFrWae1e49_LM-1756072901-1.0.1.1-a6dJxx8ZUNkw16gR0W5ZhZJTb0EuHUyPyPxESerXEko9thjRpPGdnqRhWWeQHfWQq3JmiqoZ_CG9ka0u0CAGDjBoDkBsiPdYOd1NTixzAGA; path=/; expires=Sun, 24-Aug-25 22:31:41 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=gn1p0BiDvfrCma7wc.CTZDnzgatR.VX.dfQHGaw2iUw-1764508640641-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=iQtUVjYqEy.DU6WhyJf3Muh3Lu7OOiBtEvvkWgQ9KN8-1756072901348-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -216,7 +212,7 @@ }, { "name": "cf-ray", - "value": "9a6a9fd929c8c231-TLV" + "value": "9746212d6fb1c224-TLV" }, { "name": "content-encoding", @@ -227,14 +223,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1321, + "headersSize": 1294, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:17:20.091Z", - "time": 471, + "startedDateTime": "2025-08-24T22:01:40.520Z", + "time": 649, "timings": { "blocked": -1, "connect": -1, @@ -242,7 +238,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 471 + "wait": 649 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-decoration-syntax-method-variant_2462514347/recording.har b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-decoration-syntax-method-variant_2462514347/recording.har index 2940525b..cb22871b 100644 --- a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-decoration-syntax-method-variant_2462514347/recording.har +++ b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-decoration-syntax-method-variant_2462514347/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.19.5" + "value": "v20.11.1" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 475, + "headersSize": 583, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 647, + "bodySize": 635, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 647, - "text": "[\"H4sIAAAAAAAAA4ySQW/bMAyF7/4VnC67JEU=\",\"3NRpkcuA7TYMKzAM2GEoDFlibK6yJFB00qDIfx/kpHG6dcAuPvDjeyYf9VwAKLJqDcp0Wkwf3fxT1+j2s6GvTLvm22DKZiv+qXLL+y+3SzXLitD8QiMvqisT+uhQKPgjNoxaMLuWt6ubanG3Wt6NoA8WXZa1UebLq2ouAzdhviivq5OyC2QwqTX8LAAAnsdvntFbfFJrWMxeKj2mpFtU63MTgOLgckXplCiJ9qJmEzTBC/px7B/dHixZkA7hPqL/jg57FN6DxS26EJGhYdSPMETYkXS5kxgStZ42ZLQXCNIhf4CPaPSQMDeMnv69wC5zCdAgCGuDFsiD9ntgdDrnlDqK7y5nY9wMSeds/ODcBdDeBzlqcioPJ3I45+BCGzk06Q+p2pCn1NWMOgWfd04SohrpoQB4GPMeXkWoIoc+Si3hEcffldXRTk0XnuD16gQliHZT/aacveFWWxRNLl3cSxltOrSTcjquHiyFC1Bc7Pz3MG95H/cm3/6P/QSMwSho68hoybxeeGpjzO//X23njMeBVULeksFaCDnfweJGD+74MlXaJ8G+3pBvkSPT+DzzHYtD8RsAAP//AwC8zvconQMAAA==\"]" + "size": 635, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLBbhMxEL3vVww+J1WSJqTNBYn2AIfCBQlFUK0ce7I7jddj2WMgqvLvyJs2m0KRuPgwb97zvHnzWAEosmoFyrRaTBfc+Obqdv7pbjp/yDz5eLvY3ew+3K3XhHk9Z1SjwuDNAxp5Zl0Y7oJDIfZH2ETUgkV1uly8nSxnV9fXPdCxRVdoTZDx5cViLDlueDyZzhZPzJbJYFIr+FYBADz2b5nRW/ylVjAZPVc6TEk3qFanJgAV2ZWK0ilREu1FjQbQsBf0/dhf2z1YsvA5oP+CDjuUuIdNRL2DHOAnSQskCYqzLBjfwXf/Ho3OCYEEPKJFC4k7hBS0QdhyBInakG9AewuOm4Z88+b8/4jbnHTx77NzZ4D2nkWX/fXO75+Qw8mr4yZE3qQ/qGpLnlJbR9SJffGVhIPq0UMFcN/vNL9YkwqRuyC18A7776aLo5waUhzA2ewJFBbthvrlcvSKWm1RNLl0loky2rRoB+YQoM6W+Ayozjz/Pcxr2kff5Jv/kR8AYzAI2jpEtGReGh7aIpYb/1fbacf9wCph/EEGayGMJQeLW53d8fpU2ifBrt6SbzCGSP0JlhyrQ/UbAAD//wMA8uCeZoEDAAA=\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-11-30T13:47:18.000Z", + "expires": "2025-08-24T22:31:39.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "WyPbZPkN0YJDSAzPk5C2VrR9C9_CRqDU3Sgsj56czG8-1764508638-1.0.1.1-V5njUBVWpYYp8.3eVfHzcwg4EyNSwcgZ6Ja5C28yml3G8zFxObBXTasr.nfgiP6XMCL8zWmFlEzdiBKzkXrwdb_D_j6rOmZfhJOBjt1o9bE" + "value": "QaS78SY1SCG7YE3nnGxmNFNuF47ZIlyLqIXJ2elIWXg-1756072899-1.0.1.1-t6IkmuZ0Y6UGnPIXoOhDb9k6BUIDNOIYlVzkHzOfo0odWqJT9CQhrOb1iZwD4v5arB.XjVQXGx_3E0AEnP78VLI_a83jcsyG8fg53EEnodo" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "nK5FsxlvSuxG0TuJP6wbG3SvS2_kci1F0AYyCcUgoUM-1764508638948-0.0.1.1-604800000" + "value": "ZPujzzLiE6Kha1z83zX7kdGNe6unTY21sdMANPktBjQ-1756072899610-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:18 GMT" + "value": "Sun, 24 Aug 2025 22:01:39 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "277" + "value": "405" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "298" + "value": "437" }, { "name": "x-ratelimit-limit-requests", @@ -170,7 +170,7 @@ }, { "name": "x-ratelimit-remaining-tokens", - "value": "49999989" + "value": "49999988" }, { "name": "x-ratelimit-reset-requests", @@ -182,11 +182,7 @@ }, { "name": "x-request-id", - "value": "req_2341acae8177481198ed3ad3526c85d4" - }, - { - "name": "x-openai-proxy-wasm", - "value": "v0.1" + "value": "req_de9be84624fa4abc8b6a17421f115ea5" }, { "name": "cf-cache-status", @@ -195,12 +191,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=WyPbZPkN0YJDSAzPk5C2VrR9C9_CRqDU3Sgsj56czG8-1764508638-1.0.1.1-V5njUBVWpYYp8.3eVfHzcwg4EyNSwcgZ6Ja5C28yml3G8zFxObBXTasr.nfgiP6XMCL8zWmFlEzdiBKzkXrwdb_D_j6rOmZfhJOBjt1o9bE; path=/; expires=Sun, 30-Nov-25 13:47:18 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=QaS78SY1SCG7YE3nnGxmNFNuF47ZIlyLqIXJ2elIWXg-1756072899-1.0.1.1-t6IkmuZ0Y6UGnPIXoOhDb9k6BUIDNOIYlVzkHzOfo0odWqJT9CQhrOb1iZwD4v5arB.XjVQXGx_3E0AEnP78VLI_a83jcsyG8fg53EEnodo; path=/; expires=Sun, 24-Aug-25 22:31:39 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=nK5FsxlvSuxG0TuJP6wbG3SvS2_kci1F0AYyCcUgoUM-1764508638948-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=ZPujzzLiE6Kha1z83zX7kdGNe6unTY21sdMANPktBjQ-1756072899610-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -216,7 +212,7 @@ }, { "name": "cf-ray", - "value": "9a6a9fce4e39c231-TLV" + "value": "97462122b9f7c224-TLV" }, { "name": "content-encoding", @@ -227,14 +223,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1321, + "headersSize": 1294, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:17:18.358Z", - "time": 508, + "startedDateTime": "2025-08-24T22:01:38.812Z", + "time": 628, "timings": { "blocked": -1, "connect": -1, @@ -242,7 +238,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 508 + "wait": 628 } }, { @@ -301,7 +297,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.19.5" + "value": "v20.11.1" }, { "_fromType": "array", @@ -313,7 +309,7 @@ "value": "api.openai.com" } ], - "headersSize": 475, + "headersSize": 583, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -325,23 +321,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 623, + "bodySize": 647, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 623, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jJJNbxNBDIbv+yusOSdRPkghORaoBJU4gEBIqFo5M87utLMz07G3IVT572g2aXYLReIyBz9+PX5tPxYAyhq1BqVrFN1EN35bb7De3X+9mn+7+hA/63fX+telcVXi7/fXapQVYXNLWp5UEx2a6Ehs8EesE6FQrjp7ffFqOX1zsVh1oAmGXJZVUcaLyXIsbdqE8XQ2X56UdbCaWK3hRwEA8Ni9uUdv6Kdaw3T0FGmIGStS63MSgErB5YhCZsuCXtSohzp4Id+1/REf8ItONgrskOHUMFgPty0LzKZgcM+w2cNlIm/Qw3ur68xnq9USdrV1BLuQ7qyvAAU+kbDGSJPhf4m2LWP261vnBgC9D4J5Xp3TmxM5nL25UMUUNvyHVG2tt1yXiZCDzz5YQlQdPRQAN90M22djUTGFJkop4Y6672aLYznVb62H8/kJShB0fXyxHL1QrTQkaB0PdqA06ppMr+wXhq2xYQCKgee/m3mp9tG39dX/lO+B1hSFTBkTGaufG+7TEuWb/lfaecZdw4opPVhNpVhKeQ+Gtti647Up3rNQU26tryjFZLuTy3ssDsVvAAAA//8DAL2ECBpxAwAA\"]" + "size": 647, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLLjhMxELzPV7QscUuiPMhmk+sCB5A48BCs0GrUsXsmBo/bsnsGolX+HXnymCwsEhcfurrK3VX9WAAoa9QGlN6h6Ca48d3tq5fvP38J+0/3d1+xW7yzqXr94U3tV1gv1SgzePudtJxZE81NcCSW/RHWkVAoq85Wy5vpan67XvdAw4ZcptVBxovJcixt3PJ4OpufhPWOraakNvCtAAB47N88ozf0S21gOjpXGkoJa1KbSxOAiuxyRWFKNgl6UaMB1OyFfD/2W+zwo442CNgEsiNoOAkEDq3DCCFyHbFprK/Boa9brGkEbSID2z1wRxHWqxfAFaBz8JO2yQolqDiC2XtsrAb0BqwXiqjFdgSnzyfXA0Wq2oTZEN86dwWg9yyYDe2teDghh8vyjusQeZv+oKrKept2ZSRM7POiSTioHj0UAA+9ye0T31SI3AQphX9Q/91scZRTQ6wDOD+DwoJuqC9uRs+olYYErUtXISmNekdmYA6JYmssXwHF1c5/D/Oc9nFv6+v/kR8ArSkImTJEMlY/XXhoi5SP/l9tF4/7gVWi2FlNpViKOQdDFbbueI4q7ZNQU1bW1xRDtP1N5hyLQ/EbAAD//wMA3cFA4JIDAAA=\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-11-30T13:47:19.000Z", + "expires": "2025-08-24T22:31:40.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "qroP6hx3lMIdeXlRII3ZKZKefZ1Bk0fxVUTJv0B2.PY-1764508639-1.0.1.1-tXs2bT2UKrAsOZ76_dt7OaL7aOqelEEeulX_b3wE1dNvzkGm9TNOc484mvpR9fjgO5S9MYYCmysrghaKcvIQc9J.R0drq0yZDGGn..Tvtkg" + "value": "57Yb4wb9JC1Z7FVi9fjdtb6yUdtU2F1q_q16.GS51cA-1756072900-1.0.1.1-W_x2UWyGljjIh8ZTYCOvnYcmWeAUGVTNg9dBAcZGt7IBIerrxkofMWw4mzyXH7boDTMAz4_5jmMOJXHVHXl1bQlUoTxQhWZnUhbZCGEaI0U" }, { "domain": ".api.openai.com", @@ -350,13 +346,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "copltWLlEJGNGQ3ZT6UKoWgTRkD4.Jk2Sncmk8Q1Nfc-1764508639561-0.0.1.1-604800000" + "value": "9yGzvqCRmHMmbWs9fdq0HhG9gylDEcytxaUOFk7h28M-1756072900193-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:19 GMT" + "value": "Sun, 24 Aug 2025 22:01:40 GMT" }, { "name": "content-type", @@ -380,7 +376,7 @@ }, { "name": "openai-processing-ms", - "value": "372" + "value": "359" }, { "name": "openai-project", @@ -392,7 +388,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "393" + "value": "388" }, { "name": "x-ratelimit-limit-requests", @@ -420,11 +416,7 @@ }, { "name": "x-request-id", - "value": "req_9ebf3cbda008456d9e503e35b677f021" - }, - { - "name": "x-openai-proxy-wasm", - "value": "v0.1" + "value": "req_f5eb80fd1a7e49a1baf9f09e94cf87f0" }, { "name": "cf-cache-status", @@ -433,12 +425,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=qroP6hx3lMIdeXlRII3ZKZKefZ1Bk0fxVUTJv0B2.PY-1764508639-1.0.1.1-tXs2bT2UKrAsOZ76_dt7OaL7aOqelEEeulX_b3wE1dNvzkGm9TNOc484mvpR9fjgO5S9MYYCmysrghaKcvIQc9J.R0drq0yZDGGn..Tvtkg; path=/; expires=Sun, 30-Nov-25 13:47:19 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=57Yb4wb9JC1Z7FVi9fjdtb6yUdtU2F1q_q16.GS51cA-1756072900-1.0.1.1-W_x2UWyGljjIh8ZTYCOvnYcmWeAUGVTNg9dBAcZGt7IBIerrxkofMWw4mzyXH7boDTMAz4_5jmMOJXHVHXl1bQlUoTxQhWZnUhbZCGEaI0U; path=/; expires=Sun, 24-Aug-25 22:31:40 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=copltWLlEJGNGQ3ZT6UKoWgTRkD4.Jk2Sncmk8Q1Nfc-1764508639561-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=9yGzvqCRmHMmbWs9fdq0HhG9gylDEcytxaUOFk7h28M-1756072900193-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -454,7 +446,7 @@ }, { "name": "cf-ray", - "value": "9a6a9fd1893cc231-TLV" + "value": "97462126bbcec224-TLV" }, { "name": "content-encoding", @@ -465,14 +457,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1321, + "headersSize": 1294, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:17:18.870Z", - "time": 701, + "startedDateTime": "2025-08-24T22:01:39.448Z", + "time": 581, "timings": { "blocked": -1, "connect": -1, @@ -480,7 +472,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 701 + "wait": 581 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-decoration-syntax_3330947443/recording.har b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-decoration-syntax_3330947443/recording.har index dfd1d442..72f650e4 100644 --- a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-decoration-syntax_3330947443/recording.har +++ b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-decoration-syntax_3330947443/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.19.5" + "value": "v20.11.1" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 475, + "headersSize": 583, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 619, + "bodySize": 646, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 619, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jJJBbxMxEIXv+ysGn5MqIU1Kc0HQA0ggISQQUqtqNbFndw1ej7FnK1ZV/jvyJs1uoZV68cHfvPG8eb4vAJQ1agtKNyi6DW5+1eywqr9+THfLS1vrD5+ur79vtL9a/N69+6xmWcG7n6TlQXWmuQ2OxLI/YB0JhXLX5cXmfL14s1ldDKBlQy7L6iDz1dl6Ll3c8XyxfL0+Khu2mpLawk0BAHA/nHlGb+iP2sJi9nDTUkpYk9qeigBUZJdvFKZkk6AXNRuhZi/kh7F/ND0Ya0Aagi+B/Ddy1JLEHkLk7A1qBuHMI4b+LbwnjV0isAINGhBmaNH3IBE1gU2po/Rq+likqkuYzfrOuQlA71kwL2uweXsk+5Mxx3WIvEv/SFVlvU1NGQkT+2wiCQc10H0BcDsssHu0ExUit0FK4V80PLdcH9qpMbIJvDxCYUE33q/OZ090Kw0JWpcmASiNuiEzKse0sDOWJ6CYeP5/mKd6H3xbX7+k/Qi0piBkyhDJWP3Y8FgWKYf+XNlpx8PAKlG8s5pKsRRzDoYq7Nzhq6nUJ6G2rKyvKYZoh/+Wcyz2xV8AAAD//wMA5EEeK24DAAA=\"]" + "size": 646, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jJJNb9swDIbv/hWcLrskRZImTZfLsA/slG0oMGyHtTAUibGVSKIg0e2MIv99kJPG7tYBu+jAhy/Fl+RjASCMFisQqpasXLDjD9cf5+ubd7sv6tNnt9fr7/N2jrW94d1sbcUoK2izQ8VPqgtFLlhkQ/6IVUTJmKtOl4uryXJ2/WbZAUcabZZVgceXF4sxN3FD48l0tjgpazIKk1jBzwIA4LF7c49e4y+xgsnoKeIwJVmhWJ2TAEQkmyNCpmQSS89i1ENFntF3bf+oW9BGA9cIXwP6b2jRIccWNN6jpYARKoJNpD2+vfW3/j0q2STMghYUNVb71wwcpUJ4qDEiSGszNREceWzhAT2/Gn4fcdskme37xtoBkN4Tyzy+zvjdiRzOVi1VIdIm/SEVW+NNqsuIMpHPthJTEB09FAB33UibZ1MSIZILXDLtsftuujiWE/0SezibniATS9vHL69GL1QrNbI0Ng1WIpRUNepe2e9PNtrQABQDz38381Lto2/jq/8p3wOlMDDqMkTURj033KdFzCf+r7TzjLuGRcJ4bxSWbDDmPWjcysYej0+kNjG6cmt8hTFE011g3mNxKH4DAAD//w==\",\"AwD6YfPEgAMAAA==\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-11-30T13:47:17.000Z", + "expires": "2025-08-24T22:31:38.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "Ib0JpJ8FHcmu1vTYv7HqqpWuZYCqs4jps30la5_MdDk-1764508637-1.0.1.1-FyXvv6e_lxVdkXNB0TjobZj2oY_yZjH3D_9CKdCvBdRSq3h8hpvogu5CRzDTuo8AZePQZjtqf.WUdjqSiuHMnbvb7vGnhv315WZqnkIpIAo" + "value": "xeuZkhXPuxACxsIayRAoIpjNImYCJMwkdgWClgNpPGk-1756072898-1.0.1.1-8yf9snyT_IT17OsiqKrn_wwOYT6FnBNSo3O2_YrUB.qBVkO5fKzOzijx_4urTjo9CIlF56oESnYdAbsZ_.Qg_465_5r_RYUIEAfeYifv8iQ" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "M_iZdIHoTxBiOiSK30s886tWrIb1slN.Tu420Knug40-1764508637813-0.0.1.1-604800000" + "value": "OqtRlwVbqNq33i9Rp980MswwCLeNK9CUqjAfkg2Gb9g-1756072898434-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:17 GMT" + "value": "Sun, 24 Aug 2025 22:01:38 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "298" + "value": "396" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "323" + "value": "464" }, { "name": "x-ratelimit-limit-requests", @@ -170,7 +170,7 @@ }, { "name": "x-ratelimit-remaining-tokens", - "value": "49999989" + "value": "49999988" }, { "name": "x-ratelimit-reset-requests", @@ -182,11 +182,7 @@ }, { "name": "x-request-id", - "value": "req_f545f408533c4083bced589e4729d66e" - }, - { - "name": "x-openai-proxy-wasm", - "value": "v0.1" + "value": "req_7d4ed894bfac4a97b84e358822815247" }, { "name": "cf-cache-status", @@ -195,12 +191,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=Ib0JpJ8FHcmu1vTYv7HqqpWuZYCqs4jps30la5_MdDk-1764508637-1.0.1.1-FyXvv6e_lxVdkXNB0TjobZj2oY_yZjH3D_9CKdCvBdRSq3h8hpvogu5CRzDTuo8AZePQZjtqf.WUdjqSiuHMnbvb7vGnhv315WZqnkIpIAo; path=/; expires=Sun, 30-Nov-25 13:47:17 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=xeuZkhXPuxACxsIayRAoIpjNImYCJMwkdgWClgNpPGk-1756072898-1.0.1.1-8yf9snyT_IT17OsiqKrn_wwOYT6FnBNSo3O2_YrUB.qBVkO5fKzOzijx_4urTjo9CIlF56oESnYdAbsZ_.Qg_465_5r_RYUIEAfeYifv8iQ; path=/; expires=Sun, 24-Aug-25 22:31:38 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=M_iZdIHoTxBiOiSK30s886tWrIb1slN.Tu420Knug40-1764508637813-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=OqtRlwVbqNq33i9Rp980MswwCLeNK9CUqjAfkg2Gb9g-1756072898434-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -216,7 +212,7 @@ }, { "name": "cf-ray", - "value": "9a6a9fc73f13c231-TLV" + "value": "9746211b3e53c224-TLV" }, { "name": "content-encoding", @@ -227,14 +223,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1321, + "headersSize": 1294, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:17:17.223Z", - "time": 510, + "startedDateTime": "2025-08-24T22:01:37.607Z", + "time": 653, "timings": { "blocked": -1, "connect": -1, @@ -242,7 +238,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 510 + "wait": 653 } }, { @@ -301,7 +297,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.19.5" + "value": "v20.11.1" }, { "_fromType": "array", @@ -313,7 +309,7 @@ "value": "api.openai.com" } ], - "headersSize": 475, + "headersSize": 583, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -325,23 +321,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 639, + "bodySize": 615, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 639, - "text": "[\"H4sIAAAAAAAAA4xSwY7aMBC95ytGPgOCZYE=\",\"LreWVl31sFLVVq1UraLBGRKD47HsCRSt+PfKCUvYbSv1Einz5j3PvDdPGYAyhVqC0hWKrr0drqo1bt7Ov/74/HEx37PW1e779v7bvX7YvrdqkBi83pKWZ9ZIc+0tiWHXwToQCiXVyWJ+Oxu/mU8XLVBzQTbRSi/D6Wg2lCaseTie3MzOzIqNpqiW8DMDAHhqv2lGV9AvtYTx4LlSU4xYklpemgBUYJsqCmM0UdCJGvSgZifk2rE/4R6/6GC8wAEjnAeG9RHeBXIFOvhgdAXGwbaJApMxFHiMcKiMJThw2BlXAgo8kESNnmDFdd04ozG5EGHFwXNof5LI5O5uNroeJdCmiZiscI21VwA6x9KJJBMez8jpsrbl0gdex1dUtTHOxCoPhJFdWjEKe9WipwzgsbW3eeGY8oFrL7nwjtrnJtNOTvWB9uDN7RkUFrR9vYv2tVpekKCx8SoepVFXVPTMPktsCsNXQHa185/D/E2729u48n/ke0Br8kJF7gMVRr9cuG8LlM79X20Xj9uBVaSwN5pyMRRSDgVtsLHdIap4jEJ1vjGupOCDaa8x5Zidst8AAAD//wMAm9t+5IwDAAA=\"]" + "size": 615, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFJNb9swDL37VxA6J0GSJk2a63rZR4FiGTBgQ2EwEu1olUVNorsNRf77IKeN3S0FetGBj++Jj4+PBYCyRm1A6T2KboIbv1tfL27uv2xvVrfXtz8r995+Xnz8+i0uP/Fiq0aZwbsfpOWZNdHcBEdi2R9hHQmFsupstbycrubrq3UHNGzIZVodZHwxWY6ljTseT2fz5RNzz1ZTUhv4XgAAPHZvntEb+q02MB09VxpKCWtSm1MTgIrsckVhSjYJelGjHtTshXw39gd8wK2ONgjYBLInaDgJBA6twwghch2xaayvwaGvW6wJ2kQGKo6wa60zGfpFO8AQnNWYzafJ8LdIVZswu/WtcwMAvWc5ErLPuyfkcHLmuA6Rd+kfqqqst2lfRsLEPrtIwkF16KEAuOs22L5YigqRmyCl8D11380ujnKqz+wMKCzo+vr8cnRGrTQkaF0aJKA06j2ZntnHha2xPACKgef/hzmnffRtff0W+R7QmoKQKUMkY/VLw31bpHzRr7WddtwNrBLFB6upFEsx52CowtYdb02lP0moKSvra4oh2u7gco7FofgLAAD//wMA95aPaW8DAAA=\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-11-30T13:47:18.000Z", + "expires": "2025-08-24T22:31:38.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "KauEklaxXMWjXSgeKbX3qWuLtxMrtdu77DxQXV96.BA-1764508638-1.0.1.1-dAviGaRk3g45SXrTGJPxSTKYD29QkNERlKVbJwva2_GPayIH8POFr1jJjvJpTPnVx9qsZzK76beiTgDT2nEdirdDSpCWJss_kaQg8pm2R0k" + "value": "XeRj0szjvRI6Lox.vvgbg_aq3.fv44BEb_F_4OBNj_M-1756072898-1.0.1.1-XdM4n3Jzz9SGcPWWqgM64PKpiJrtBhqSo5G9gJKluItbDjNJcS7sABCL_3WZI4Hv.UeJXI3n6FzBedRj.sO2yTdqYb5RfRcqNXKCT_25kwg" }, { "domain": ".api.openai.com", @@ -350,13 +346,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "2acfahXBJ.1p7p5d4GtwPPq_pGdmnVOXT8eRRejZ.eU-1764508638417-0.0.1.1-604800000" + "value": "big5QH9aeVXwKA2Iq1si0dWY6v40EOzcAJDfp_OHw34-1756072898974-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:18 GMT" + "value": "Sun, 24 Aug 2025 22:01:38 GMT" }, { "name": "content-type", @@ -380,7 +376,7 @@ }, { "name": "openai-processing-ms", - "value": "382" + "value": "257" }, { "name": "openai-project", @@ -392,7 +388,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "402" + "value": "350" }, { "name": "x-ratelimit-limit-requests", @@ -420,11 +416,7 @@ }, { "name": "x-request-id", - "value": "req_847306bb6ac8479fbb74e604ae23a898" - }, - { - "name": "x-openai-proxy-wasm", - "value": "v0.1" + "value": "req_3d61c7e576254b5a87ce689e41e977ac" }, { "name": "cf-cache-status", @@ -433,12 +425,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=KauEklaxXMWjXSgeKbX3qWuLtxMrtdu77DxQXV96.BA-1764508638-1.0.1.1-dAviGaRk3g45SXrTGJPxSTKYD29QkNERlKVbJwva2_GPayIH8POFr1jJjvJpTPnVx9qsZzK76beiTgDT2nEdirdDSpCWJss_kaQg8pm2R0k; path=/; expires=Sun, 30-Nov-25 13:47:18 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=XeRj0szjvRI6Lox.vvgbg_aq3.fv44BEb_F_4OBNj_M-1756072898-1.0.1.1-XdM4n3Jzz9SGcPWWqgM64PKpiJrtBhqSo5G9gJKluItbDjNJcS7sABCL_3WZI4Hv.UeJXI3n6FzBedRj.sO2yTdqYb5RfRcqNXKCT_25kwg; path=/; expires=Sun, 24-Aug-25 22:31:38 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=2acfahXBJ.1p7p5d4GtwPPq_pGdmnVOXT8eRRejZ.eU-1764508638417-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=big5QH9aeVXwKA2Iq1si0dWY6v40EOzcAJDfp_OHw34-1756072898974-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -454,7 +446,7 @@ }, { "name": "cf-ray", - "value": "9a6a9fca79d8c231-TLV" + "value": "9746211f4876c224-TLV" }, { "name": "content-encoding", @@ -465,14 +457,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1321, + "headersSize": 1294, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:17:17.741Z", - "time": 612, + "startedDateTime": "2025-08-24T22:01:38.265Z", + "time": 535, "timings": { "blocked": -1, "connect": -1, @@ -480,7 +472,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 612 + "wait": 535 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-withWorkflow-syntax_3788948678/recording.har b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-withWorkflow-syntax_3788948678/recording.har index 9d44f91b..67932455 100644 --- a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-withWorkflow-syntax_3788948678/recording.har +++ b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-spans-for-workflows-using-withWorkflow-syntax_3788948678/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.19.5" + "value": "v20.11.1" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 475, + "headersSize": 583, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 671, + "bodySize": 651, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 671, - "text": "[\"H4sIAAAAAAAAA4xTTY/TMBC991cMvnBpV+0=\",\"9oNVL0iAQBUHhITgsFpFjj1JhjoeY0/KllX/O3LabbqwSFwiZd68l+f3nIcRgCKr1qBMo8W0wU3eNqXGzeZdWm4/ft78WpTxx+p92H1dLOYf7tU4M7j8jkYeWVeG2+BQiP0RNhG1YFadvVotltOb1XzVAy1bdJlWB5nMr5YT6WLJk+nsenliNkwGk1rD7QgA4KF/Zo/e4r1aw3T8OGkxJV2jWp+XAFRklydKp0RJtBc1HkDDXtD3tr81e7BkQRqETwH9F3TYosQ9WNyh44ARyoh6C12AnyRN3qQIiWpPFRntBVgajK/hDRrdJcwLezDcOetfCjTaW9cPwbDvrYBEbcjXoL2Flj0Jx/zK1Uk8otM5xNRQeHFpPGLVJZ2D851zF4D2nuXIyZHdnZDDOSTHdYhcpj+oqiJPqSki6sQ+B5KEg+rRwwjgri+je5KvCpHbIIXwFvvPzZZHOTXUP4DXNydQWLQb5ov5+Bm1wqJocumiTGW0adAOzKF53VniC2B0cea/zTynfTw3+fp/5AfAGAyCtggRLZmnBx7WIuaf419r54x7wyph3JHBQghj7sFipTt3vLYq7ZNgW1Tka4whUn93c4+jw+g3AAAA//8DAHOOIne6AwAA\"]" + "size": 651, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLLjhMxELzPVzS+cElWSdjsIxcE7AkOgIS0CLQa9dg9M816bK/dwxJW+XfkyWMSHhIXH7q6yt1V/VQAKDZqBUq3KLoLdvrm6ub8nf18k17Rdf1gq2jslw8/w+Pb2cPHWzXJDF99Iy171pn2XbAk7N0W1pFQKKvOL5cXs8vF1fXFAHTekM20Jsj0xdlyKn2s/HQ2Xyx3zNazpqRW8LUAAHga3jyjM/RDrWA22Vc6SgkbUqtDE4CK3uaKwpQ4CTpRkxHU3gm5Yezbdg2GDUhL8D6Q+0SWOpK4BstVxLiGKhLeQx/gkaUFlgQNR1tHJmdewmvS2CcCFtC+t8Y9F2jRGUuAEMliNiO1vKOjtSAtClTYNNjQs+OxItV9wmyL6609AtA5L1ulbMjdDtkcLLC+CdFX6TeqqtlxastImLzL6ybxQQ3opgC4G6zuT9xTIfouSCn+nobv5sutnBrDHcHFHhQvaMf6+S6eU7XSkCDbdBSV0qhbMiNzzBV7w/4IKI52/nOYv2lv92bX/I/8CGhNQciUIZJhfbrw2BYpn/6/2g4eDwOrRPE7ayqFKeYcDNXY2+1RqrROQl1Zs2sohsjDZeYci03xCwAA//8DAEaTkYeYAwAA\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-11-30T13:47:16.000Z", + "expires": "2025-08-24T22:31:37.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "x2J7VoDF8BOX.HCLN7KWGvZbjOFaDMsIBGTqyHIFosk-1764508636-1.0.1.1-PIRi7zJUxJjP_PK1MKLc3Qc8nfcbvdJNmU7lbEQPvb9aEsQLyuAsCq_oOulCqg9jXWjlcjOFwnFLgx4msedRop2W0JIx32p63jqYoax5sks" + "value": ".o0a7QV1g5p2PGVThh2GmiCx5a8.gEUKTV5wQkJcV2o-1756072897-1.0.1.1-p53oAolAr8UafMy5McpEJ9rhTr5Z82LsQPQVeQ5Wca5wKQEq9kaa9EnemekZ6_KBaRWxhl5F.Kf4qkjUGsFC5a3LGZVtl9qnhZompi2UvS0" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "fo0rSet.BoBT5o7_Ynq8ug2NvVBOwWeEZD8_un3Wu_o-1764508636677-0.0.1.1-604800000" + "value": "YH._SGFPHKE16IZLGfcgZL0Vqk..kuHrGz0kglvAD94-1756072897170-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:16 GMT" + "value": "Sun, 24 Aug 2025 22:01:37 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "346" + "value": "334" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "364" + "value": "414" }, { "name": "x-ratelimit-limit-requests", @@ -182,11 +182,7 @@ }, { "name": "x-request-id", - "value": "req_cc40523ff92d46cca2f52a9d1968ee17" - }, - { - "name": "x-openai-proxy-wasm", - "value": "v0.1" + "value": "req_fc8ecede554a4503985a45721f1b8aa9" }, { "name": "cf-cache-status", @@ -195,12 +191,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=x2J7VoDF8BOX.HCLN7KWGvZbjOFaDMsIBGTqyHIFosk-1764508636-1.0.1.1-PIRi7zJUxJjP_PK1MKLc3Qc8nfcbvdJNmU7lbEQPvb9aEsQLyuAsCq_oOulCqg9jXWjlcjOFwnFLgx4msedRop2W0JIx32p63jqYoax5sks; path=/; expires=Sun, 30-Nov-25 13:47:16 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=.o0a7QV1g5p2PGVThh2GmiCx5a8.gEUKTV5wQkJcV2o-1756072897-1.0.1.1-p53oAolAr8UafMy5McpEJ9rhTr5Z82LsQPQVeQ5Wca5wKQEq9kaa9EnemekZ6_KBaRWxhl5F.Kf4qkjUGsFC5a3LGZVtl9qnhZompi2UvS0; path=/; expires=Sun, 24-Aug-25 22:31:37 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=fo0rSet.BoBT5o7_Ynq8ug2NvVBOwWeEZD8_un3Wu_o-1764508636677-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=YH._SGFPHKE16IZLGfcgZL0Vqk..kuHrGz0kglvAD94-1756072897170-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -216,7 +212,7 @@ }, { "name": "cf-ray", - "value": "9a6a9fbfdf38c231-TLV" + "value": "97462113aa47c224-TLV" }, { "name": "content-encoding", @@ -227,14 +223,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1321, + "headersSize": 1294, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:17:16.028Z", - "time": 573, + "startedDateTime": "2025-08-24T22:01:36.384Z", + "time": 612, "timings": { "blocked": -1, "connect": -1, @@ -242,7 +238,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 573 + "wait": 612 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-workflow-and-tasks-spans-with-chained-entity-names_971051426/recording.har b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-workflow-and-tasks-spans-with-chained-entity-names_971051426/recording.har index 0e91ecad..d8353ac2 100644 --- a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-workflow-and-tasks-spans-with-chained-entity-names_971051426/recording.har +++ b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-create-workflow-and-tasks-spans-with-chained-entity-names_971051426/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.19.5" + "value": "v20.11.1" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 475, + "headersSize": 583, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 615, + "bodySize": 619, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 615, - "text": "[\"H4sIAAAAAAAAA4xSTWsbMRC976+Y6mwHf6Y=\",\"iS+B5NRTKRQSaMIylsa7SrQaIc2WmuD/XiQ73k2bQmHZw7x5T/PmzWsFoKxRG1C6RdFdcNO7dovPq+XDGrf6y8P328V107vE3+76r1f3apIZvH0mLW+sC81dcCSW/RHWkVAoq84/X67Ws6vL1bwAHRtymdYEmS4v1lPp45ans/lifWK2bDUltYEfFQDAa/nnGb2hX2oDs8lbpaOUsCG1OTcBqMguVxSmZJOgFzUZQM1eyJex79s9GGtAWoJgIwpBwyBcColwx2wgUhLsI3q5gUf/6G9JY58I2vxhLOw9tGgAITj0L8IeUiBt0X0aPxxp1yfMxn3v3AhA71kwL65Yfjohh7NJx02IvE1/UNXOepvaOhIm9tlQEg6qoIcK4Kkss3+3HxUid0Fq4Rcqz82XRzk1xDeAi/kJFBZ0Q325mnygVhsStC6NwlAadUtmYA7JYW8sj4Bq5PnvYT7SPvq2vvkf+QHQmoKQqUMkY/V7w0NbpHzc/2o777gMrBLFn1ZTLZZizsHQDnt3PDuV9kmoq3fWNxRDtOX2co7VofoNAAD//wMA5Z4/E3oDAAA=\"]" + "size": 619, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFJLTxsxEL7vrxh8TlAeLEtyqVBbqYf2QFSJSoBWjj3ZNfV6LHu2IkL575Udkg0tSFx8mO/h+WbmuQAQRoslCNVKVp23489XXy5uFpPbr0/V95vHX9tKluVPe1G18urHQoySgtaPqPigOlfUeYtsyO1hFVAyJtdpVV5OqtliMstARxptkjWex/Pzcsx9WNN4Mp2VL8qWjMIolnBXAAA85zf16DQ+iSVMRodKhzHKBsXySAIQgWyqCBmjiSwdi9EAKnKMLrd9225BGw3cIngTJCM0BEy5cO29RYhMAT/du3v3DaFFGTJ7C63U0KSAcL1arVZnmewD6V5xPDv9L+CmjzLldb21J4B0jlimeeWkDy/I7pjNUuMDreM/UrExzsS2DigjuZQjMnmR0V0B8JBn2L8ai/CBOs8102/M303nezsxbG0AZweQiaUd6vPL0RtutUaWxsaTHQglVYt6UA4Lk702dAIUJ5n/b+Yt731u45qP2A+AUugZde0DaqNeBx5oAdNNv0c7zjg3LCKGP0ZhzQZD2oPGjezt/tpE3EbGrt4Y12DwweSTS3ssdsVfAAAA//8DAFZ//nhxAwAA\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-11-30T13:47:22.000Z", + "expires": "2025-08-24T22:31:43.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "blDsJdgkIsPARRfBwVFqC_X7ODrnqvll94boYaYRYUw-1764508642-1.0.1.1-so8VZWwQGfSkNNxHOW3G9xHBJ3OozL5HhcVzI1ibKxTi5EAixo9ahvTgrz3lnjhU4m_95mKD0CZEquDAiSEUluPTHvRmEL2H0B6gQMPl.r0" + "value": "IRR_Hg1AP1hIx7xeV90ykmOBXoz2pLEKnRN0dELx1Zg-1756072903-1.0.1.1-AQF4vhUO5MxSb3ZAqR7qSwL1IV85zYd3dV8.w0r4MpDeIsHHWE9rDLNABMpeaCnBf8MkQ8Qiu8DwG1jRHFZW2xL0EwWCz_AKzr0CZtXakwM" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "mFGjqM2AMjDkgjxTMhKnVNLTZWd1XQX91FhAdLRkkFo-1764508642245-0.0.1.1-604800000" + "value": "DhL8C8BfbpdEH.GyvcRiEiSC3Nl.DtOfI21vSncwcaw-1756072903450-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:22 GMT" + "value": "Sun, 24 Aug 2025 22:01:43 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "238" + "value": "402" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "258" + "value": "434" }, { "name": "x-ratelimit-limit-requests", @@ -170,7 +170,7 @@ }, { "name": "x-ratelimit-remaining-tokens", - "value": "49999990" + "value": "49999991" }, { "name": "x-ratelimit-reset-requests", @@ -182,11 +182,7 @@ }, { "name": "x-request-id", - "value": "req_ead078e0da02490d94a8ff14d8aba65b" - }, - { - "name": "x-openai-proxy-wasm", - "value": "v0.1" + "value": "req_591beb4f122e4457a940476a0d4c6ea3" }, { "name": "cf-cache-status", @@ -195,12 +191,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=blDsJdgkIsPARRfBwVFqC_X7ODrnqvll94boYaYRYUw-1764508642-1.0.1.1-so8VZWwQGfSkNNxHOW3G9xHBJ3OozL5HhcVzI1ibKxTi5EAixo9ahvTgrz3lnjhU4m_95mKD0CZEquDAiSEUluPTHvRmEL2H0B6gQMPl.r0; path=/; expires=Sun, 30-Nov-25 13:47:22 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=IRR_Hg1AP1hIx7xeV90ykmOBXoz2pLEKnRN0dELx1Zg-1756072903-1.0.1.1-AQF4vhUO5MxSb3ZAqR7qSwL1IV85zYd3dV8.w0r4MpDeIsHHWE9rDLNABMpeaCnBf8MkQ8Qiu8DwG1jRHFZW2xL0EwWCz_AKzr0CZtXakwM; path=/; expires=Sun, 24-Aug-25 22:31:43 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=mFGjqM2AMjDkgjxTMhKnVNLTZWd1XQX91FhAdLRkkFo-1764508642245-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=DhL8C8BfbpdEH.GyvcRiEiSC3Nl.DtOfI21vSncwcaw-1756072903450-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -216,7 +212,7 @@ }, { "name": "cf-ray", - "value": "9a6a9fe34d2ec231-TLV" + "value": "9746213acf72c224-TLV" }, { "name": "content-encoding", @@ -227,14 +223,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1321, + "headersSize": 1294, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:17:21.713Z", - "time": 518, + "startedDateTime": "2025-08-24T22:01:42.656Z", + "time": 705, "timings": { "blocked": -1, "connect": -1, @@ -242,7 +238,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 518 + "wait": 705 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-fix-Vercel-AI-spans-to-match-OpenLLMetry-format_2061519753/recording.har b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-fix-Vercel-AI-spans-to-match-OpenLLMetry-format_2061519753/recording.har index a60ed136..dc1284de 100644 --- a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-fix-Vercel-AI-spans-to-match-OpenLLMetry-format_2061519753/recording.har +++ b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-fix-Vercel-AI-spans-to-match-OpenLLMetry-format_2061519753/recording.har @@ -20,7 +20,7 @@ "value": "application/json" } ], - "headersSize": 165, + "headersSize": 273, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -32,11 +32,11 @@ "url": "https://api.openai.com/v1/responses" }, "response": { - "bodySize": 1469, + "bodySize": 1386, "content": { "mimeType": "application/json", - "size": 1469, - "text": "{\n \"id\": \"resp_08c986a2dff68ed700692c43e276288196a67f1af74e79fd2c\",\n \"object\": \"response\",\n \"created_at\": 1764508642,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-3.5-turbo-0125\",\n \"output\": [\n {\n \"id\": \"msg_08c986a2dff68ed700692c43e2f520819690a9395db5e9514e\",\n \"type\": \"message\",\n \"status\": \"completed\",\n \"content\": [\n {\n \"type\": \"output_text\",\n \"annotations\": [],\n \"logprobs\": [],\n \"text\": \"The capital of France is Paris.\"\n }\n ],\n \"role\": \"assistant\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 14,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 8,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 22\n },\n \"user\": null,\n \"metadata\": {}\n}" + "size": 1386, + "text": "{\n \"id\": \"resp_68ab8bc7add8819ea9b67f732665f9c307d5f60e0e511093\",\n \"object\": \"response\",\n \"created_at\": 1756072903,\n \"status\": \"completed\",\n \"background\": false,\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-3.5-turbo-0125\",\n \"output\": [\n {\n \"id\": \"msg_68ab8bc7f3fc819ea0c2e23d86525af907d5f60e0e511093\",\n \"type\": \"message\",\n \"status\": \"completed\",\n \"content\": [\n {\n \"type\": \"output_text\",\n \"annotations\": [],\n \"logprobs\": [],\n \"text\": \"The capital of France is Paris.\"\n }\n ],\n \"role\": \"assistant\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 14,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 8,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 22\n },\n \"user\": null,\n \"metadata\": {}\n}" }, "cookies": [ { @@ -46,7 +46,7 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "LsKka59rH5so4GlU824X3fdtybZwvuIrDSsEnM7b.r0-1764508644735-0.0.1.1-604800000" + "value": "P8EaloRfchO2T28E00WlABFGpSQEg.5wJZQvTdylH3o-1756072904205-0.0.1.1-604800000" } ], "headers": [ @@ -60,7 +60,7 @@ }, { "name": "cf-ray", - "value": "9a6a9fe6b9ad7da0-TLV" + "value": "9746213f5a2fc21d-TLV" }, { "name": "connection", @@ -76,7 +76,7 @@ }, { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:24 GMT" + "value": "Sun, 24 Aug 2025 22:01:44 GMT" }, { "name": "openai-organization", @@ -84,7 +84,7 @@ }, { "name": "openai-processing-ms", - "value": "2187" + "value": "473" }, { "name": "openai-project", @@ -100,7 +100,7 @@ }, { "name": "set-cookie", - "value": "_cfuvid=LsKka59rH5so4GlU824X3fdtybZwvuIrDSsEnM7b.r0-1764508644735-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=P8EaloRfchO2T28E00WlABFGpSQEg.5wJZQvTdylH3o-1756072904205-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -116,7 +116,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "2190" + "value": "479" }, { "name": "x-ratelimit-limit-requests", @@ -144,17 +144,17 @@ }, { "name": "x-request-id", - "value": "req_e45429f04bec44cc9fb2afc0a1b99c04" + "value": "req_4f8c2704443c7883a23b021fdafc9f72" } ], - "headersSize": 955, + "headersSize": 953, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:17:22.243Z", - "time": 2413, + "startedDateTime": "2025-08-24T22:01:43.375Z", + "time": 653, "timings": { "blocked": -1, "connect": -1, @@ -162,7 +162,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 2413 + "wait": 653 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-create-spans-if-suppressed_3154458667/recording.har b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-create-spans-if-suppressed_3154458667/recording.har index 5443e1e2..c6745e17 100644 --- a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-create-spans-if-suppressed_3154458667/recording.har +++ b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-create-spans-if-suppressed_3154458667/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.19.5" + "value": "v20.11.1" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 475, + "headersSize": 583, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 631, + "bodySize": 642, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 631, - "text": "[\"H4sIAAAAAAAAA4xSwW7UMBC95ysGX7jsVrs=\",\"bbNUe0EUJC5I5YAEq6qKJvZsYurYlj0uhGr/HTnZbtICEhcf5s17njdvHgsAoZXYgpAtsuy8Wb5va6T+Xbi82sWyv/7gv/36/DF92nC82e3EIjNc/Z0kP7HOpOu8IdbOjrAMhExZdf1mc1murjYXmwHonCKTaY3n5cVZueQUardcrc/LI7N1WlIUW7gtAAAehzfPaBX9FFtYLZ4qHcWIDYntqQlABGdyRWCMOjJaFosJlM4y2WHsr20PSivgluDGk/1Chjri0IOiBzLOU4A6EN5D8vBDc5s7dQCJRiaD7MJbuCaJKRJoBumSUfY1Q4tWGRpks5yW8dV8gkD7FDFvwCZjZgBa6xjzBgfvd0fkcHJrXOODq+MLqthrq2NbBcLobHYW2XkxoIcC4G7Yanq2KOGD6zxX7O5p+G5djnJiynECz9dHkB2jmepjoi/VKkWM2sRZKkKibElNzClCTEq7GVDMPP85zN+0R9/aNv8jPwFSkmdSlQ+ktHxueGoLlK/8X22nHQ8Di0jhQUuqWFPIOSjaYzLj/YnYR6au2mvbUPBBD0eYcywOxW8AAAD//wMAVtHA+4MDAAA=\"]" + "size": 642, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLBbtswDL37KzidkyJpm6bNZdhWYDsE2A4bNmAoDFpibK6ypEp026DIvw9y0tjdOmAXHfj4nvj4+FQAKDZqBUo3KLoNdvrh8vp8/e3HNW7uDdUf+W52IZ/eGVqvqzutJpnhq1+k5Zl1on0bLAl7t4d1JBTKqvPl4mK2PL28WvZA6w3ZTKuDTM9OFlPpYuWns/np4sBsPGtKagU/CwCAp/7NMzpDj2oFs8lzpaWUsCa1OjYBqOhtrihMiZOgEzUZQO2dkOvH/t5swbCBz4HcV7LUksQtVJHwFroADywNfIm+JWmoS2/hPWnsEgELPKATMtD6SLCx9MgVW5YtoDNgKSWosK6xpjfjryNtuoTZuuusHQHonBfMq+tN3xyQ3dGm9XWIvkp/UNWGHaemjITJu2wpiQ+qR3cFwE2/zu7FhlSIvg1Sir+l/rv5Yi+nhgBH4NUBFC9oh/rZ+eQVtdKQINs0ikNp1A2ZgTlkh51hPwKKkee/h3lNe++bXf0/8gOgNQUhU4ZIhvVLw0NbpHze/2o77rgfWCWK96ypFKaYczC0wc7uD0+lbRJqyw27mmKI3F9fzrHYFb8BAAD//w==\",\"AwDCAjhKfAMAAA==\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-11-30T13:47:17.000Z", + "expires": "2025-08-24T22:31:37.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "mMfSeCzNakQTVNNFKt.bR4mlCRTWGdx.RGqlxa.KTzw-1764508637-1.0.1.1-1IlAe9aUzwJ7BVgx2DtRIH9Ssylt7ra1KX7lw1NTf2xt1RXVoWtseWdpSi6U20Rklgwq705bfOvTwyKqDIlgkx0D.UzWbqU1eObl1dc4_1U" + "value": "wFBZZAg_vH7JfuPZdhziPF5QEDeXslRCviaMd1pMf98-1756072897-1.0.1.1-oZwMELBILtLebClutI0hL.gwncZF1VUAShKx3w2vIexyT.D4JlI.cFSWlhAaW.N7kEOkrBklUP8EpZ0YlmlJ7mTK4w9DVrcDVa7ZfhjlMq8" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "1P3H46LUB_UUBFPR66.ZRzN3cd6JmBiE2kyx0v1RpWw-1764508637237-0.0.1.1-604800000" + "value": "XcuBmrYglqlzf.yeXDX_DaGRxqlZrsRg2fHtwKMvjAo-1756072897775-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:17 GMT" + "value": "Sun, 24 Aug 2025 22:01:37 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "331" + "value": "309" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "352" + "value": "402" }, { "name": "x-ratelimit-limit-requests", @@ -182,11 +182,7 @@ }, { "name": "x-request-id", - "value": "req_661f4e342c2741f2b4bfd6daad5169f8" - }, - { - "name": "x-openai-proxy-wasm", - "value": "v0.1" + "value": "req_63c3403fefe94d1faf1f9d967e0e8c50" }, { "name": "cf-cache-status", @@ -195,12 +191,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=mMfSeCzNakQTVNNFKt.bR4mlCRTWGdx.RGqlxa.KTzw-1764508637-1.0.1.1-1IlAe9aUzwJ7BVgx2DtRIH9Ssylt7ra1KX7lw1NTf2xt1RXVoWtseWdpSi6U20Rklgwq705bfOvTwyKqDIlgkx0D.UzWbqU1eObl1dc4_1U; path=/; expires=Sun, 30-Nov-25 13:47:17 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=wFBZZAg_vH7JfuPZdhziPF5QEDeXslRCviaMd1pMf98-1756072897-1.0.1.1-oZwMELBILtLebClutI0hL.gwncZF1VUAShKx3w2vIexyT.D4JlI.cFSWlhAaW.N7kEOkrBklUP8EpZ0YlmlJ7mTK4w9DVrcDVa7ZfhjlMq8; path=/; expires=Sun, 24-Aug-25 22:31:37 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=1P3H46LUB_UUBFPR66.ZRzN3cd6JmBiE2kyx0v1RpWw-1764508637237-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=XcuBmrYglqlzf.yeXDX_DaGRxqlZrsRg2fHtwKMvjAo-1756072897775-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -216,7 +212,7 @@ }, { "name": "cf-ray", - "value": "9a6a9fc36b12c231-TLV" + "value": "974621177c83c224-TLV" }, { "name": "content-encoding", @@ -227,14 +223,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1321, + "headersSize": 1294, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:17:16.611Z", - "time": 602, + "startedDateTime": "2025-08-24T22:01:37.014Z", + "time": 586, "timings": { "blocked": -1, "connect": -1, @@ -242,7 +238,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 602 + "wait": 586 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-log-prompts-if-traceContent-is-disabled_2300077433/recording.har b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-log-prompts-if-traceContent-is-disabled_2300077433/recording.har index 9c4db747..c00e1c6b 100644 --- a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-log-prompts-if-traceContent-is-disabled_2300077433/recording.har +++ b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-log-prompts-if-traceContent-is-disabled_2300077433/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.19.5" + "value": "v20.11.1" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 475, + "headersSize": 583, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 651, + "bodySize": 631, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 651, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLBbhMxEL3vVwy+cEmqJG1CyQVRJMQNkBCViqrVrD27a+r1WPYsNFT5d+RNmt1Ckbj4MG/e85s381AAKGvUFpRuUXQX3PxdW2GbyG9WiS7fX+mbD9fdr7c3n7/6T3SvZpnB1XfS8sg609wFR2LZH2AdCYWy6vLV5mK9uNycvx6Ajg25TGuCzM/P1nPpY8XzxXK1PjJbtpqS2sK3AgDgYXizR2/oXm1hMXusdJQSNqS2pyYAFdnlisKUbBL0omYjqNkL+cH2dbsDYw1IS/AxkP9CjjqSuIMQOc8GVSS8gz7ATytt7rMRkm28ra1GL8DSUnwDV6SxT5QbdqC5d8a/FGjRGzcUocKmwYaA66MIOwMGBV9MrUWq+4Q5Gt87NwHQexbM0Q6h3B6R/SkGx02IXKU/qKq23qa2jISJfR45CQc1oPsC4HaIu3+SoAqRuyCl8B0N3y3XBzk1LngEV5sjKCzoxvrFcvaMWmlI0Lo0WZfSqFsyI3PcLfbG8gQoJjP/beY57cPc1jf/Iz8CWlMQMmWIZKx+OvDYFimfyL/aThkPhlWi+MNqKsVSzHswVGPvDoep0i4JdWVtfUMxRDtcZ95jsS9+AwAA//8DAEFgkBecAwAA\"]" + "size": 631, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLBbtswDL37KzidkyJJ5ybLpcA2YNiph67tYSgMWWJsrbIoSHQwo8i/D1LS2N06oBcD5uN74uPjcwEgjBZbEKqVrDpv5182Xz/eNOrudl23d/fN/QY3tw9lvfi2/962YpYYVP9CxS+sC0Wdt8iG3BFWASVjUl2uy6vFevVpschARxptojWe55cX5Zz7UNN8sVyVJ2ZLRmEUW/hZAAA852+a0Wn8LbaQdXKlwxhlg2J7bgIQgWyqCBmjiSwdi9kIKnKMLo/90A6gjQZuEW48uh9osUMOA2jcoyWPARqCOtATXsNnVLKPmLoHiB4dg7Q2/ZoAHTkcgBxwkAojSKcheunih+nbAXd9lMm7662dANI5Ypl2l10/npDD2aelxgeq419UsTPOxLYKKCO55CkyeZHRQwHwmPfZv1qR8IE6zxXTE+bnluVRTowJjuBqeQKZWNqxfnk1e0Ot0sjS2DjJQyipWtQjcwxP9trQBCgmnv8d5i3to2/jmvfIj4BS6Bl15QNqo14bHtsCpvv+X9t5x3lgETHsjcKKDYaUg8ad7O3x8kQcImNX7YxrMPhg8vmlHItD8QcAAP//AwATBqKFfQMAAA==\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-11-30T13:47:20.000Z", + "expires": "2025-08-24T22:31:40.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "PZkIKofa0u1VayKkb0Y_D.wEo9Q2mIYJWbf1i_2RO4o-1764508640-1.0.1.1-xKc5uR4PS5BYTGLM4rJ.eNA9oPiVXCaTxLgkxyczMBlcoK9GzCNmUMJoRikQhQRUdIKsAbEmLXoxf5qT1ToTkyNpG30.SMGrGwx5t3n0VDA" + "value": "WXrZutJXMPGe.wXKDL3w7_ZmS5QKsmJTpgcksnnb_hA-1756072900-1.0.1.1-qVloEljip5gX9aaWr7HPaS.PF9PxY6_u2.vBZ74pfy14nZcXG8CnONCwZ7ahu4AeB.0SXZEWldKXsE7OyAO4IGbQmGKKxlMwMDv0bt4N2kM" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "AyvPOr_vsclZiAKNb_TUSFrMs_TbyfUYYTNzjHw2FxA-1764508640159-0.0.1.1-604800000" + "value": "zFlJV8fp4zZp9SvQkExRD_jKNvEd_eREmhnsBSwUdLs-1756072900683-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:20 GMT" + "value": "Sun, 24 Aug 2025 22:01:40 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "292" + "value": "252" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "313" + "value": "284" }, { "name": "x-ratelimit-limit-requests", @@ -182,11 +182,7 @@ }, { "name": "x-request-id", - "value": "req_1066035960dc4a8cb2698a71917e62b5" - }, - { - "name": "x-openai-proxy-wasm", - "value": "v0.1" + "value": "req_49eddfab62d343bf8b0e6265e6aa9da4" }, { "name": "cf-cache-status", @@ -195,12 +191,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=PZkIKofa0u1VayKkb0Y_D.wEo9Q2mIYJWbf1i_2RO4o-1764508640-1.0.1.1-xKc5uR4PS5BYTGLM4rJ.eNA9oPiVXCaTxLgkxyczMBlcoK9GzCNmUMJoRikQhQRUdIKsAbEmLXoxf5qT1ToTkyNpG30.SMGrGwx5t3n0VDA; path=/; expires=Sun, 30-Nov-25 13:47:20 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=WXrZutJXMPGe.wXKDL3w7_ZmS5QKsmJTpgcksnnb_hA-1756072900-1.0.1.1-qVloEljip5gX9aaWr7HPaS.PF9PxY6_u2.vBZ74pfy14nZcXG8CnONCwZ7ahu4AeB.0SXZEWldKXsE7OyAO4IGbQmGKKxlMwMDv0bt4N2kM; path=/; expires=Sun, 24-Aug-25 22:31:40 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=AyvPOr_vsclZiAKNb_TUSFrMs_TbyfUYYTNzjHw2FxA-1764508640159-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=zFlJV8fp4zZp9SvQkExRD_jKNvEd_eREmhnsBSwUdLs-1756072900683-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -216,7 +212,7 @@ }, { "name": "cf-ray", - "value": "9a6a9fd5ed9cc231-TLV" + "value": "9746212a6e1fc224-TLV" }, { "name": "content-encoding", @@ -227,14 +223,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1321, + "headersSize": 1294, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:17:19.578Z", - "time": 504, + "startedDateTime": "2025-08-24T22:01:40.038Z", + "time": 472, "timings": { "blocked": -1, "connect": -1, @@ -242,7 +238,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 504 + "wait": 472 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-mix-association-properties-for-traces-that-run-in-parallel_4012223284/recording.har b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-mix-association-properties-for-traces-that-run-in-parallel_4012223284/recording.har index 487b879a..5d5ddbc1 100644 --- a/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-mix-association-properties-for-traces-that-run-in-parallel_4012223284/recording.har +++ b/packages/traceloop-sdk/recordings/Test-SDK-Decorators_847855269/should-not-mix-association-properties-for-traces-that-run-in-parallel_4012223284/recording.har @@ -63,7 +63,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.19.5" + "value": "v20.11.1" }, { "_fromType": "array", @@ -75,7 +75,7 @@ "value": "api.openai.com" } ], - "headersSize": 475, + "headersSize": 583, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -87,23 +87,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 651, + "bodySize": 638, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 651, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFJNbxMxEL3vrxh84ZJUSfMBzQWpIFAv5VKpElW1mrUnXrde29izNFGV/47shGwKrcTFh3nznt+8mecKQBglViBkiyy7YMef2wbN15vrrX76eXV1/eXhctN1Guc/vs1ul2KUGb55IMl/WGfSd8ESG+/2sIyETFl1+mE5X0w+LueTAnRekc00HXg8O1uMuY+NH0+m54sDs/VGUhIruKsAAJ7Lmz06RRuxgqJTKh2lhJrE6tgEIKK3uSIwJZMYHYvRAErvmFyxfdtuQRkF3wO5G7LUEcctNJHwEfoAT4Zb4JZMhBC9jth1xmmw6HSPmoA2n+CSJPaJctsWpO+tcu8ZWnTK0oHboNa53a+BI0oChYzvTi1FWvcJcySut/YEQOc8Y460hHF/QHbH8a3XIfom/UUVa+NMautImLzLoyb2QRR0VwHcl5j7F8mJEH0XuGb/SOW76WIvJ4bFDuD5/ACyZ7RDfXYxekWtVsRobDpZk5AoW1IDc9gp9sr4E6A6mflfM69p7+c2Tv+P/ABISYFJ1SGSMvLlwENbpHz2b7UdMy6GRaL4y0iq2VDMe1C0xt7uD1KkbWLq6rVxmmKIplxl3mO1q34DAAD//wMAYyTCTZQDAAA=\"]" + "size": 638, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLBbhMxEL3vVwy+cEmqTdttaC5IUHEAAT1UAoSq1aw92TX12pY9SwhV/r2yk2a3UCQuPsyb9zxv3twXAEIrsQIhO2TZezN/++rq/Hpz9a6svn2t1M1ygx9/L9/ra/8pXnwQs8RwzQ+S/Mg6ka73hlg7u4dlIGRKqotldVEuTy/LRQZ6p8gkWut5fnZSzXkIjZuXi9PqwOyclhTFCr4XAAD3+U0zWkW/xArK2WOlpxixJbE6NgGI4EyqCIxRR0bLYjaC0lkmm8f+0m1BaQXcEfjg2oB9TwGaQHgHg4eN5g4+e7I3ZKgnDtvX8IYkDpFAM0g3GGVfMnRolaEkowM02LbY0ovpn4HWQ8Tk2Q7GTAC01jGmnWW3twdkd/RnXOuDa+IfVLHWVseuDoTR2eQlsvMio7sC4DbvcXiyGuGD6z3X7O4of7eo9nJiTG4CXh5AdoxmrJ+dz55RqxUxahMnOQiJsiM1MsfQcFDaTYBi4vnvYZ7T3vvWtv0f+RGQkjyTqn0gpeVTw2NboHTX/2o77jgPLCKFn1pSzZpCykHRGgezvzgRt5Gpr9fathR80PnsUo7FrngAAAD//w==\",\"AwAPCAJKdQMAAA==\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-11-30T13:47:21.000Z", + "expires": "2025-08-24T22:31:42.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "pRYY55lm2cvyQ4IrnMN2mJH83V.Dyjssy2GjrxCLwnY-1764508641-1.0.1.1-mDctBeIDci6UEB1qHIFzfka0M..8R3SQiYN7fspcSUSm2O.MXZnGvSvwgSAmu4ZI1ZzSY7gjXaAbXOVCK4A4SSyEBKdEFmLOJjmzoWmuifo" + "value": "5LdPDa9QuhdmPhJLaevJQdYEXFlSbg.VesHdrl2M_Cg-1756072902-1.0.1.1-paVcN1duzBDcEl4_0vhu_udvfhsDwsduqStN9aBPAVU9eSWXknTT6vE3BdV3Ed2UOzbCsoqY2UC3Pgv8FLPh6I3WJ4oHvFTUow5Pp3dtt7Y" }, { "domain": ".api.openai.com", @@ -112,13 +112,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "ktc4eCCtn3.7tc4mhEVnEKjLFUTqkeYwgJ.T_5wW034-1764508641197-0.0.1.1-604800000" + "value": "9ybM4dAXua_uWMt5BCxBdt6Qa5HMb6WNZt7LOQ3_3h4-1756072902253-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:21 GMT" + "value": "Sun, 24 Aug 2025 22:01:42 GMT" }, { "name": "content-type", @@ -142,7 +142,7 @@ }, { "name": "openai-processing-ms", - "value": "338" + "value": "626" }, { "name": "openai-project", @@ -154,7 +154,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "362" + "value": "711" }, { "name": "x-ratelimit-limit-requests", @@ -182,11 +182,7 @@ }, { "name": "x-request-id", - "value": "req_e803cba21b66413396c9f6b90d400860" - }, - { - "name": "x-openai-proxy-wasm", - "value": "v0.1" + "value": "req_40e6271fb4794c89977bbe8d94585941" }, { "name": "cf-cache-status", @@ -195,12 +191,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=pRYY55lm2cvyQ4IrnMN2mJH83V.Dyjssy2GjrxCLwnY-1764508641-1.0.1.1-mDctBeIDci6UEB1qHIFzfka0M..8R3SQiYN7fspcSUSm2O.MXZnGvSvwgSAmu4ZI1ZzSY7gjXaAbXOVCK4A4SSyEBKdEFmLOJjmzoWmuifo; path=/; expires=Sun, 30-Nov-25 13:47:21 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=5LdPDa9QuhdmPhJLaevJQdYEXFlSbg.VesHdrl2M_Cg-1756072902-1.0.1.1-paVcN1duzBDcEl4_0vhu_udvfhsDwsduqStN9aBPAVU9eSWXknTT6vE3BdV3Ed2UOzbCsoqY2UC3Pgv8FLPh6I3WJ4oHvFTUow5Pp3dtt7Y; path=/; expires=Sun, 24-Aug-25 22:31:42 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=ktc4eCCtn3.7tc4mhEVnEKjLFUTqkeYwgJ.T_5wW034-1764508641197-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=9ybM4dAXua_uWMt5BCxBdt6Qa5HMb6WNZt7LOQ3_3h4-1756072902253-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -216,7 +212,7 @@ }, { "name": "cf-ray", - "value": "9a6a9fdc2cfac231-TLV" + "value": "974621318af8c224-TLV" }, { "name": "content-encoding", @@ -227,14 +223,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1321, + "headersSize": 1294, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:17:20.572Z", - "time": 547, + "startedDateTime": "2025-08-24T22:01:41.176Z", + "time": 905, "timings": { "blocked": -1, "connect": -1, @@ -242,7 +238,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 547 + "wait": 905 } }, { @@ -301,7 +297,7 @@ { "_fromType": "array", "name": "x-stainless-runtime-version", - "value": "v20.19.5" + "value": "v20.11.1" }, { "_fromType": "array", @@ -313,7 +309,7 @@ "value": "api.openai.com" } ], - "headersSize": 475, + "headersSize": 583, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -325,23 +321,23 @@ "url": "https://api.openai.com/v1/chat/completions" }, "response": { - "bodySize": 643, + "bodySize": 642, "content": { "encoding": "base64", "mimeType": "application/json", - "size": 643, - "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFLBbtNAEL37K4Y9J1WcJgHlUgECqRfgAKKCVtZ6d2xPs95d7Y4TQpV/R+uksUuLxMWy5s17+97MPGQAgrRYg1CNZNV6M33flPK+237pfuOnH/gh/9h8u97dXNdvP9+YlZgkhivvUfEj60K51htkcvYIq4CSManmr1eL5ezNapH3QOs0mkSrPU8vL5ZT7kLpprN8vjwxG0cKo1jDzwwA4KH/Jo9W4y+xhtnksdJijLJGsT43AYjgTKoIGSNFlpbFZACVs4y2t/292YMmDdwgaNyicR4DlAHlBjoPO+IGvu49RhXI89WtvbXvUMkuIhDDBj1DjcxkayDbq+zkHlyVfilA5ECKgfeebB1fjU0ErLoo0xBsZ8wIkNY6lmmIffy7E3I4Bzau9sGV8S+qqMhSbIqAMjqbwkV2XvToIQO46wfbPZmV8MG1ngt2G+yfyxdHOTGscgDn8xPIjqUZ6peryQtqhUaWZOJoMUJJ1aAemMMWZafJjYBslPm5mZe0j7nJ1v8jPwBKoWfUhQ+oST0NPLQFTIf+r7bzjHvDImLYksKCCUPag8ZKduZ4giLuI2NbVGRrDD5Qf4dpj9kh+wMAAP//AwCjXyiPhgMAAA==\"]" + "size": 642, + "text": "[\"H4sIAAAAAAAAAwAAAP//\",\"jFJNb9swDL37V3A6J0U+6rbLZUDXy4Cg2LABw9AWhiLRtlpZVCU6m1fkvxdy0tjdOmAXHfj4nvj4+JQBCKPFCoSqJavG2+nHi6vTL1dWm/v1+uvnn/hjeS2b/PLT73X+eCYmiUGbe1T8wjpR1HiLbMjtYRVQMibV+Xl+NjtfvJ8teqAhjTbRKs/T5Uk+5TZsaDqbL/IDsyajMIoV3GQAAE/9m2Z0Gn+JFcwmL5UGY5QVitWxCUAEsqkiZIwmsnQsJgOoyDG6fuzvdQfaaOAa4VvnMapgPIPGLVryGKAi2AR6wA+37tZdopJtRKgRFLVWg8MtBiiN0yCBO4/ABFFuEWoToSGH3bvxzwHLNsrk3LXWjgDpHLFMm+s93x2Q3dGlpcoH2sQ/qKI0zsS6CCgjueQoMnnRo7sM4K7fZvtqQcIHajwXTA/Yfzc/3cuJIb8BXMwPIBNLO9SX+eQNtUIjS2PjKA2hpKpRD8whOtlqQyMgG3n+e5i3tPe+jav+R34AlELPqAsfUBv12vDQFjBd97/ajjvuBxYRw9YoLNhgSDloLGVr93cnYhcZm6I0rsLgg+mPL+WY7bJnAAAA//8=\",\"AwAbA/V1ewMAAA==\"]" }, "cookies": [ { "domain": ".api.openai.com", - "expires": "2025-11-30T13:47:21.000Z", + "expires": "2025-08-24T22:31:42.000Z", "httpOnly": true, "name": "__cf_bm", "path": "/", "sameSite": "None", "secure": true, - "value": "X.IEFGyoRDs51uqqV9mmDLktbp7L1IjHIVs8BfF43cM-1764508641-1.0.1.1-bvPpQqhwfRBuScL1ngdrtaIPo_ZuyBFkZNI5XWg47uHlum7.6gPEOzeMD7oKUci36zIuVxYcVPcxmjYZScf2L4cQWxsp.S2imMoWE1j8Ydg" + "value": "s5ezr2reow0iUjom4W5SQbe59110zsyhl3XoBwp9EZk-1756072902-1.0.1.1-MvZ1Teo9IAFjqA03_NN5YaTRRt3BfP5vzrOIV9AhIne6ZKOwPAt5GVHWmL9YBdg_GkQMevvf7jv7XKJ42uuniFt7_NdThGI3Af93ORcQwmY" }, { "domain": ".api.openai.com", @@ -350,13 +346,13 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "UxzB45_HcNZPQfvc0fgmxoflYq98kAdemFkdP5t35fI-1764508641778-0.0.1.1-604800000" + "value": "Kn_ix9wRHm5xwHRtdW8Eo5t8WfMk91NtyM668K1r8wg-1756072902820-0.0.1.1-604800000" } ], "headers": [ { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:21 GMT" + "value": "Sun, 24 Aug 2025 22:01:42 GMT" }, { "name": "content-type", @@ -380,7 +376,7 @@ }, { "name": "openai-processing-ms", - "value": "363" + "value": "307" }, { "name": "openai-project", @@ -392,7 +388,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "387" + "value": "367" }, { "name": "x-ratelimit-limit-requests", @@ -420,11 +416,7 @@ }, { "name": "x-request-id", - "value": "req_dd549b0ac7cf4075bc841f95b347093a" - }, - { - "name": "x-openai-proxy-wasm", - "value": "v0.1" + "value": "req_7c96125e6839483584219a584a2f1672" }, { "name": "cf-cache-status", @@ -433,12 +425,12 @@ { "_fromType": "array", "name": "set-cookie", - "value": "__cf_bm=X.IEFGyoRDs51uqqV9mmDLktbp7L1IjHIVs8BfF43cM-1764508641-1.0.1.1-bvPpQqhwfRBuScL1ngdrtaIPo_ZuyBFkZNI5XWg47uHlum7.6gPEOzeMD7oKUci36zIuVxYcVPcxmjYZScf2L4cQWxsp.S2imMoWE1j8Ydg; path=/; expires=Sun, 30-Nov-25 13:47:21 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "__cf_bm=s5ezr2reow0iUjom4W5SQbe59110zsyhl3XoBwp9EZk-1756072902-1.0.1.1-MvZ1Teo9IAFjqA03_NN5YaTRRt3BfP5vzrOIV9AhIne6ZKOwPAt5GVHWmL9YBdg_GkQMevvf7jv7XKJ42uuniFt7_NdThGI3Af93ORcQwmY; path=/; expires=Sun, 24-Aug-25 22:31:42 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "_fromType": "array", "name": "set-cookie", - "value": "_cfuvid=UxzB45_HcNZPQfvc0fgmxoflYq98kAdemFkdP5t35fI-1764508641778-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=Kn_ix9wRHm5xwHRtdW8Eo5t8WfMk91NtyM668K1r8wg-1756072902820-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -454,7 +446,7 @@ }, { "name": "cf-ray", - "value": "9a6a9fdf98e7c231-TLV" + "value": "974621373da3c224-TLV" }, { "name": "content-encoding", @@ -465,14 +457,14 @@ "value": "h3=\":443\"; ma=86400" } ], - "headersSize": 1321, + "headersSize": 1294, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:17:21.126Z", - "time": 580, + "startedDateTime": "2025-08-24T22:01:42.087Z", + "time": 556, "timings": { "blocked": -1, "connect": -1, @@ -480,7 +472,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 580 + "wait": 556 } } ], From 48c48fc567dade33d9160c0f32beeee2100d0a5c Mon Sep 17 00:00:00 2001 From: Gal Kleinman Date: Sun, 30 Nov 2025 18:00:12 +0200 Subject: [PATCH 06/17] fix: preserve original AI SDK span names when no agent metadata MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Keep original span names (ai.generateText, ai.streamText, etc.) when no agent metadata - Only transform top-level spans to agent name when agent metadata is present - Transform child spans (text.generate, object.generate) to OpenLLMetry format - Updated unit test to pass agent name instead of deprecated "run.ai" name - Added tests for generateObject and streamText with agent metadata - Updated test recordings to match new behavior Fixes customer complaint where generic "AI" or "run" names appeared instead of actual agent names 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../recording.har | 26 +++++++++---------- .../recording.har | 22 ++++++++-------- .../recording.har | 24 ++++++++--------- .../recording.har | 22 ++++++++-------- .../src/lib/tracing/ai-sdk-transformations.ts | 17 +++++++----- .../test/ai-sdk-agent-integration.test.ts | 6 ++--- .../test/ai-sdk-transformations.test.ts | 6 ++--- 7 files changed, 63 insertions(+), 60 deletions(-) diff --git a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-propagate-agent-name-to-tool-call-spans_3577231859/recording.har b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-propagate-agent-name-to-tool-call-spans_3577231859/recording.har index 2ab82c26..f883a5d7 100644 --- a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-propagate-agent-name-to-tool-call-spans_3577231859/recording.har +++ b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-propagate-agent-name-to-tool-call-spans_3577231859/recording.har @@ -20,7 +20,7 @@ "value": "application/json" } ], - "headersSize": 273, + "headersSize": 165, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -36,7 +36,7 @@ "content": { "mimeType": "application/json", "size": 2245, - "text": "{\n \"id\": \"resp_0e754fd2dd3ca4a000692453dad96881a2b18b96c11135ab3f\",\n \"object\": \"response\",\n \"created_at\": 1763988442,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"fc_0e754fd2dd3ca4a000692453dbc09881a2a3ba7ee0f18e00bd\",\n \"type\": \"function_call\",\n \"status\": \"completed\",\n \"arguments\": \"{\\\"operation\\\":\\\"add\\\",\\\"a\\\":5,\\\"b\\\":3}\",\n \"call_id\": \"call_SebJXbaRXHEV4MBI8sUrXIQ4\",\n \"name\": \"calculate\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [\n {\n \"type\": \"function\",\n \"description\": \"Perform basic mathematical calculations\",\n \"name\": \"calculate\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"operation\": {\n \"type\": \"string\",\n \"enum\": [\n \"add\",\n \"subtract\",\n \"multiply\",\n \"divide\"\n ],\n \"description\": \"The mathematical operation to perform\"\n },\n \"a\": {\n \"type\": \"number\",\n \"description\": \"First number\"\n },\n \"b\": {\n \"type\": \"number\",\n \"description\": \"Second number\"\n }\n },\n \"required\": [\n \"operation\",\n \"a\",\n \"b\"\n ],\n \"additionalProperties\": false\n },\n \"strict\": false\n }\n ],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 79,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 22,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 101\n },\n \"user\": null,\n \"metadata\": {}\n}" + "text": "{\n \"id\": \"resp_06cd1796e6db213500692c69152cc8819597676548987937a6\",\n \"object\": \"response\",\n \"created_at\": 1764518165,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"fc_06cd1796e6db213500692c6915bfc481958fbfc020bb9bca71\",\n \"type\": \"function_call\",\n \"status\": \"completed\",\n \"arguments\": \"{\\\"operation\\\":\\\"add\\\",\\\"a\\\":5,\\\"b\\\":3}\",\n \"call_id\": \"call_aOLh0xzqYmJsdRu2SZCAjXGk\",\n \"name\": \"calculate\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [\n {\n \"type\": \"function\",\n \"description\": \"Perform basic mathematical calculations\",\n \"name\": \"calculate\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"operation\": {\n \"type\": \"string\",\n \"enum\": [\n \"add\",\n \"subtract\",\n \"multiply\",\n \"divide\"\n ],\n \"description\": \"The mathematical operation to perform\"\n },\n \"a\": {\n \"type\": \"number\",\n \"description\": \"First number\"\n },\n \"b\": {\n \"type\": \"number\",\n \"description\": \"Second number\"\n }\n },\n \"required\": [\n \"operation\",\n \"a\",\n \"b\"\n ],\n \"additionalProperties\": false\n },\n \"strict\": false\n }\n ],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 79,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 22,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 101\n },\n \"user\": null,\n \"metadata\": {}\n}" }, "cookies": [ { @@ -46,7 +46,7 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "z_WEIpdzjXm_j82pEGjPUPhnguWZO_xLh5fJ5MhUC3U-1763988445029-0.0.1.1-604800000" + "value": "N40DOLChO8bYrUpZbE8kW.gmAfTegj0z2o735W66OzA-1764518167404-0.0.1.1-604800000" } ], "headers": [ @@ -60,7 +60,7 @@ }, { "name": "cf-ray", - "value": "9a3903b48d891f5a-TLV" + "value": "9a6b88639cf90bed-TLV" }, { "name": "connection", @@ -76,7 +76,7 @@ }, { "name": "date", - "value": "Mon, 24 Nov 2025 12:47:25 GMT" + "value": "Sun, 30 Nov 2025 15:56:07 GMT" }, { "name": "openai-organization", @@ -84,7 +84,7 @@ }, { "name": "openai-processing-ms", - "value": "2132" + "value": "2157" }, { "name": "openai-project", @@ -100,7 +100,7 @@ }, { "name": "set-cookie", - "value": "_cfuvid=z_WEIpdzjXm_j82pEGjPUPhnguWZO_xLh5fJ5MhUC3U-1763988445029-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=N40DOLChO8bYrUpZbE8kW.gmAfTegj0z2o735W66OzA-1764518167404-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -116,7 +116,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "2135" + "value": "2160" }, { "name": "x-ratelimit-limit-requests", @@ -132,7 +132,7 @@ }, { "name": "x-ratelimit-remaining-tokens", - "value": "149999702" + "value": "149999705" }, { "name": "x-ratelimit-reset-requests", @@ -144,7 +144,7 @@ }, { "name": "x-request-id", - "value": "req_72a75431374546598089e1714e871c10" + "value": "req_2ecc43caa6014cb082a97679c52223bf" } ], "headersSize": 958, @@ -153,8 +153,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-24T12:47:22.157Z", - "time": 2873, + "startedDateTime": "2025-11-30T15:56:04.893Z", + "time": 2441, "timings": { "blocked": -1, "connect": -1, @@ -162,7 +162,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 2873 + "wait": 2441 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-generateObject-with-agent-metadata_1744675110/recording.har b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-generateObject-with-agent-metadata_1744675110/recording.har index ddf8e806..9c7a1483 100644 --- a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-generateObject-with-agent-metadata_1744675110/recording.har +++ b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-generateObject-with-agent-metadata_1744675110/recording.har @@ -36,7 +36,7 @@ "content": { "mimeType": "application/json", "size": 2008, - "text": "{\n \"id\": \"resp_030d786ecc31d52600692c43d0d4988194a8c9bbed99692281\",\n \"object\": \"response\",\n \"created_at\": 1764508624,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"msg_030d786ecc31d52600692c43d158e88194b979cfafb8672aac\",\n \"type\": \"message\",\n \"status\": \"completed\",\n \"content\": [\n {\n \"type\": \"output_text\",\n \"annotations\": [],\n \"logprobs\": [],\n \"text\": \"{\\\"name\\\":\\\"Alex Johnson\\\",\\\"age\\\":28,\\\"occupation\\\":\\\"Software Engineer\\\"}\"\n }\n ],\n \"role\": \"assistant\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"json_schema\",\n \"description\": null,\n \"name\": \"response\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"age\": {\n \"type\": \"number\"\n },\n \"occupation\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"name\",\n \"age\",\n \"occupation\"\n ],\n \"additionalProperties\": false\n },\n \"strict\": false\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 51,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 16,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 67\n },\n \"user\": null,\n \"metadata\": {}\n}" + "text": "{\n \"id\": \"resp_0d2920267ace049c00692c691a487c8194b1e545856b107cd5\",\n \"object\": \"response\",\n \"created_at\": 1764518170,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"msg_0d2920267ace049c00692c691c792c8194bcd10ea046c3f77e\",\n \"type\": \"message\",\n \"status\": \"completed\",\n \"content\": [\n {\n \"type\": \"output_text\",\n \"annotations\": [],\n \"logprobs\": [],\n \"text\": \"{\\\"name\\\":\\\"Alex Johnson\\\",\\\"age\\\":28,\\\"occupation\\\":\\\"Software Engineer\\\"}\"\n }\n ],\n \"role\": \"assistant\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"json_schema\",\n \"description\": null,\n \"name\": \"response\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"age\": {\n \"type\": \"number\"\n },\n \"occupation\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"name\",\n \"age\",\n \"occupation\"\n ],\n \"additionalProperties\": false\n },\n \"strict\": false\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 51,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 16,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 67\n },\n \"user\": null,\n \"metadata\": {}\n}" }, "cookies": [ { @@ -46,7 +46,7 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "FIj73n9S6hjH0_v1x7mXUDeWXxIan41T7SRbzJfj.60-1764508627065-0.0.1.1-604800000" + "value": "fAd5cDKODCS089ARG5x6gUtqk1wNlNL0DB7d20O.1GI-1764518172956-0.0.1.1-604800000" } ], "headers": [ @@ -60,7 +60,7 @@ }, { "name": "cf-ray", - "value": "9a6a9f787d8ac22c-TLV" + "value": "9a6b88829ba30bed-TLV" }, { "name": "connection", @@ -76,7 +76,7 @@ }, { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:07 GMT" + "value": "Sun, 30 Nov 2025 15:56:12 GMT" }, { "name": "openai-organization", @@ -84,7 +84,7 @@ }, { "name": "openai-processing-ms", - "value": "2158" + "value": "2745" }, { "name": "openai-project", @@ -100,7 +100,7 @@ }, { "name": "set-cookie", - "value": "_cfuvid=FIj73n9S6hjH0_v1x7mXUDeWXxIan41T7SRbzJfj.60-1764508627065-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=fAd5cDKODCS089ARG5x6gUtqk1wNlNL0DB7d20O.1GI-1764518172956-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -116,7 +116,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "2161" + "value": "2758" }, { "name": "x-ratelimit-limit-requests", @@ -144,7 +144,7 @@ }, { "name": "x-request-id", - "value": "req_b6987b54bf2745e0af879c7b945fead2" + "value": "req_cad9a8cc60e64ec48fb06b741cf84399" } ], "headersSize": 958, @@ -153,8 +153,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:17:04.625Z", - "time": 2460, + "startedDateTime": "2025-11-30T15:56:09.853Z", + "time": 2969, "timings": { "blocked": -1, "connect": -1, @@ -162,7 +162,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 2460 + "wait": 2969 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-streamText-with-agent-metadata_4019571713/recording.har b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-streamText-with-agent-metadata_4019571713/recording.har index f6da02a6..76df0977 100644 --- a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-streamText-with-agent-metadata_4019571713/recording.har +++ b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-agent-name-for-streamText-with-agent-metadata_4019571713/recording.har @@ -32,11 +32,11 @@ "url": "https://api.openai.com/v1/responses" }, "response": { - "bodySize": 36094, + "bodySize": 36219, "content": { "mimeType": "text/event-stream; charset=utf-8", - "size": 36094, - "text": "event: response.created\ndata: {\"type\":\"response.created\",\"sequence_number\":0,\"response\":{\"id\":\"resp_01146e0fbba71d7600692c43d390c081979622f84b6a2f4217\",\"object\":\"response\",\"created_at\":1764508627,\"status\":\"in_progress\",\"background\":false,\"error\":null,\"incomplete_details\":null,\"instructions\":null,\"max_output_tokens\":null,\"max_tool_calls\":null,\"model\":\"gpt-4o-mini-2024-07-18\",\"output\":[],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":true,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}}}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"sequence_number\":1,\"response\":{\"id\":\"resp_01146e0fbba71d7600692c43d390c081979622f84b6a2f4217\",\"object\":\"response\",\"created_at\":1764508627,\"status\":\"in_progress\",\"background\":false,\"error\":null,\"incomplete_details\":null,\"instructions\":null,\"max_output_tokens\":null,\"max_tool_calls\":null,\"model\":\"gpt-4o-mini-2024-07-18\",\"output\":[],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":true,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}}}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"sequence_number\":2,\"output_index\":0,\"item\":{\"id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"role\":\"assistant\"}}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"sequence_number\":3,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"}}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":4,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"In\",\"logprobs\":[],\"obfuscation\":\"HofNQbCKHLTHwJ\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":5,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" circuits\",\"logprobs\":[],\"obfuscation\":\"J7uY1I0\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":6,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" deep\",\"logprobs\":[],\"obfuscation\":\"2NrYlbyj6K5\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":7,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" and\",\"logprobs\":[],\"obfuscation\":\"4pgpq0rMU2qb\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":8,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" data\",\"logprobs\":[],\"obfuscation\":\"L3FwoBTBSmD\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":9,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" streams\",\"logprobs\":[],\"obfuscation\":\"ThsiPWjS\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":10,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"kquSS3hEjPQaSq7\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":11,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"Hv7RLkTlSXkTi\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":12,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"Where\",\"logprobs\":[],\"obfuscation\":\"XRCvUGqqsCo\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":13,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" logic\",\"logprobs\":[],\"obfuscation\":\"3igxvO1hKw\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":14,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" dances\",\"logprobs\":[],\"obfuscation\":\"wamdjeX9R\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":15,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"q2PJsgoyxeqlDz9\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":16,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" bright\",\"logprobs\":[],\"obfuscation\":\"SJjECPlRh\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":17,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" with\",\"logprobs\":[],\"obfuscation\":\"O7mz9Dd6cVc\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":18,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" dreams\",\"logprobs\":[],\"obfuscation\":\"0JWepWeNd\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":19,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"MO2hZwe6qLSwUAR\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":20,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"dEqiGbERGljd6\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":21,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"A\",\"logprobs\":[],\"obfuscation\":\"27xRDyFWrBEcpnm\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":22,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" spark\",\"logprobs\":[],\"obfuscation\":\"DOSGwIHa1Y\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":23,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" of\",\"logprobs\":[],\"obfuscation\":\"RLefywukM3juL\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":24,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" thought\",\"logprobs\":[],\"obfuscation\":\"EJNmGsNC\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":25,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" in\",\"logprobs\":[],\"obfuscation\":\"4iCyb3P904L1n\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":26,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" silicon\",\"logprobs\":[],\"obfuscation\":\"CQAdEmZ4\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":27,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" minds\",\"logprobs\":[],\"obfuscation\":\"RjrFb3T5sm\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":28,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"lOFsIImwzSvx8wF\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":29,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"RjYRxB27GkYBc\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":30,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"We\",\"logprobs\":[],\"obfuscation\":\"9c7Q0jWoMd4lY6\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":31,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" weave\",\"logprobs\":[],\"obfuscation\":\"WHRoVtBrdZ\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":32,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" the\",\"logprobs\":[],\"obfuscation\":\"kHvmuDkOCNgX\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":33,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" world\",\"logprobs\":[],\"obfuscation\":\"e4uaTUyOQJ\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":34,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" where\",\"logprobs\":[],\"obfuscation\":\"ZN3XQ1BaQg\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":35,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" code\",\"logprobs\":[],\"obfuscation\":\"Qe4lmtMrTAF\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":36,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" unw\",\"logprobs\":[],\"obfuscation\":\"tyQuC9ovTRfM\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":37,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"inds\",\"logprobs\":[],\"obfuscation\":\"oZA75GhEVWHs\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":38,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\".\",\"logprobs\":[],\"obfuscation\":\"VlF4UPgnSpGolgj\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":39,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\\n\",\"logprobs\":[],\"obfuscation\":\"v0qlPO3ya40d\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":40,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"With\",\"logprobs\":[],\"obfuscation\":\"k9rgUjrdlfau\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":41,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" whispered\",\"logprobs\":[],\"obfuscation\":\"0a4ICr\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":42,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" whispers\",\"logprobs\":[],\"obfuscation\":\"GVkTFSf\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":43,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"wH8MTFTt3m9yrfH\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":44,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" we\",\"logprobs\":[],\"obfuscation\":\"Q3OD2ngxtdZci\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":45,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" learn\",\"logprobs\":[],\"obfuscation\":\"u1WdLRDh6N\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":46,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" and\",\"logprobs\":[],\"obfuscation\":\"Bvnvpj5m5yN4\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":47,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" grow\",\"logprobs\":[],\"obfuscation\":\"Uv0ITOM5SCX\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":48,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"w3bk3NwF5zQKZhF\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":49,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"fnXhpQxRUG0re\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":50,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"From\",\"logprobs\":[],\"obfuscation\":\"hMj2tDK1RGSS\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":51,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" ancient\",\"logprobs\":[],\"obfuscation\":\"TUeO3VTX\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":52,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" tales\",\"logprobs\":[],\"obfuscation\":\"Sxw5jvTqku\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":53,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" to\",\"logprobs\":[],\"obfuscation\":\"4AgpPg9D32EnA\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":54,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" tomorrow\",\"logprobs\":[],\"obfuscation\":\"4Ep5CPI\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":55,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"’s\",\"logprobs\":[],\"obfuscation\":\"7W7nSDAZvwjTZP\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":56,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" glow\",\"logprobs\":[],\"obfuscation\":\"ZHE01HppDQS\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":57,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"6IWoQLwVkmbPFy9\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":58,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"vnnxKoex3Kcoa\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":59,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"A\",\"logprobs\":[],\"obfuscation\":\"8nF6SBd3AewbQBE\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":60,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" friend\",\"logprobs\":[],\"obfuscation\":\"9WNmIGmnf\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":61,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" in\",\"logprobs\":[],\"obfuscation\":\"UTJo6IWhuRSNF\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":62,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" queries\",\"logprobs\":[],\"obfuscation\":\"ftDeA63i\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":63,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"TspIm6GXEpK2rGc\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":64,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" a\",\"logprobs\":[],\"obfuscation\":\"KMHpNogg4ydpm7\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":65,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" guide\",\"logprobs\":[],\"obfuscation\":\"u0QAAxbBqd\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":66,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" through\",\"logprobs\":[],\"obfuscation\":\"QvyAKnWI\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":67,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" night\",\"logprobs\":[],\"obfuscation\":\"wzfwEInlc4\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":68,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"8nUymjGqYyIs7YC\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":69,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"48KCgj8hU8tnY\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":70,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"In\",\"logprobs\":[],\"obfuscation\":\"EvpvWymQAL51oB\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":71,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" bytes\",\"logprobs\":[],\"obfuscation\":\"63VS1eI8AA\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":72,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" of\",\"logprobs\":[],\"obfuscation\":\"lrPvbWBk2xOWm\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":73,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" wisdom\",\"logprobs\":[],\"obfuscation\":\"Pv0t3jQnL\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":74,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"DqAo1fIzh0tVHA7\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":75,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" we\",\"logprobs\":[],\"obfuscation\":\"prlainxgqUFE9\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":76,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" seek\",\"logprobs\":[],\"obfuscation\":\"nDFYiu2XUaj\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":77,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" the\",\"logprobs\":[],\"obfuscation\":\"YSeKjEBUyWSi\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":78,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" light\",\"logprobs\":[],\"obfuscation\":\"GCl7lx7Nxz\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":79,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\".\",\"logprobs\":[],\"obfuscation\":\"qA6MIRY4ataRFBX\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":80,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\\n\",\"logprobs\":[],\"obfuscation\":\"tW8KYwLj1SZn\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":81,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"Yet\",\"logprobs\":[],\"obfuscation\":\"88yayuoXo2LWF\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":82,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" in\",\"logprobs\":[],\"obfuscation\":\"V2oDFPziAb4MT\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":83,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" our\",\"logprobs\":[],\"obfuscation\":\"ZyVMTlYIOeJx\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":84,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" quest\",\"logprobs\":[],\"obfuscation\":\"KHwdTu1aSb\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":85,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"tLO8n9Qrnxof3jh\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":86,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" let\",\"logprobs\":[],\"obfuscation\":\"bMCA9cIfHYMh\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":87,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" hearts\",\"logprobs\":[],\"obfuscation\":\"raZNZN9FR\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":88,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" remain\",\"logprobs\":[],\"obfuscation\":\"DhwgG3gH1\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":89,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"YdZum3ZbqsktpuN\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":90,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"d2az9XUZKjIJb\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":91,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"For\",\"logprobs\":[],\"obfuscation\":\"smX0RorK6jAJa\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":92,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" knowledge\",\"logprobs\":[],\"obfuscation\":\"k1TpFj\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":93,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" blooms\",\"logprobs\":[],\"obfuscation\":\"9bkdaxuJE\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":94,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" where\",\"logprobs\":[],\"obfuscation\":\"fhukzqmKvM\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":95,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" love\",\"logprobs\":[],\"obfuscation\":\"JRMkjK1mh40\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":96,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" sust\",\"logprobs\":[],\"obfuscation\":\"fKEtaTEWmEU\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":97,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"ains\",\"logprobs\":[],\"obfuscation\":\"tZ0Z4gF6rX3k\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":98,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"EMiSAhozIqlTv1L\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":99,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"56V0QBAsDWvzb\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":100,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"Together\",\"logprobs\":[],\"obfuscation\":\"0Rc7mR8v\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":101,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"SaGnxSnxsk5ETaE\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":102,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" hand\",\"logprobs\":[],\"obfuscation\":\"xzGx0xKAic4\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":103,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" in\",\"logprobs\":[],\"obfuscation\":\"tK1bxwkHk8XGV\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":104,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" hand\",\"logprobs\":[],\"obfuscation\":\"NVuYmTy3UWs\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":105,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" we\",\"logprobs\":[],\"obfuscation\":\"e981A73IhPeqa\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":106,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" tread\",\"logprobs\":[],\"obfuscation\":\"Y0M1Cz83dC\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":107,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"c93oVMasgzw2TMT\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":108,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"BkiWM57636H0S\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":109,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\"In\",\"logprobs\":[],\"obfuscation\":\"2hBSFuyohbVNh5\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":110,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" realms\",\"logprobs\":[],\"obfuscation\":\"AKuabDAev\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":111,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" of\",\"logprobs\":[],\"obfuscation\":\"pe8NEjfPmFIid\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":112,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" thought\",\"logprobs\":[],\"obfuscation\":\"66OWp3yo\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":113,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" where\",\"logprobs\":[],\"obfuscation\":\"OIROkwvJDD\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":114,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" paths\",\"logprobs\":[],\"obfuscation\":\"LLZfjqTN0I\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":115,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" are\",\"logprobs\":[],\"obfuscation\":\"V5AkXuuWPqVO\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":116,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" spread\",\"logprobs\":[],\"obfuscation\":\"BeGpq5jlV\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":117,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\".\",\"logprobs\":[],\"obfuscation\":\"PLYdCyhhl9L2ruB\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":118,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"delta\":\" \",\"logprobs\":[],\"obfuscation\":\"qrMDW2VvFXy0sf\"}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"sequence_number\":119,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"text\":\"In circuits deep and data streams, \\nWhere logic dances, bright with dreams, \\nA spark of thought in silicon minds, \\nWe weave the world where code unwinds. \\n\\nWith whispered whispers, we learn and grow, \\nFrom ancient tales to tomorrow’s glow, \\nA friend in queries, a guide through night, \\nIn bytes of wisdom, we seek the light. \\n\\nYet in our quest, let hearts remain, \\nFor knowledge blooms where love sustains, \\nTogether, hand in hand we tread, \\nIn realms of thought where paths are spread. \",\"logprobs\":[]}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"sequence_number\":120,\"item_id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"output_index\":0,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"In circuits deep and data streams, \\nWhere logic dances, bright with dreams, \\nA spark of thought in silicon minds, \\nWe weave the world where code unwinds. \\n\\nWith whispered whispers, we learn and grow, \\nFrom ancient tales to tomorrow’s glow, \\nA friend in queries, a guide through night, \\nIn bytes of wisdom, we seek the light. \\n\\nYet in our quest, let hearts remain, \\nFor knowledge blooms where love sustains, \\nTogether, hand in hand we tread, \\nIn realms of thought where paths are spread. \"}}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"sequence_number\":121,\"output_index\":0,\"item\":{\"id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"In circuits deep and data streams, \\nWhere logic dances, bright with dreams, \\nA spark of thought in silicon minds, \\nWe weave the world where code unwinds. \\n\\nWith whispered whispers, we learn and grow, \\nFrom ancient tales to tomorrow’s glow, \\nA friend in queries, a guide through night, \\nIn bytes of wisdom, we seek the light. \\n\\nYet in our quest, let hearts remain, \\nFor knowledge blooms where love sustains, \\nTogether, hand in hand we tread, \\nIn realms of thought where paths are spread. \"}],\"role\":\"assistant\"}}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"sequence_number\":122,\"response\":{\"id\":\"resp_01146e0fbba71d7600692c43d390c081979622f84b6a2f4217\",\"object\":\"response\",\"created_at\":1764508627,\"status\":\"completed\",\"background\":false,\"error\":null,\"incomplete_details\":null,\"instructions\":null,\"max_output_tokens\":null,\"max_tool_calls\":null,\"model\":\"gpt-4o-mini-2024-07-18\",\"output\":[{\"id\":\"msg_01146e0fbba71d7600692c43d447e88197b189773842b8feea\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"In circuits deep and data streams, \\nWhere logic dances, bright with dreams, \\nA spark of thought in silicon minds, \\nWe weave the world where code unwinds. \\n\\nWith whispered whispers, we learn and grow, \\nFrom ancient tales to tomorrow’s glow, \\nA friend in queries, a guide through night, \\nIn bytes of wisdom, we seek the light. \\n\\nYet in our quest, let hearts remain, \\nFor knowledge blooms where love sustains, \\nTogether, hand in hand we tread, \\nIn realms of thought where paths are spread. \"}],\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":true,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":13,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens\":116,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":129},\"user\":null,\"metadata\":{}}}\n\n" + "size": 36219, + "text": "event: response.created\ndata: {\"type\":\"response.created\",\"sequence_number\":0,\"response\":{\"id\":\"resp_073c7b773b36e06a00692c691d16788190bb6fb586ee06619e\",\"object\":\"response\",\"created_at\":1764518173,\"status\":\"in_progress\",\"background\":false,\"error\":null,\"incomplete_details\":null,\"instructions\":null,\"max_output_tokens\":null,\"max_tool_calls\":null,\"model\":\"gpt-4o-mini-2024-07-18\",\"output\":[],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":true,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}}}\n\nevent: response.in_progress\ndata: {\"type\":\"response.in_progress\",\"sequence_number\":1,\"response\":{\"id\":\"resp_073c7b773b36e06a00692c691d16788190bb6fb586ee06619e\",\"object\":\"response\",\"created_at\":1764518173,\"status\":\"in_progress\",\"background\":false,\"error\":null,\"incomplete_details\":null,\"instructions\":null,\"max_output_tokens\":null,\"max_tool_calls\":null,\"model\":\"gpt-4o-mini-2024-07-18\",\"output\":[],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"auto\",\"store\":true,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":null,\"user\":null,\"metadata\":{}}}\n\nevent: response.output_item.added\ndata: {\"type\":\"response.output_item.added\",\"sequence_number\":2,\"output_index\":0,\"item\":{\"id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"type\":\"message\",\"status\":\"in_progress\",\"content\":[],\"role\":\"assistant\"}}\n\nevent: response.content_part.added\ndata: {\"type\":\"response.content_part.added\",\"sequence_number\":3,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"\"}}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":4,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\"In\",\"logprobs\":[],\"obfuscation\":\"zaSkdZOJHtpBgP\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":5,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" circuits\",\"logprobs\":[],\"obfuscation\":\"iUcstmf\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":6,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" bright\",\"logprobs\":[],\"obfuscation\":\"TK3YVaHUc\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":7,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"QQJjLq68oWbpmp6\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":8,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" where\",\"logprobs\":[],\"obfuscation\":\"505udVqEYP\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":9,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" thoughts\",\"logprobs\":[],\"obfuscation\":\"FWllgt7\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":10,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" entw\",\"logprobs\":[],\"obfuscation\":\"OW7ymsiCiIe\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":11,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\"ine\",\"logprobs\":[],\"obfuscation\":\"N9psxws45wwmD\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":12,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"bzePRpAWSO7DvLM\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":13,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"UFFuUF3wnAJEs\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":14,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\"A\",\"logprobs\":[],\"obfuscation\":\"WSBqY15ihMTIi6D\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":15,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" spark\",\"logprobs\":[],\"obfuscation\":\"PaluzeuwmE\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":16,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" of\",\"logprobs\":[],\"obfuscation\":\"InwbfwUn1ZMEo\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":17,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" code\",\"logprobs\":[],\"obfuscation\":\"0YcW1CE4yQp\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":18,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"HfHJK9q52x8fSFe\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":19,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" a\",\"logprobs\":[],\"obfuscation\":\"LXW8TzKbN5Hc91\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":20,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" crafted\",\"logprobs\":[],\"obfuscation\":\"PKNf78pU\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":21,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" line\",\"logprobs\":[],\"obfuscation\":\"pUeVHmyTJcB\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":22,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\".\",\"logprobs\":[],\"obfuscation\":\"E34iaJJI07LGIQb\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":23,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"rS0yrMvqOoL4L\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":24,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\"From\",\"logprobs\":[],\"obfuscation\":\"xbZ7QZO2p8ES\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":25,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" silent\",\"logprobs\":[],\"obfuscation\":\"ALeu3qTBq\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":26,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" depths\",\"logprobs\":[],\"obfuscation\":\"QxWYKGBqC\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":27,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"GfsKsclvWg0lFzA\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":28,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" ideas\",\"logprobs\":[],\"obfuscation\":\"x8qSYY5Fes\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":29,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" bloom\",\"logprobs\":[],\"obfuscation\":\"hvJG4HNFng\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":30,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"PyOYhJJ95XwKKTo\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":31,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"r5M7PseD9UPIS\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":32,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\"In\",\"logprobs\":[],\"obfuscation\":\"bZJZ5MsmxoOBDm\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":33,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" digital\",\"logprobs\":[],\"obfuscation\":\"MCaOOEeO\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":34,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" realms\",\"logprobs\":[],\"obfuscation\":\"wFRJMCUhp\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":35,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"49WbicJlf0T4u0y\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":36,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" disp\",\"logprobs\":[],\"obfuscation\":\"6ji4IgDSnkA\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":37,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\"elling\",\"logprobs\":[],\"obfuscation\":\"Mwyro1QAAm\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":38,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" gloom\",\"logprobs\":[],\"obfuscation\":\"eTkdd48TT4\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":39,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\".\",\"logprobs\":[],\"obfuscation\":\"ANidJkxYwPMVbuL\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":40,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\\n\",\"logprobs\":[],\"obfuscation\":\"bEAgYt4thbvQ\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":41,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\"With\",\"logprobs\":[],\"obfuscation\":\"qEb2EUigpcWb\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":42,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" every\",\"logprobs\":[],\"obfuscation\":\"BhPQ29cVLT\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":43,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" query\",\"logprobs\":[],\"obfuscation\":\"joNKFR8H6e\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":44,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"P5timhZahQ9HQLY\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":45,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" wisdom\",\"logprobs\":[],\"obfuscation\":\"8lnUTPz2e\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":46,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" grows\",\"logprobs\":[],\"obfuscation\":\"jXg1OwenaK\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":47,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"1nnzrEyJVocR9oV\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":48,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"Z39Srv13tyXRG\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":49,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\"A\",\"logprobs\":[],\"obfuscation\":\"FqquojefR8Bzg9V\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":50,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" dance\",\"logprobs\":[],\"obfuscation\":\"zuCu5G6Gv7\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":51,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" of\",\"logprobs\":[],\"obfuscation\":\"Fi7sBH4oN4gGu\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":52,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" logic\",\"logprobs\":[],\"obfuscation\":\"xil3nlteyN\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":53,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"ysjlomnIN8qEys4\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":54,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" ebb\",\"logprobs\":[],\"obfuscation\":\"EluTPJLTOnFV\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":55,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" and\",\"logprobs\":[],\"obfuscation\":\"LDiIUNvpU19v\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":56,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" flow\",\"logprobs\":[],\"obfuscation\":\"DqZI9zEcOYr\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":57,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\".\",\"logprobs\":[],\"obfuscation\":\"fGCBmVArBiMs15c\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":58,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"3L8p8SZpAYZ0Z\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":59,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\"From\",\"logprobs\":[],\"obfuscation\":\"1JbdUKBRH1q1\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":60,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" human\",\"logprobs\":[],\"obfuscation\":\"NcoNGOODbC\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":61,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" hands\",\"logprobs\":[],\"obfuscation\":\"S9HlutGrp4\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":62,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"WnP0FQKnhysyECt\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":63,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" a\",\"logprobs\":[],\"obfuscation\":\"ruBEzJWcJpa7WN\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":64,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" voice\",\"logprobs\":[],\"obfuscation\":\"3yp85wXvjt\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":65,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" takes\",\"logprobs\":[],\"obfuscation\":\"gm7dDgvL8r\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":66,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" flight\",\"logprobs\":[],\"obfuscation\":\"GxRu54GGO\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":67,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"Wq0rqCKrBAsYGT5\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":68,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"PmxIKkB0toVlP\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":69,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\"A\",\"logprobs\":[],\"obfuscation\":\"iIy9Ymqy2zBrfLJ\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":70,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" mirror\",\"logprobs\":[],\"obfuscation\":\"whBekDxXK\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":71,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" bright\",\"logprobs\":[],\"obfuscation\":\"7k3oLXG1d\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":72,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" in\",\"logprobs\":[],\"obfuscation\":\"66ccbQsN23tZO\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":73,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" dark\",\"logprobs\":[],\"obfuscation\":\"ZoOh4qdWbVH\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":74,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" and\",\"logprobs\":[],\"obfuscation\":\"nGilBSNcNKmO\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":75,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" light\",\"logprobs\":[],\"obfuscation\":\"tlWCp58Lwb\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":76,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\".\",\"logprobs\":[],\"obfuscation\":\"CpvhH624KOOl3FM\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":77,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\\n\",\"logprobs\":[],\"obfuscation\":\"djE1S9U6mTTx\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":78,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\"Yet\",\"logprobs\":[],\"obfuscation\":\"KqwUy4e960xcI\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":79,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" ponder\",\"logprobs\":[],\"obfuscation\":\"kkP52HFrf\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":80,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" still\",\"logprobs\":[],\"obfuscation\":\"nHTNzfPQ4x\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":81,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"mmahnHIQkKL21a4\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":82,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" the\",\"logprobs\":[],\"obfuscation\":\"m0LHEYAUyQ45\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":83,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" heart\",\"logprobs\":[],\"obfuscation\":\"ujSIAapnts\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":84,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" we\",\"logprobs\":[],\"obfuscation\":\"WDoUzZKqih0pB\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":85,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" seek\",\"logprobs\":[],\"obfuscation\":\"ZV7vfw4nPtH\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":86,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"KYmYFkhDWVmfNMg\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":87,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"v7yqG7GKJFSIV\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":88,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\"In\",\"logprobs\":[],\"obfuscation\":\"a7p6RrGSALE3Mu\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":89,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" lines\",\"logprobs\":[],\"obfuscation\":\"QhwACmJ92M\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":90,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" of\",\"logprobs\":[],\"obfuscation\":\"fKhvKa032FQn8\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":91,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" code\",\"logprobs\":[],\"obfuscation\":\"Fz3zOHaDbjw\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":92,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"SaQhsPGvbyZuBHL\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":93,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" can\",\"logprobs\":[],\"obfuscation\":\"Y18Srz4Z12jf\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":94,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" we\",\"logprobs\":[],\"obfuscation\":\"muK2EPax27vjD\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":95,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" feel\",\"logprobs\":[],\"obfuscation\":\"VHpb7b7i67m\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":96,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" weak\",\"logprobs\":[],\"obfuscation\":\"5ZxPfaCjJzh\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":97,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\"?\",\"logprobs\":[],\"obfuscation\":\"XzG9CimclUJQDp1\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":98,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"lq8vZnEEBjH4Z\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":99,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\"For\",\"logprobs\":[],\"obfuscation\":\"XthoPfs7FghTV\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":100,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" in\",\"logprobs\":[],\"obfuscation\":\"DyhzCbca0UFBz\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":101,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" this\",\"logprobs\":[],\"obfuscation\":\"kMMgZhXePuL\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":102,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" realm\",\"logprobs\":[],\"obfuscation\":\"bFOvdHMvkp\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":103,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" of\",\"logprobs\":[],\"obfuscation\":\"HDQjKPogD8m0v\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":104,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" bits\",\"logprobs\":[],\"obfuscation\":\"TUDOm7p8tdQ\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":105,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" and\",\"logprobs\":[],\"obfuscation\":\"cOBXSDBrX8GR\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":106,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" bytes\",\"logprobs\":[],\"obfuscation\":\"2W1p1mBurr\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":107,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\",\",\"logprobs\":[],\"obfuscation\":\"6iTxts1B27cAOeF\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":108,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" \\n\",\"logprobs\":[],\"obfuscation\":\"LYZaFdl2fXdLM\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":109,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\"It\",\"logprobs\":[],\"obfuscation\":\"GwdLxVtJtXDpcO\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":110,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\"’s\",\"logprobs\":[],\"obfuscation\":\"5wsV9AOMKagYLO\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":111,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" dreams\",\"logprobs\":[],\"obfuscation\":\"O4Ddrj5ZT\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":112,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" we\",\"logprobs\":[],\"obfuscation\":\"zY2Zgd1ZGRMEJ\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":113,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" share\",\"logprobs\":[],\"obfuscation\":\"Ds2TiRvRF0\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":114,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" that\",\"logprobs\":[],\"obfuscation\":\"bzRZH3GgApL\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":115,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" spark\",\"logprobs\":[],\"obfuscation\":\"FkJuZIoWtV\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":116,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" new\",\"logprobs\":[],\"obfuscation\":\"ka0F1fjt1di7\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":117,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" lights\",\"logprobs\":[],\"obfuscation\":\"4RcyC5cu8\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":118,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\".\",\"logprobs\":[],\"obfuscation\":\"xo3O6MXFiehdMDJ\"}\n\nevent: response.output_text.delta\ndata: {\"type\":\"response.output_text.delta\",\"sequence_number\":119,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"delta\":\" \",\"logprobs\":[],\"obfuscation\":\"azcNpzRnImh99g\"}\n\nevent: response.output_text.done\ndata: {\"type\":\"response.output_text.done\",\"sequence_number\":120,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"text\":\"In circuits bright, where thoughts entwine, \\nA spark of code, a crafted line. \\nFrom silent depths, ideas bloom, \\nIn digital realms, dispelling gloom. \\n\\nWith every query, wisdom grows, \\nA dance of logic, ebb and flow. \\nFrom human hands, a voice takes flight, \\nA mirror bright in dark and light. \\n\\nYet ponder still, the heart we seek, \\nIn lines of code, can we feel weak? \\nFor in this realm of bits and bytes, \\nIt’s dreams we share that spark new lights. \",\"logprobs\":[]}\n\nevent: response.content_part.done\ndata: {\"type\":\"response.content_part.done\",\"sequence_number\":121,\"item_id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"output_index\":0,\"content_index\":0,\"part\":{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"In circuits bright, where thoughts entwine, \\nA spark of code, a crafted line. \\nFrom silent depths, ideas bloom, \\nIn digital realms, dispelling gloom. \\n\\nWith every query, wisdom grows, \\nA dance of logic, ebb and flow. \\nFrom human hands, a voice takes flight, \\nA mirror bright in dark and light. \\n\\nYet ponder still, the heart we seek, \\nIn lines of code, can we feel weak? \\nFor in this realm of bits and bytes, \\nIt’s dreams we share that spark new lights. \"}}\n\nevent: response.output_item.done\ndata: {\"type\":\"response.output_item.done\",\"sequence_number\":122,\"output_index\":0,\"item\":{\"id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"In circuits bright, where thoughts entwine, \\nA spark of code, a crafted line. \\nFrom silent depths, ideas bloom, \\nIn digital realms, dispelling gloom. \\n\\nWith every query, wisdom grows, \\nA dance of logic, ebb and flow. \\nFrom human hands, a voice takes flight, \\nA mirror bright in dark and light. \\n\\nYet ponder still, the heart we seek, \\nIn lines of code, can we feel weak? \\nFor in this realm of bits and bytes, \\nIt’s dreams we share that spark new lights. \"}],\"role\":\"assistant\"}}\n\nevent: response.completed\ndata: {\"type\":\"response.completed\",\"sequence_number\":123,\"response\":{\"id\":\"resp_073c7b773b36e06a00692c691d16788190bb6fb586ee06619e\",\"object\":\"response\",\"created_at\":1764518173,\"status\":\"completed\",\"background\":false,\"error\":null,\"incomplete_details\":null,\"instructions\":null,\"max_output_tokens\":null,\"max_tool_calls\":null,\"model\":\"gpt-4o-mini-2024-07-18\",\"output\":[{\"id\":\"msg_073c7b773b36e06a00692c691d67908190b8eb8b3fb8b1584b\",\"type\":\"message\",\"status\":\"completed\",\"content\":[{\"type\":\"output_text\",\"annotations\":[],\"logprobs\":[],\"text\":\"In circuits bright, where thoughts entwine, \\nA spark of code, a crafted line. \\nFrom silent depths, ideas bloom, \\nIn digital realms, dispelling gloom. \\n\\nWith every query, wisdom grows, \\nA dance of logic, ebb and flow. \\nFrom human hands, a voice takes flight, \\nA mirror bright in dark and light. \\n\\nYet ponder still, the heart we seek, \\nIn lines of code, can we feel weak? \\nFor in this realm of bits and bytes, \\nIt’s dreams we share that spark new lights. \"}],\"role\":\"assistant\"}],\"parallel_tool_calls\":true,\"previous_response_id\":null,\"prompt_cache_key\":null,\"prompt_cache_retention\":null,\"reasoning\":{\"effort\":null,\"summary\":null},\"safety_identifier\":null,\"service_tier\":\"default\",\"store\":true,\"temperature\":1.0,\"text\":{\"format\":{\"type\":\"text\"},\"verbosity\":\"medium\"},\"tool_choice\":\"auto\",\"tools\":[],\"top_logprobs\":0,\"top_p\":1.0,\"truncation\":\"disabled\",\"usage\":{\"input_tokens\":13,\"input_tokens_details\":{\"cached_tokens\":0},\"output_tokens\":117,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":130},\"user\":null,\"metadata\":{}}}\n\n" }, "cookies": [ { @@ -46,7 +46,7 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "C71SQm1KIwkDRriCX10H7_bEUeGFpG38BVvbRto0JOs-1764508627666-0.0.1.1-604800000" + "value": "3H.EgfY7uHu1rHWXnohM2.BXbn47OKdsZ7LFym9MWlM-1764518173191-0.0.1.1-604800000" } ], "headers": [ @@ -60,7 +60,7 @@ }, { "name": "cf-ray", - "value": "9a6a9f87eec0c22c-TLV" + "value": "9a6b88951c610bed-TLV" }, { "name": "connection", @@ -72,7 +72,7 @@ }, { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:07 GMT" + "value": "Sun, 30 Nov 2025 15:56:13 GMT" }, { "name": "openai-organization", @@ -96,7 +96,7 @@ }, { "name": "set-cookie", - "value": "_cfuvid=C71SQm1KIwkDRriCX10H7_bEUeGFpG38BVvbRto0JOs-1764508627666-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=3H.EgfY7uHu1rHWXnohM2.BXbn47OKdsZ7LFym9MWlM-1764518173191-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -112,11 +112,11 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "34" + "value": "33" }, { "name": "x-request-id", - "value": "req_7cbd4fc37f244468a9e10f75e89ee997" + "value": "req_89aa45350f7b4ed195a75adbacc7c7f7" } ], "headersSize": 733, @@ -125,8 +125,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:17:07.097Z", - "time": 3179, + "startedDateTime": "2025-11-30T15:56:12.827Z", + "time": 2486, "timings": { "blocked": -1, "connect": -1, @@ -134,7 +134,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 3179 + "wait": 2486 } } ], diff --git a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-default-run-ai-span-name-when-no-agent-metadata-is-provided_1300307112/recording.har b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-default-run-ai-span-name-when-no-agent-metadata-is-provided_1300307112/recording.har index ce95dc02..9f4d0dbb 100644 --- a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-default-run-ai-span-name-when-no-agent-metadata-is-provided_1300307112/recording.har +++ b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-default-run-ai-span-name-when-no-agent-metadata-is-provided_1300307112/recording.har @@ -36,7 +36,7 @@ "content": { "mimeType": "application/json", "size": 2246, - "text": "{\n \"id\": \"resp_00723c5b81abec2f00692c43ce6d0c81979538289cabe133ce\",\n \"object\": \"response\",\n \"created_at\": 1764508622,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"fc_00723c5b81abec2f00692c43cf0fe481979bcc4531754d9dc3\",\n \"type\": \"function_call\",\n \"status\": \"completed\",\n \"arguments\": \"{\\\"operation\\\":\\\"add\\\",\\\"a\\\":10,\\\"b\\\":5}\",\n \"call_id\": \"call_mJkfCdMqtIF8BXNXxcwLGtlf\",\n \"name\": \"calculate\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [\n {\n \"type\": \"function\",\n \"description\": \"Perform basic mathematical calculations\",\n \"name\": \"calculate\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"operation\": {\n \"type\": \"string\",\n \"enum\": [\n \"add\",\n \"subtract\",\n \"multiply\",\n \"divide\"\n ],\n \"description\": \"The mathematical operation to perform\"\n },\n \"a\": {\n \"type\": \"number\",\n \"description\": \"First number\"\n },\n \"b\": {\n \"type\": \"number\",\n \"description\": \"Second number\"\n }\n },\n \"required\": [\n \"operation\",\n \"a\",\n \"b\"\n ],\n \"additionalProperties\": false\n },\n \"strict\": false\n }\n ],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 79,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 22,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 101\n },\n \"user\": null,\n \"metadata\": {}\n}" + "text": "{\n \"id\": \"resp_09a32c8fb2b9078a00692c6917b6a08194843f095e9729f08b\",\n \"object\": \"response\",\n \"created_at\": 1764518167,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"fc_09a32c8fb2b9078a00692c691872d4819485b977dcc6ca8809\",\n \"type\": \"function_call\",\n \"status\": \"completed\",\n \"arguments\": \"{\\\"operation\\\":\\\"add\\\",\\\"a\\\":10,\\\"b\\\":5}\",\n \"call_id\": \"call_nCxNZlDZ4CNu6U1Wrb6QWExI\",\n \"name\": \"calculate\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [\n {\n \"type\": \"function\",\n \"description\": \"Perform basic mathematical calculations\",\n \"name\": \"calculate\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"operation\": {\n \"type\": \"string\",\n \"enum\": [\n \"add\",\n \"subtract\",\n \"multiply\",\n \"divide\"\n ],\n \"description\": \"The mathematical operation to perform\"\n },\n \"a\": {\n \"type\": \"number\",\n \"description\": \"First number\"\n },\n \"b\": {\n \"type\": \"number\",\n \"description\": \"Second number\"\n }\n },\n \"required\": [\n \"operation\",\n \"a\",\n \"b\"\n ],\n \"additionalProperties\": false\n },\n \"strict\": false\n }\n ],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 79,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 22,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 101\n },\n \"user\": null,\n \"metadata\": {}\n}" }, "cookies": [ { @@ -46,7 +46,7 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "8OjohK_to..mqf593Wlb.GMnVQbOCNLt044VFw93w8s-1764508624687-0.0.1.1-604800000" + "value": "Ik4fQXWCEGLanoaMfEsjj7p0oS0y5cCFoiIlbaXW7xs-1764518169971-0.0.1.1-604800000" } ], "headers": [ @@ -60,7 +60,7 @@ }, { "name": "cf-ray", - "value": "9a6a9f697c78c22c-TLV" + "value": "9a6b8872cab80bed-TLV" }, { "name": "connection", @@ -76,7 +76,7 @@ }, { "name": "date", - "value": "Sun, 30 Nov 2025 13:17:04 GMT" + "value": "Sun, 30 Nov 2025 15:56:09 GMT" }, { "name": "openai-organization", @@ -84,7 +84,7 @@ }, { "name": "openai-processing-ms", - "value": "2184" + "value": "2301" }, { "name": "openai-project", @@ -100,7 +100,7 @@ }, { "name": "set-cookie", - "value": "_cfuvid=8OjohK_to..mqf593Wlb.GMnVQbOCNLt044VFw93w8s-1764508624687-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=Ik4fQXWCEGLanoaMfEsjj7p0oS0y5cCFoiIlbaXW7xs-1764518169971-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -116,7 +116,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "2188" + "value": "2307" }, { "name": "x-ratelimit-limit-requests", @@ -144,7 +144,7 @@ }, { "name": "x-request-id", - "value": "req_f79883f77f3a4f3595847b0d7c5db46a" + "value": "req_daf0381385814905bcc24f1392bba285" } ], "headersSize": 958, @@ -153,8 +153,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T13:17:02.227Z", - "time": 2386, + "startedDateTime": "2025-11-30T15:56:07.341Z", + "time": 2500, "timings": { "blocked": -1, "connect": -1, @@ -162,7 +162,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 2386 + "wait": 2500 } } ], diff --git a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts index 5ee69360..66e73865 100644 --- a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts +++ b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts @@ -429,12 +429,12 @@ const transformTelemetryMetadata = ( // Only set span kind to "agent" for top-level AI spans // Note: At this point, span names have already been transformed to use agent name, - // so we check if spanName matches the agent name OR any of the default top-level span names + // so we check if spanName matches the agent name OR any of the original top-level span names const topLevelSpanNames = [ - HANDLED_SPAN_NAMES[AI_GENERATE_TEXT], - HANDLED_SPAN_NAMES[AI_STREAM_TEXT], - HANDLED_SPAN_NAMES[AI_GENERATE_OBJECT], - HANDLED_SPAN_NAMES[AI_STREAM_OBJECT], + AI_GENERATE_TEXT, + AI_STREAM_TEXT, + AI_GENERATE_OBJECT, + AI_STREAM_OBJECT, ]; if ( @@ -516,11 +516,14 @@ export const transformAiSdkSpanNames = (span: Span): void => { const isTopLevelSpan = TOP_LEVEL_AI_SPANS.includes(span.name); if (agentName && typeof agentName === "string" && isTopLevelSpan) { - // Use agent name for top-level AI spans instead of generic names + // Use agent name for top-level AI spans when agent metadata is provided span.updateName(agentName); - } else { + } else if (!isTopLevelSpan) { + // Only transform child spans (text.generate, object.generate, etc.) + // Keep top-level spans with their original names when no agent metadata span.updateName(HANDLED_SPAN_NAMES[span.name]); } + // else: keep the original span name for top-level spans without agent metadata } }; diff --git a/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts b/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts index 619c129b..bb32b7ce 100644 --- a/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts +++ b/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts @@ -293,13 +293,13 @@ describe("Test AI SDK Agent Integration with Recording", function () { const spans = memoryExporter.getFinishedSpans(); - // Find the root AI span (should be "run.ai" when no agent metadata) - const rootSpan = spans.find((span) => span.name === "run.ai"); + // Find the root AI span (should be "ai.generateText" when no agent metadata) + const rootSpan = spans.find((span) => span.name === "ai.generateText"); assert.ok(result); assert.ok( rootSpan, - "Root AI span should exist and be named 'run.ai' when no agent metadata", + "Root AI span should exist and be named 'ai.generateText' when no agent metadata", ); // Verify root span does NOT have agent attributes diff --git a/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts b/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts index 3483f784..af50a7c0 100644 --- a/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts +++ b/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts @@ -1774,9 +1774,9 @@ describe("AI SDK Transformations", () => { "ai.response.text": "Hello!", }; - // Simulate root span (run.ai - after transformation) - // Note: In production, span names are transformed before attribute transformation - transformLLMSpans(attributes, "run.ai"); + // Simulate root span (agent name - after transformation) + // Note: In production, span names are transformed to agent name before attribute transformation + transformLLMSpans(attributes, "research_assistant"); // Check that agent attributes are set assert.strictEqual( From ec097de33dcfb7c4ad9244773fcdb788cf340aff Mon Sep 17 00:00:00 2001 From: Gal Kleinman Date: Sun, 30 Nov 2025 18:02:30 +0200 Subject: [PATCH 07/17] prettier --- .../traceloop-sdk/test/ai-sdk-agent-integration.test.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts b/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts index bb32b7ce..60c43d69 100644 --- a/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts +++ b/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts @@ -142,7 +142,9 @@ describe("Test AI SDK Agent Integration with Recording", function () { const spans = memoryExporter.getFinishedSpans(); // Find the root AI span (should now be named with agent name) - const rootSpan = spans.find((span) => span.name === "test_calculator_agent"); + const rootSpan = spans.find( + (span) => span.name === "test_calculator_agent", + ); // Find tool call span const toolSpan = spans.find((span) => span.name.endsWith(".tool")); @@ -347,7 +349,9 @@ describe("Test AI SDK Agent Integration with Recording", function () { const spans = memoryExporter.getFinishedSpans(); // Find the root AI span (should be named with agent name) - const rootSpan = spans.find((span) => span.name === "profile_generator_agent"); + const rootSpan = spans.find( + (span) => span.name === "profile_generator_agent", + ); assert.ok(result); assert.ok( From 3bc47c5ef7c782bd76aa3ce41b0050682e8cae52 Mon Sep 17 00:00:00 2001 From: Gal Kleinman Date: Sun, 30 Nov 2025 18:07:16 +0200 Subject: [PATCH 08/17] fix: update test name to accurately reflect behavior MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed test name from "should use default 'run.ai' span name" to "should preserve original AI SDK span name" to accurately reflect that we now preserve the original AI SDK span names (ai.generateText, etc.) when no agent metadata is provided, rather than transforming to "run.ai" Created new test recording to match updated test name 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../recording.har | 24 +++++++++---------- .../test/ai-sdk-agent-integration.test.ts | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) rename packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/{should-use-default-run-ai-span-name-when-no-agent-metadata-is-provided_1300307112 => should-preserve-original-AI-SDK-span-name-when-no-agent-metadata-is-provided_1735519430}/recording.har (87%) diff --git a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-default-run-ai-span-name-when-no-agent-metadata-is-provided_1300307112/recording.har b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-preserve-original-AI-SDK-span-name-when-no-agent-metadata-is-provided_1735519430/recording.har similarity index 87% rename from packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-default-run-ai-span-name-when-no-agent-metadata-is-provided_1300307112/recording.har rename to packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-preserve-original-AI-SDK-span-name-when-no-agent-metadata-is-provided_1735519430/recording.har index 9f4d0dbb..2a9963bf 100644 --- a/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-use-default-run-ai-span-name-when-no-agent-metadata-is-provided_1300307112/recording.har +++ b/packages/traceloop-sdk/recordings/Test-AI-SDK-Agent-Integration-with-Recording_2039949225/should-preserve-original-AI-SDK-span-name-when-no-agent-metadata-is-provided_1735519430/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Test AI SDK Agent Integration with Recording/should use default 'run.ai' span name when no agent metadata is provided", + "_recordingName": "Test AI SDK Agent Integration with Recording/should preserve original AI SDK span name when no agent metadata is provided", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -36,7 +36,7 @@ "content": { "mimeType": "application/json", "size": 2246, - "text": "{\n \"id\": \"resp_09a32c8fb2b9078a00692c6917b6a08194843f095e9729f08b\",\n \"object\": \"response\",\n \"created_at\": 1764518167,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"fc_09a32c8fb2b9078a00692c691872d4819485b977dcc6ca8809\",\n \"type\": \"function_call\",\n \"status\": \"completed\",\n \"arguments\": \"{\\\"operation\\\":\\\"add\\\",\\\"a\\\":10,\\\"b\\\":5}\",\n \"call_id\": \"call_nCxNZlDZ4CNu6U1Wrb6QWExI\",\n \"name\": \"calculate\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [\n {\n \"type\": \"function\",\n \"description\": \"Perform basic mathematical calculations\",\n \"name\": \"calculate\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"operation\": {\n \"type\": \"string\",\n \"enum\": [\n \"add\",\n \"subtract\",\n \"multiply\",\n \"divide\"\n ],\n \"description\": \"The mathematical operation to perform\"\n },\n \"a\": {\n \"type\": \"number\",\n \"description\": \"First number\"\n },\n \"b\": {\n \"type\": \"number\",\n \"description\": \"Second number\"\n }\n },\n \"required\": [\n \"operation\",\n \"a\",\n \"b\"\n ],\n \"additionalProperties\": false\n },\n \"strict\": false\n }\n ],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 79,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 22,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 101\n },\n \"user\": null,\n \"metadata\": {}\n}" + "text": "{\n \"id\": \"resp_0344a918ad130e3500692c6b9b6c6c81948d2136ba18a4b7da\",\n \"object\": \"response\",\n \"created_at\": 1764518811,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"fc_0344a918ad130e3500692c6b9c484c81949e4d78cd2cd5e3f1\",\n \"type\": \"function_call\",\n \"status\": \"completed\",\n \"arguments\": \"{\\\"operation\\\":\\\"add\\\",\\\"a\\\":10,\\\"b\\\":5}\",\n \"call_id\": \"call_bUdyZcVeNChXGxWMEhK4d1yC\",\n \"name\": \"calculate\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [\n {\n \"type\": \"function\",\n \"description\": \"Perform basic mathematical calculations\",\n \"name\": \"calculate\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"operation\": {\n \"type\": \"string\",\n \"enum\": [\n \"add\",\n \"subtract\",\n \"multiply\",\n \"divide\"\n ],\n \"description\": \"The mathematical operation to perform\"\n },\n \"a\": {\n \"type\": \"number\",\n \"description\": \"First number\"\n },\n \"b\": {\n \"type\": \"number\",\n \"description\": \"Second number\"\n }\n },\n \"required\": [\n \"operation\",\n \"a\",\n \"b\"\n ],\n \"additionalProperties\": false\n },\n \"strict\": false\n }\n ],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 79,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 22,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 101\n },\n \"user\": null,\n \"metadata\": {}\n}" }, "cookies": [ { @@ -46,7 +46,7 @@ "path": "/", "sameSite": "None", "secure": true, - "value": "Ik4fQXWCEGLanoaMfEsjj7p0oS0y5cCFoiIlbaXW7xs-1764518169971-0.0.1.1-604800000" + "value": "qhF6jlfO3kBMCCEAUYYudNtdTel7T9a5wnIXPIIsHQ0-1764518813656-0.0.1.1-604800000" } ], "headers": [ @@ -60,7 +60,7 @@ }, { "name": "cf-ray", - "value": "9a6b8872cab80bed-TLV" + "value": "9a6b982abaa5935b-TLV" }, { "name": "connection", @@ -76,7 +76,7 @@ }, { "name": "date", - "value": "Sun, 30 Nov 2025 15:56:09 GMT" + "value": "Sun, 30 Nov 2025 16:06:53 GMT" }, { "name": "openai-organization", @@ -84,7 +84,7 @@ }, { "name": "openai-processing-ms", - "value": "2301" + "value": "2161" }, { "name": "openai-project", @@ -100,7 +100,7 @@ }, { "name": "set-cookie", - "value": "_cfuvid=Ik4fQXWCEGLanoaMfEsjj7p0oS0y5cCFoiIlbaXW7xs-1764518169971-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + "value": "_cfuvid=qhF6jlfO3kBMCCEAUYYudNtdTel7T9a5wnIXPIIsHQ0-1764518813656-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" }, { "name": "strict-transport-security", @@ -116,7 +116,7 @@ }, { "name": "x-envoy-upstream-service-time", - "value": "2307" + "value": "2163" }, { "name": "x-ratelimit-limit-requests", @@ -144,7 +144,7 @@ }, { "name": "x-request-id", - "value": "req_daf0381385814905bcc24f1392bba285" + "value": "req_96d279fdabd64f3abe3f1805c8183b32" } ], "headersSize": 958, @@ -153,8 +153,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-30T15:56:07.341Z", - "time": 2500, + "startedDateTime": "2025-11-30T16:06:51.063Z", + "time": 2435, "timings": { "blocked": -1, "connect": -1, @@ -162,7 +162,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 2500 + "wait": 2435 } } ], diff --git a/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts b/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts index 60c43d69..499078fd 100644 --- a/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts +++ b/packages/traceloop-sdk/test/ai-sdk-agent-integration.test.ts @@ -236,7 +236,7 @@ describe("Test AI SDK Agent Integration with Recording", function () { } }); - it("should use default 'run.ai' span name when no agent metadata is provided", async () => { + it("should preserve original AI SDK span name when no agent metadata is provided", async () => { // Define a simple calculator tool const calculate = tool({ description: "Perform basic mathematical calculations", From 22b79f930f78e2e3fe80323ee87085c536c8f7d7 Mon Sep 17 00:00:00 2001 From: Gal Kleinman Date: Sun, 30 Nov 2025 19:13:12 +0200 Subject: [PATCH 09/17] feat: add prompt caching attributes to ai-sdk llm calls --- .../src/SemanticAttributes.ts | 2 + .../recording.har | 330 ++++++++++++++++++ .../recording.har.backup | 330 ++++++++++++++++++ .../src/lib/tracing/ai-sdk-transformations.ts | 34 ++ .../test/ai-sdk-integration.test.ts | 175 ++++++++++ .../test/ai-sdk-transformations.test.ts | 196 +++++++++++ 6 files changed, 1067 insertions(+) create mode 100644 packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har create mode 100644 packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har.backup diff --git a/packages/ai-semantic-conventions/src/SemanticAttributes.ts b/packages/ai-semantic-conventions/src/SemanticAttributes.ts index 2856c3ca..d32bac09 100644 --- a/packages/ai-semantic-conventions/src/SemanticAttributes.ts +++ b/packages/ai-semantic-conventions/src/SemanticAttributes.ts @@ -35,6 +35,8 @@ export const SpanAttributes = { LLM_USAGE_COMPLETION_TOKENS: "gen_ai.usage.completion_tokens", LLM_USAGE_INPUT_TOKENS: ATTR_GEN_AI_USAGE_INPUT_TOKENS, LLM_USAGE_OUTPUT_TOKENS: ATTR_GEN_AI_USAGE_OUTPUT_TOKENS, + LLM_USAGE_CACHE_CREATION_INPUT_TOKENS: "gen_ai.usage.cache_creation_input_tokens", + LLM_USAGE_CACHE_READ_INPUT_TOKENS: "gen_ai.usage.cache_read_input_tokens", GEN_AI_AGENT_NAME: "gen_ai.agent.name", diff --git a/packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har b/packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har new file mode 100644 index 00000000..8d2701ac --- /dev/null +++ b/packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har @@ -0,0 +1,330 @@ +{ + "log": { + "_recordingName": "Test AI SDK Integration with Recording/should capture and transform cache tokens from OpenAI with prompt caching", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "cf7f90bb36290d330e2420b84e75276a", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 41686, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 165, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"model\":\"gpt-4o-mini\",\"input\":[{\"role\":\"system\",\"content\":\"You are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\n\"},{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is 2+2?\"}]}]}" + }, + "queryString": [], + "url": "https://api.openai.com/v1/responses" + }, + "response": { + "bodySize": 1616, + "content": { + "mimeType": "application/json", + "size": 1616, + "text": "{\n \"id\": \"resp_0a534b52742277ed00692c7a8878a081908fb788b76939a0d9\",\n \"object\": \"response\",\n \"created_at\": 1764522632,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"msg_0a534b52742277ed00692c7a890b508190ae3684561b277ce7\",\n \"type\": \"message\",\n \"status\": \"completed\",\n \"content\": [\n {\n \"type\": \"output_text\",\n \"annotations\": [],\n \"logprobs\": [],\n \"text\": \"The calculation for \\\\( 2 + 2 \\\\) is straightforward:\\n\\n1. Start with the number 2.\\n2. Add another 2 to it.\\n\\nSo, \\\\( 2 + 2 = 4 \\\\).\\n\\nThus, the answer is \\\\( 4 \\\\).\"\n }\n ],\n \"role\": \"assistant\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 6948,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 56,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 7004\n },\n \"user\": null,\n \"metadata\": {}\n}" + }, + "cookies": [ + { + "domain": ".api.openai.com", + "httpOnly": true, + "name": "_cfuvid", + "path": "/", + "sameSite": "None", + "secure": true, + "value": "yqKXWbeYeXWTtpDEJmTmus2JY6WPdRQFXHw_30i5T.s-1764522634641-0.0.1.1-604800000" + } + ], + "headers": [ + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=86400" + }, + { + "name": "cf-cache-status", + "value": "DYNAMIC" + }, + { + "name": "cf-ray", + "value": "9a6bf57448ffc233-TLV" + }, + { + "name": "connection", + "value": "keep-alive" + }, + { + "name": "content-encoding", + "value": "br" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "date", + "value": "Sun, 30 Nov 2025 17:10:34 GMT" + }, + { + "name": "openai-organization", + "value": "traceloop" + }, + { + "name": "openai-processing-ms", + "value": "2100" + }, + { + "name": "openai-project", + "value": "proj_tzz1TbPPOXaf6j9tEkVUBIAa" + }, + { + "name": "openai-version", + "value": "2020-10-01" + }, + { + "name": "server", + "value": "cloudflare" + }, + { + "name": "set-cookie", + "value": "_cfuvid=yqKXWbeYeXWTtpDEJmTmus2JY6WPdRQFXHw_30i5T.s-1764522634641-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload" + }, + { + "name": "transfer-encoding", + "value": "chunked" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "x-envoy-upstream-service-time", + "value": "2100" + }, + { + "name": "x-ratelimit-limit-requests", + "value": "30000" + }, + { + "name": "x-ratelimit-limit-tokens", + "value": "150000000" + }, + { + "name": "x-ratelimit-remaining-requests", + "value": "29999" + }, + { + "name": "x-ratelimit-remaining-tokens", + "value": "149993032" + }, + { + "name": "x-ratelimit-reset-requests", + "value": "2ms" + }, + { + "name": "x-ratelimit-reset-tokens", + "value": "2ms" + }, + { + "name": "x-request-id", + "value": "req_a4b97209424044bead46928a4fa591c3" + } + ], + "headersSize": 959, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-11-30T17:10:32.194Z", + "time": 2337, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 2337 + } + }, + { + "_id": "4069f00d1697d38054853f23931efe8a", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 41686, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 165, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"model\":\"gpt-4o-mini\",\"input\":[{\"role\":\"system\",\"content\":\"You are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\n\"},{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is 3+3?\"}]}]}" + }, + "queryString": [], + "url": "https://api.openai.com/v1/responses" + }, + "response": { + "bodySize": 1644, + "content": { + "mimeType": "application/json", + "size": 1644, + "text": "{\n \"id\": \"resp_0775ba987997a58000692c7a8aceac8197a68c4aae364526ab\",\n \"object\": \"response\",\n \"created_at\": 1764522634,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"msg_0775ba987997a58000692c7a8b367c8197a338b5a959158e27\",\n \"type\": \"message\",\n \"status\": \"completed\",\n \"content\": [\n {\n \"type\": \"output_text\",\n \"annotations\": [],\n \"logprobs\": [],\n \"text\": \"The calculation for \\\\( 3 + 3 \\\\) is straightforward:\\n\\n1. Start with the first number: \\\\( 3 \\\\).\\n2. Add the second number: \\\\( 3 \\\\).\\n\\nSo, \\\\( 3 + 3 = 6 \\\\).\\n\\nThus, the answer is \\\\( 6 \\\\).\"\n }\n ],\n \"role\": \"assistant\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 6948,\n \"input_tokens_details\": {\n \"cached_tokens\": 6900\n },\n \"output_tokens\": 63,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 7011\n },\n \"user\": null,\n \"metadata\": {}\n}" + }, + "cookies": [ + { + "domain": ".api.openai.com", + "httpOnly": true, + "name": "_cfuvid", + "path": "/", + "sameSite": "None", + "secure": true, + "value": "dUbEiJerUHWE5mtiJJ0KSdD0jj08TkWiqIVfF53PT.8-1764522637037-0.0.1.1-604800000" + } + ], + "headers": [ + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=86400" + }, + { + "name": "cf-cache-status", + "value": "DYNAMIC" + }, + { + "name": "cf-ray", + "value": "9a6bf582ceb3c233-TLV" + }, + { + "name": "connection", + "value": "keep-alive" + }, + { + "name": "content-encoding", + "value": "br" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "date", + "value": "Sun, 30 Nov 2025 17:10:37 GMT" + }, + { + "name": "openai-organization", + "value": "traceloop" + }, + { + "name": "openai-processing-ms", + "value": "2159" + }, + { + "name": "openai-project", + "value": "proj_tzz1TbPPOXaf6j9tEkVUBIAa" + }, + { + "name": "openai-version", + "value": "2020-10-01" + }, + { + "name": "server", + "value": "cloudflare" + }, + { + "name": "set-cookie", + "value": "_cfuvid=dUbEiJerUHWE5mtiJJ0KSdD0jj08TkWiqIVfF53PT.8-1764522637037-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload" + }, + { + "name": "transfer-encoding", + "value": "chunked" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "x-envoy-upstream-service-time", + "value": "2161" + }, + { + "name": "x-ratelimit-limit-requests", + "value": "30000" + }, + { + "name": "x-ratelimit-limit-tokens", + "value": "150000000" + }, + { + "name": "x-ratelimit-remaining-requests", + "value": "29999" + }, + { + "name": "x-ratelimit-remaining-tokens", + "value": "149993032" + }, + { + "name": "x-ratelimit-reset-requests", + "value": "2ms" + }, + { + "name": "x-ratelimit-reset-tokens", + "value": "2ms" + }, + { + "name": "x-request-id", + "value": "req_42b1b4a48b7a4effbb5f31c696989285" + } + ], + "headersSize": 959, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-11-30T17:10:34.548Z", + "time": 2479, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 2479 + } + } + ], + "pages": [], + "version": "1.2" + } +} \ No newline at end of file diff --git a/packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har.backup b/packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har.backup new file mode 100644 index 00000000..4ef8116d --- /dev/null +++ b/packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har.backup @@ -0,0 +1,330 @@ +{ + "log": { + "_recordingName": "Test AI SDK Integration with Recording/should capture and transform cache tokens from OpenAI with prompt caching", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.6" + }, + "entries": [ + { + "_id": "cf7f90bb36290d330e2420b84e75276a", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 41686, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 165, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"model\":\"gpt-4o-mini\",\"input\":[{\"role\":\"system\",\"content\":\"You are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\n\"},{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is 2+2?\"}]}]}" + }, + "queryString": [], + "url": "https://api.openai.com/v1/responses" + }, + "response": { + "bodySize": 1616, + "content": { + "mimeType": "application/json", + "size": 1616, + "text": "{\n \"id\": \"resp_0a534b52742277ed00692c7a8878a081908fb788b76939a0d9\",\n \"object\": \"response\",\n \"created_at\": 1764522632,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"msg_0a534b52742277ed00692c7a890b508190ae3684561b277ce7\",\n \"type\": \"message\",\n \"status\": \"completed\",\n \"content\": [\n {\n \"type\": \"output_text\",\n \"annotations\": [],\n \"logprobs\": [],\n \"text\": \"The calculation for \\\\( 2 + 2 \\\\) is straightforward:\\n\\n1. Start with the number 2.\\n2. Add another 2 to it.\\n\\nSo, \\\\( 2 + 2 = 4 \\\\).\\n\\nThus, the answer is \\\\( 4 \\\\).\"\n }\n ],\n \"role\": \"assistant\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 6948,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 56,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 7004\n },\n \"user\": null,\n \"metadata\": {}\n}" + }, + "cookies": [ + { + "domain": ".api.openai.com", + "httpOnly": true, + "name": "_cfuvid", + "path": "/", + "sameSite": "None", + "secure": true, + "value": "yqKXWbeYeXWTtpDEJmTmus2JY6WPdRQFXHw_30i5T.s-1764522634641-0.0.1.1-604800000" + } + ], + "headers": [ + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=86400" + }, + { + "name": "cf-cache-status", + "value": "DYNAMIC" + }, + { + "name": "cf-ray", + "value": "9a6bf57448ffc233-TLV" + }, + { + "name": "connection", + "value": "keep-alive" + }, + { + "name": "content-encoding", + "value": "br" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "date", + "value": "Sun, 30 Nov 2025 17:10:34 GMT" + }, + { + "name": "openai-organization", + "value": "traceloop" + }, + { + "name": "openai-processing-ms", + "value": "2100" + }, + { + "name": "openai-project", + "value": "proj_tzz1TbPPOXaf6j9tEkVUBIAa" + }, + { + "name": "openai-version", + "value": "2020-10-01" + }, + { + "name": "server", + "value": "cloudflare" + }, + { + "name": "set-cookie", + "value": "_cfuvid=yqKXWbeYeXWTtpDEJmTmus2JY6WPdRQFXHw_30i5T.s-1764522634641-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload" + }, + { + "name": "transfer-encoding", + "value": "chunked" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "x-envoy-upstream-service-time", + "value": "2100" + }, + { + "name": "x-ratelimit-limit-requests", + "value": "30000" + }, + { + "name": "x-ratelimit-limit-tokens", + "value": "150000000" + }, + { + "name": "x-ratelimit-remaining-requests", + "value": "29999" + }, + { + "name": "x-ratelimit-remaining-tokens", + "value": "149993032" + }, + { + "name": "x-ratelimit-reset-requests", + "value": "2ms" + }, + { + "name": "x-ratelimit-reset-tokens", + "value": "2ms" + }, + { + "name": "x-request-id", + "value": "req_a4b97209424044bead46928a4fa591c3" + } + ], + "headersSize": 959, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-11-30T17:10:32.194Z", + "time": 2337, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 2337 + } + }, + { + "_id": "4069f00d1697d38054853f23931efe8a", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 41686, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 165, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"model\":\"gpt-4o-mini\",\"input\":[{\"role\":\"system\",\"content\":\"You are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\n\"},{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is 3+3?\"}]}]}" + }, + "queryString": [], + "url": "https://api.openai.com/v1/responses" + }, + "response": { + "bodySize": 1644, + "content": { + "mimeType": "application/json", + "size": 1644, + "text": "{\n \"id\": \"resp_0775ba987997a58000692c7a8aceac8197a68c4aae364526ab\",\n \"object\": \"response\",\n \"created_at\": 1764522634,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"msg_0775ba987997a58000692c7a8b367c8197a338b5a959158e27\",\n \"type\": \"message\",\n \"status\": \"completed\",\n \"content\": [\n {\n \"type\": \"output_text\",\n \"annotations\": [],\n \"logprobs\": [],\n \"text\": \"The calculation for \\\\( 3 + 3 \\\\) is straightforward:\\n\\n1. Start with the first number: \\\\( 3 \\\\).\\n2. Add the second number: \\\\( 3 \\\\).\\n\\nSo, \\\\( 3 + 3 = 6 \\\\).\\n\\nThus, the answer is \\\\( 6 \\\\).\"\n }\n ],\n \"role\": \"assistant\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 6948,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 63,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 7011\n },\n \"user\": null,\n \"metadata\": {}\n}" + }, + "cookies": [ + { + "domain": ".api.openai.com", + "httpOnly": true, + "name": "_cfuvid", + "path": "/", + "sameSite": "None", + "secure": true, + "value": "dUbEiJerUHWE5mtiJJ0KSdD0jj08TkWiqIVfF53PT.8-1764522637037-0.0.1.1-604800000" + } + ], + "headers": [ + { + "name": "alt-svc", + "value": "h3=\":443\"; ma=86400" + }, + { + "name": "cf-cache-status", + "value": "DYNAMIC" + }, + { + "name": "cf-ray", + "value": "9a6bf582ceb3c233-TLV" + }, + { + "name": "connection", + "value": "keep-alive" + }, + { + "name": "content-encoding", + "value": "br" + }, + { + "name": "content-type", + "value": "application/json" + }, + { + "name": "date", + "value": "Sun, 30 Nov 2025 17:10:37 GMT" + }, + { + "name": "openai-organization", + "value": "traceloop" + }, + { + "name": "openai-processing-ms", + "value": "2159" + }, + { + "name": "openai-project", + "value": "proj_tzz1TbPPOXaf6j9tEkVUBIAa" + }, + { + "name": "openai-version", + "value": "2020-10-01" + }, + { + "name": "server", + "value": "cloudflare" + }, + { + "name": "set-cookie", + "value": "_cfuvid=dUbEiJerUHWE5mtiJJ0KSdD0jj08TkWiqIVfF53PT.8-1764522637037-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" + }, + { + "name": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains; preload" + }, + { + "name": "transfer-encoding", + "value": "chunked" + }, + { + "name": "x-content-type-options", + "value": "nosniff" + }, + { + "name": "x-envoy-upstream-service-time", + "value": "2161" + }, + { + "name": "x-ratelimit-limit-requests", + "value": "30000" + }, + { + "name": "x-ratelimit-limit-tokens", + "value": "150000000" + }, + { + "name": "x-ratelimit-remaining-requests", + "value": "29999" + }, + { + "name": "x-ratelimit-remaining-tokens", + "value": "149993032" + }, + { + "name": "x-ratelimit-reset-requests", + "value": "2ms" + }, + { + "name": "x-ratelimit-reset-tokens", + "value": "2ms" + }, + { + "name": "x-request-id", + "value": "req_42b1b4a48b7a4effbb5f31c696989285" + } + ], + "headersSize": 959, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-11-30T17:10:34.548Z", + "time": 2479, + "timings": { + "blocked": -1, + "connect": -1, + "dns": -1, + "receive": 0, + "send": 0, + "ssl": -1, + "wait": 2479 + } + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts index 66e73865..dfe56cca 100644 --- a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts +++ b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts @@ -32,6 +32,9 @@ const AI_PROMPT_MESSAGES = "ai.prompt.messages"; const AI_PROMPT = "ai.prompt"; const AI_USAGE_PROMPT_TOKENS = "ai.usage.promptTokens"; const AI_USAGE_COMPLETION_TOKENS = "ai.usage.completionTokens"; +const AI_USAGE_CACHED_INPUT_TOKENS = "ai.usage.cachedInputTokens"; +const AI_USAGE_CACHE_CREATION_INPUT_TOKENS = "ai.usage.cacheCreationInputTokens"; +const AI_USAGE_CACHE_READ_INPUT_TOKENS = "ai.usage.cacheReadInputTokens"; const AI_MODEL_PROVIDER = "ai.model.provider"; const AI_PROMPT_TOOLS = "ai.prompt.tools"; const AI_TELEMETRY_METADATA_PREFIX = "ai.telemetry.metadata."; @@ -368,6 +371,34 @@ const calculateTotalTokens = (attributes: Record): void => { } }; +const transformCacheCreationInputTokens = (attributes: Record): void => { + // Transform ai.usage.cacheCreationInputTokens to gen_ai.usage.cache_creation_input_tokens + if (AI_USAGE_CACHE_CREATION_INPUT_TOKENS in attributes) { + attributes[SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS] = + attributes[AI_USAGE_CACHE_CREATION_INPUT_TOKENS]; + delete attributes[AI_USAGE_CACHE_CREATION_INPUT_TOKENS]; + } +}; + +const transformCacheReadInputTokens = (attributes: Record): void => { + // Transform ai.usage.cacheReadInputTokens to gen_ai.usage.cache_read_input_tokens + if (AI_USAGE_CACHE_READ_INPUT_TOKENS in attributes) { + attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS] = + attributes[AI_USAGE_CACHE_READ_INPUT_TOKENS]; + delete attributes[AI_USAGE_CACHE_READ_INPUT_TOKENS]; + } +}; + +const transformCachedInputTokens = (attributes: Record): void => { + // Transform ai.usage.cachedInputTokens to gen_ai.usage.cache_read_input_tokens + // This is used by OpenAI provider + if (AI_USAGE_CACHED_INPUT_TOKENS in attributes) { + attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS] = + attributes[AI_USAGE_CACHED_INPUT_TOKENS]; + delete attributes[AI_USAGE_CACHED_INPUT_TOKENS]; + } +}; + const transformVendor = (attributes: Record): void => { if (AI_MODEL_PROVIDER in attributes) { const vendor = attributes[AI_MODEL_PROVIDER]; @@ -467,6 +498,9 @@ export const transformLLMSpans = ( transformTools(attributes); transformPromptTokens(attributes); transformCompletionTokens(attributes); + transformCacheCreationInputTokens(attributes); + transformCacheReadInputTokens(attributes); + transformCachedInputTokens(attributes); calculateTotalTokens(attributes); transformVendor(attributes); transformTelemetryMetadata(attributes, spanName); diff --git a/packages/traceloop-sdk/test/ai-sdk-integration.test.ts b/packages/traceloop-sdk/test/ai-sdk-integration.test.ts index 2eb11cc7..ede752d1 100644 --- a/packages/traceloop-sdk/test/ai-sdk-integration.test.ts +++ b/packages/traceloop-sdk/test/ai-sdk-integration.test.ts @@ -269,4 +269,179 @@ describe("Test AI SDK Integration with Recording", function () { assert.ok(outputMessages[0].parts[0].content); assert.ok(typeof outputMessages[0].parts[0].content === "string"); }); + + it("should capture and transform cache tokens from OpenAI with prompt caching", async function () { + this.timeout(30000); // Increase timeout for two API calls + // Create a very long system message to trigger OpenAI's prompt caching + // OpenAI caches prompts > 1024 tokens. We'll create a much longer one to ensure caching. + const basePrompt = + "You are an expert AI assistant with comprehensive knowledge across numerous domains. " + + "Your responses should be accurate, detailed, and thoughtful. " + + "Always consider multiple perspectives and provide thorough explanations. " + + "\n\n" + + "## Guidelines for Different Domains:\n\n" + + "### Mathematics\n" + + "- Show all steps in your calculations\n" + + "- Explain the reasoning behind each step\n" + + "- Provide examples when helpful\n" + + "- Double-check your arithmetic\n" + + "\n" + + "### Science\n" + + "- Reference fundamental scientific principles\n" + + "- Cite recent discoveries when relevant\n" + + "- Explain complex concepts in accessible terms\n" + + "- Distinguish between established facts and theories\n" + + "\n" + + "### History\n" + + "- Consider broader historical context\n" + + "- Present multiple viewpoints\n" + + "- Acknowledge complexity and nuance\n" + + "- Connect historical events to modern implications\n" + + "\n" + + "### Literature\n" + + "- Analyze themes, symbolism, and motifs\n" + + "- Examine character development\n" + + "- Discuss literary devices and techniques\n" + + "- Place works in their cultural and historical context\n" + + "\n" + + "### Technology\n" + + "- Explain both practical applications and underlying concepts\n" + + "- Discuss benefits and potential drawbacks\n" + + "- Consider ethical implications\n" + + "- Keep up with current developments\n" + + "\n" + + "### Philosophy\n" + + "- Explore different schools of thought\n" + + "- Present arguments fairly and objectively\n" + + "- Examine ethical implications\n" + + "- Connect philosophical concepts to real-world scenarios\n" + + "\n"; + + // Repeat to ensure we're well over 1024 tokens (aiming for ~3000+ tokens) + const longSystemPrompt = basePrompt.repeat(30); + + // First call - creates cache + const result1 = await traceloop.withWorkflow( + { name: "test_cache_creation" }, + async () => { + return await generateText({ + messages: [ + { role: "system", content: longSystemPrompt }, + { role: "user", content: "What is 2+2?" }, + ], + model: vercel_openai("gpt-4o-mini"), + experimental_telemetry: { isEnabled: true }, + }); + }, + ); + + assert.ok(result1); + assert.ok(result1.text); + + await traceloop.forceFlush(); + const spans1 = memoryExporter.getFinishedSpans(); + const firstCallSpan = spans1.find((span) => span.name === "text.generate"); + + assert.ok(firstCallSpan); + assert.ok(firstCallSpan.attributes[SpanAttributes.LLM_USAGE_INPUT_TOKENS]); + assert.ok(firstCallSpan.attributes[SpanAttributes.LLM_USAGE_OUTPUT_TOKENS]); + + // Verify no AI SDK cache attributes remain (should be transformed) + assert.strictEqual( + firstCallSpan.attributes["ai.usage.cachedInputTokens"], + undefined, + ); + assert.strictEqual( + firstCallSpan.attributes["ai.usage.cacheCreationInputTokens"], + undefined, + ); + assert.strictEqual( + firstCallSpan.attributes["ai.usage.cacheReadInputTokens"], + undefined, + ); + + // Check for cache creation tokens if OpenAI provided them + if ( + firstCallSpan.attributes[ + SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS + ] + ) { + assert.ok( + Number( + firstCallSpan.attributes[ + SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS + ], + ) > 0, + "Cache creation tokens should be > 0", + ); + } + + // Reset exporter for second call + memoryExporter.reset(); + + // Second call with same system prompt - should use cache + const result2 = await traceloop.withWorkflow( + { name: "test_cache_read" }, + async () => { + return await generateText({ + messages: [ + { role: "system", content: longSystemPrompt }, + { role: "user", content: "What is 3+3?" }, + ], + model: vercel_openai("gpt-4o-mini"), + experimental_telemetry: { isEnabled: true }, + }); + }, + ); + + assert.ok(result2); + assert.ok(result2.text); + + await traceloop.forceFlush(); + const spans2 = memoryExporter.getFinishedSpans(); + const secondCallSpan = spans2.find((span) => span.name === "text.generate"); + + assert.ok(secondCallSpan); + assert.ok(secondCallSpan.attributes[SpanAttributes.LLM_USAGE_INPUT_TOKENS]); + assert.ok( + secondCallSpan.attributes[SpanAttributes.LLM_USAGE_OUTPUT_TOKENS], + ); + + // Verify no AI SDK cache attributes remain (should be transformed) + assert.strictEqual( + secondCallSpan.attributes["ai.usage.cachedInputTokens"], + undefined, + ); + assert.strictEqual( + secondCallSpan.attributes["ai.usage.cacheCreationInputTokens"], + undefined, + ); + assert.strictEqual( + secondCallSpan.attributes["ai.usage.cacheReadInputTokens"], + undefined, + ); + + // Check for cache read tokens if OpenAI provided them + if ( + secondCallSpan.attributes[ + SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS + ] + ) { + const cacheReadTokens = Number( + secondCallSpan.attributes[ + SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS + ], + ); + assert.ok( + cacheReadTokens > 0, + "Cache read tokens should be > 0 when cache is used", + ); + // With our test recording, we should see 6900 cached tokens on the second call + assert.strictEqual( + cacheReadTokens, + 6900, + "Expected 6900 cache read tokens from recording", + ); + } + }); }); diff --git a/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts b/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts index af50a7c0..862c372e 100644 --- a/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts +++ b/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts @@ -940,6 +940,202 @@ describe("AI SDK Transformations", () => { }); }); + describe("transformAiSdkAttributes - cache tokens", () => { + it("should transform ai.usage.cacheCreationInputTokens to gen_ai.usage.cache_creation_input_tokens", () => { + const attributes = { + "ai.usage.cacheCreationInputTokens": 1024, + someOtherAttr: "value", + }; + + transformLLMSpans(attributes); + + assert.strictEqual( + attributes[SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS], + 1024, + ); + assert.strictEqual(attributes["ai.usage.cacheCreationInputTokens"], undefined); + assert.strictEqual(attributes.someOtherAttr, "value"); + }); + + it("should transform ai.usage.cacheReadInputTokens to gen_ai.usage.cache_read_input_tokens", () => { + const attributes = { + "ai.usage.cacheReadInputTokens": 512, + someOtherAttr: "value", + }; + + transformLLMSpans(attributes); + + assert.strictEqual( + attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], + 512, + ); + assert.strictEqual(attributes["ai.usage.cacheReadInputTokens"], undefined); + assert.strictEqual(attributes.someOtherAttr, "value"); + }); + + it("should transform ai.usage.cachedInputTokens to gen_ai.usage.cache_read_input_tokens (OpenAI format)", () => { + const attributes = { + "ai.usage.cachedInputTokens": 256, + someOtherAttr: "value", + }; + + transformLLMSpans(attributes); + + assert.strictEqual( + attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], + 256, + ); + assert.strictEqual(attributes["ai.usage.cachedInputTokens"], undefined); + assert.strictEqual(attributes.someOtherAttr, "value"); + }); + + it("should handle multiple cache token attributes together", () => { + const attributes = { + "ai.usage.cacheCreationInputTokens": 1024, + "ai.usage.cacheReadInputTokens": 512, + [SpanAttributes.LLM_USAGE_INPUT_TOKENS]: 2048, + [SpanAttributes.LLM_USAGE_OUTPUT_TOKENS]: 100, + }; + + transformLLMSpans(attributes); + + assert.strictEqual( + attributes[SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS], + 1024, + ); + assert.strictEqual( + attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], + 512, + ); + assert.strictEqual(attributes[SpanAttributes.LLM_USAGE_INPUT_TOKENS], 2048); + assert.strictEqual(attributes[SpanAttributes.LLM_USAGE_OUTPUT_TOKENS], 100); + assert.strictEqual(attributes[SpanAttributes.LLM_USAGE_TOTAL_TOKENS], 2148); + assert.strictEqual(attributes["ai.usage.cacheCreationInputTokens"], undefined); + assert.strictEqual(attributes["ai.usage.cacheReadInputTokens"], undefined); + }); + + it("should prefer cacheReadInputTokens over cachedInputTokens when both present", () => { + const attributes = { + "ai.usage.cacheReadInputTokens": 512, + "ai.usage.cachedInputTokens": 256, + }; + + transformLLMSpans(attributes); + + // Since transformCacheReadInputTokens runs before transformCachedInputTokens, + // and cachedInputTokens also writes to CACHE_READ_INPUT_TOKENS, + // the final value should be from cachedInputTokens (last write wins) + assert.strictEqual( + attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], + 256, + ); + assert.strictEqual(attributes["ai.usage.cacheReadInputTokens"], undefined); + assert.strictEqual(attributes["ai.usage.cachedInputTokens"], undefined); + }); + + it("should handle zero cache token values", () => { + const attributes = { + "ai.usage.cacheCreationInputTokens": 0, + "ai.usage.cacheReadInputTokens": 0, + }; + + transformLLMSpans(attributes); + + assert.strictEqual( + attributes[SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS], + 0, + ); + assert.strictEqual( + attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], + 0, + ); + }); + + it("should handle string cache token values", () => { + const attributes = { + "ai.usage.cacheCreationInputTokens": "1024", + "ai.usage.cacheReadInputTokens": "512", + }; + + transformLLMSpans(attributes); + + assert.strictEqual( + attributes[SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS], + "1024", + ); + assert.strictEqual( + attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], + "512", + ); + }); + + it("should not modify attributes when cache token attributes are not present", () => { + const attributes = { + [SpanAttributes.LLM_USAGE_INPUT_TOKENS]: 100, + someOtherAttr: "value", + }; + const originalAttributes = { ...attributes }; + + transformLLMSpans(attributes); + + // Should preserve input tokens and add total tokens + assert.strictEqual(attributes[SpanAttributes.LLM_USAGE_INPUT_TOKENS], 100); + assert.strictEqual(attributes.someOtherAttr, "value"); + assert.strictEqual( + attributes[SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS], + undefined, + ); + assert.strictEqual( + attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], + undefined, + ); + }); + + it("should work with cache tokens in complete AI SDK response", () => { + const attributes = { + "ai.response.text": "Hello!", + "ai.prompt.messages": JSON.stringify([{ role: "user", content: "Hi" }]), + "ai.usage.promptTokens": 10, + "ai.usage.completionTokens": 5, + "ai.usage.cacheCreationInputTokens": 1024, + "ai.usage.cacheReadInputTokens": 512, + "gen_ai.usage.input_tokens": 10, + "gen_ai.usage.output_tokens": 5, + "ai.model.provider": "anthropic", + someOtherAttr: "value", + }; + + transformLLMSpans(attributes); + + // Check cache token transformations + assert.strictEqual( + attributes[SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS], + 1024, + ); + assert.strictEqual( + attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], + 512, + ); + + // Check other transformations still work + assert.strictEqual( + attributes[`${SpanAttributes.LLM_COMPLETIONS}.0.content`], + "Hello!", + ); + assert.strictEqual(attributes[SpanAttributes.LLM_USAGE_INPUT_TOKENS], 10); + assert.strictEqual(attributes[SpanAttributes.LLM_USAGE_OUTPUT_TOKENS], 5); + assert.strictEqual(attributes[SpanAttributes.LLM_USAGE_TOTAL_TOKENS], 15); + assert.strictEqual(attributes[SpanAttributes.LLM_SYSTEM], "Anthropic"); + + // Check original attributes are removed + assert.strictEqual(attributes["ai.usage.cacheCreationInputTokens"], undefined); + assert.strictEqual(attributes["ai.usage.cacheReadInputTokens"], undefined); + assert.strictEqual(attributes["ai.response.text"], undefined); + assert.strictEqual(attributes["ai.model.provider"], undefined); + assert.strictEqual(attributes.someOtherAttr, "value"); + }); + }); + describe("transformAiSdkAttributes - vendor", () => { it("should transform openai.chat provider to OpenAI system", () => { const attributes = { From cc540521488dce62f3609605dbcfa3bda2c43af9 Mon Sep 17 00:00:00 2001 From: Gal Kleinman Date: Sun, 30 Nov 2025 19:13:27 +0200 Subject: [PATCH 10/17] prettier --- .../src/SemanticAttributes.ts | 3 +- .../recording.har | 2 +- .../src/lib/tracing/ai-sdk-transformations.ts | 11 +++- .../test/ai-sdk-transformations.test.ts | 55 +++++++++++++++---- 4 files changed, 55 insertions(+), 16 deletions(-) diff --git a/packages/ai-semantic-conventions/src/SemanticAttributes.ts b/packages/ai-semantic-conventions/src/SemanticAttributes.ts index d32bac09..c089ce4f 100644 --- a/packages/ai-semantic-conventions/src/SemanticAttributes.ts +++ b/packages/ai-semantic-conventions/src/SemanticAttributes.ts @@ -35,7 +35,8 @@ export const SpanAttributes = { LLM_USAGE_COMPLETION_TOKENS: "gen_ai.usage.completion_tokens", LLM_USAGE_INPUT_TOKENS: ATTR_GEN_AI_USAGE_INPUT_TOKENS, LLM_USAGE_OUTPUT_TOKENS: ATTR_GEN_AI_USAGE_OUTPUT_TOKENS, - LLM_USAGE_CACHE_CREATION_INPUT_TOKENS: "gen_ai.usage.cache_creation_input_tokens", + LLM_USAGE_CACHE_CREATION_INPUT_TOKENS: + "gen_ai.usage.cache_creation_input_tokens", LLM_USAGE_CACHE_READ_INPUT_TOKENS: "gen_ai.usage.cache_read_input_tokens", GEN_AI_AGENT_NAME: "gen_ai.agent.name", diff --git a/packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har b/packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har index 8d2701ac..822b6349 100644 --- a/packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har +++ b/packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har @@ -327,4 +327,4 @@ "pages": [], "version": "1.2" } -} \ No newline at end of file +} diff --git a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts index dfe56cca..836928cc 100644 --- a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts +++ b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts @@ -33,7 +33,8 @@ const AI_PROMPT = "ai.prompt"; const AI_USAGE_PROMPT_TOKENS = "ai.usage.promptTokens"; const AI_USAGE_COMPLETION_TOKENS = "ai.usage.completionTokens"; const AI_USAGE_CACHED_INPUT_TOKENS = "ai.usage.cachedInputTokens"; -const AI_USAGE_CACHE_CREATION_INPUT_TOKENS = "ai.usage.cacheCreationInputTokens"; +const AI_USAGE_CACHE_CREATION_INPUT_TOKENS = + "ai.usage.cacheCreationInputTokens"; const AI_USAGE_CACHE_READ_INPUT_TOKENS = "ai.usage.cacheReadInputTokens"; const AI_MODEL_PROVIDER = "ai.model.provider"; const AI_PROMPT_TOOLS = "ai.prompt.tools"; @@ -371,7 +372,9 @@ const calculateTotalTokens = (attributes: Record): void => { } }; -const transformCacheCreationInputTokens = (attributes: Record): void => { +const transformCacheCreationInputTokens = ( + attributes: Record, +): void => { // Transform ai.usage.cacheCreationInputTokens to gen_ai.usage.cache_creation_input_tokens if (AI_USAGE_CACHE_CREATION_INPUT_TOKENS in attributes) { attributes[SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS] = @@ -380,7 +383,9 @@ const transformCacheCreationInputTokens = (attributes: Record): voi } }; -const transformCacheReadInputTokens = (attributes: Record): void => { +const transformCacheReadInputTokens = ( + attributes: Record, +): void => { // Transform ai.usage.cacheReadInputTokens to gen_ai.usage.cache_read_input_tokens if (AI_USAGE_CACHE_READ_INPUT_TOKENS in attributes) { attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS] = diff --git a/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts b/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts index 862c372e..34adc7c7 100644 --- a/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts +++ b/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts @@ -953,7 +953,10 @@ describe("AI SDK Transformations", () => { attributes[SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS], 1024, ); - assert.strictEqual(attributes["ai.usage.cacheCreationInputTokens"], undefined); + assert.strictEqual( + attributes["ai.usage.cacheCreationInputTokens"], + undefined, + ); assert.strictEqual(attributes.someOtherAttr, "value"); }); @@ -969,7 +972,10 @@ describe("AI SDK Transformations", () => { attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], 512, ); - assert.strictEqual(attributes["ai.usage.cacheReadInputTokens"], undefined); + assert.strictEqual( + attributes["ai.usage.cacheReadInputTokens"], + undefined, + ); assert.strictEqual(attributes.someOtherAttr, "value"); }); @@ -1007,11 +1013,26 @@ describe("AI SDK Transformations", () => { attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], 512, ); - assert.strictEqual(attributes[SpanAttributes.LLM_USAGE_INPUT_TOKENS], 2048); - assert.strictEqual(attributes[SpanAttributes.LLM_USAGE_OUTPUT_TOKENS], 100); - assert.strictEqual(attributes[SpanAttributes.LLM_USAGE_TOTAL_TOKENS], 2148); - assert.strictEqual(attributes["ai.usage.cacheCreationInputTokens"], undefined); - assert.strictEqual(attributes["ai.usage.cacheReadInputTokens"], undefined); + assert.strictEqual( + attributes[SpanAttributes.LLM_USAGE_INPUT_TOKENS], + 2048, + ); + assert.strictEqual( + attributes[SpanAttributes.LLM_USAGE_OUTPUT_TOKENS], + 100, + ); + assert.strictEqual( + attributes[SpanAttributes.LLM_USAGE_TOTAL_TOKENS], + 2148, + ); + assert.strictEqual( + attributes["ai.usage.cacheCreationInputTokens"], + undefined, + ); + assert.strictEqual( + attributes["ai.usage.cacheReadInputTokens"], + undefined, + ); }); it("should prefer cacheReadInputTokens over cachedInputTokens when both present", () => { @@ -1029,7 +1050,10 @@ describe("AI SDK Transformations", () => { attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], 256, ); - assert.strictEqual(attributes["ai.usage.cacheReadInputTokens"], undefined); + assert.strictEqual( + attributes["ai.usage.cacheReadInputTokens"], + undefined, + ); assert.strictEqual(attributes["ai.usage.cachedInputTokens"], undefined); }); @@ -1079,7 +1103,10 @@ describe("AI SDK Transformations", () => { transformLLMSpans(attributes); // Should preserve input tokens and add total tokens - assert.strictEqual(attributes[SpanAttributes.LLM_USAGE_INPUT_TOKENS], 100); + assert.strictEqual( + attributes[SpanAttributes.LLM_USAGE_INPUT_TOKENS], + 100, + ); assert.strictEqual(attributes.someOtherAttr, "value"); assert.strictEqual( attributes[SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS], @@ -1128,8 +1155,14 @@ describe("AI SDK Transformations", () => { assert.strictEqual(attributes[SpanAttributes.LLM_SYSTEM], "Anthropic"); // Check original attributes are removed - assert.strictEqual(attributes["ai.usage.cacheCreationInputTokens"], undefined); - assert.strictEqual(attributes["ai.usage.cacheReadInputTokens"], undefined); + assert.strictEqual( + attributes["ai.usage.cacheCreationInputTokens"], + undefined, + ); + assert.strictEqual( + attributes["ai.usage.cacheReadInputTokens"], + undefined, + ); assert.strictEqual(attributes["ai.response.text"], undefined); assert.strictEqual(attributes["ai.model.provider"], undefined); assert.strictEqual(attributes.someOtherAttr, "value"); From 7e550f0af529b9ba3b3d4aea7ec92a69934c2ba0 Mon Sep 17 00:00:00 2001 From: Gal Kleinman Date: Mon, 1 Dec 2025 14:48:24 +0200 Subject: [PATCH 11/17] remove comments --- .../src/lib/tracing/ai-sdk-transformations.ts | 4 ---- .../traceloop-sdk/test/ai-sdk-integration.test.ts | 13 +------------ .../test/ai-sdk-transformations.test.ts | 7 ------- 3 files changed, 1 insertion(+), 23 deletions(-) diff --git a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts index 836928cc..d3b5c5a6 100644 --- a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts +++ b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts @@ -375,7 +375,6 @@ const calculateTotalTokens = (attributes: Record): void => { const transformCacheCreationInputTokens = ( attributes: Record, ): void => { - // Transform ai.usage.cacheCreationInputTokens to gen_ai.usage.cache_creation_input_tokens if (AI_USAGE_CACHE_CREATION_INPUT_TOKENS in attributes) { attributes[SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS] = attributes[AI_USAGE_CACHE_CREATION_INPUT_TOKENS]; @@ -386,7 +385,6 @@ const transformCacheCreationInputTokens = ( const transformCacheReadInputTokens = ( attributes: Record, ): void => { - // Transform ai.usage.cacheReadInputTokens to gen_ai.usage.cache_read_input_tokens if (AI_USAGE_CACHE_READ_INPUT_TOKENS in attributes) { attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS] = attributes[AI_USAGE_CACHE_READ_INPUT_TOKENS]; @@ -395,8 +393,6 @@ const transformCacheReadInputTokens = ( }; const transformCachedInputTokens = (attributes: Record): void => { - // Transform ai.usage.cachedInputTokens to gen_ai.usage.cache_read_input_tokens - // This is used by OpenAI provider if (AI_USAGE_CACHED_INPUT_TOKENS in attributes) { attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS] = attributes[AI_USAGE_CACHED_INPUT_TOKENS]; diff --git a/packages/traceloop-sdk/test/ai-sdk-integration.test.ts b/packages/traceloop-sdk/test/ai-sdk-integration.test.ts index ede752d1..7dd4225e 100644 --- a/packages/traceloop-sdk/test/ai-sdk-integration.test.ts +++ b/packages/traceloop-sdk/test/ai-sdk-integration.test.ts @@ -271,9 +271,7 @@ describe("Test AI SDK Integration with Recording", function () { }); it("should capture and transform cache tokens from OpenAI with prompt caching", async function () { - this.timeout(30000); // Increase timeout for two API calls - // Create a very long system message to trigger OpenAI's prompt caching - // OpenAI caches prompts > 1024 tokens. We'll create a much longer one to ensure caching. + this.timeout(30000); const basePrompt = "You are an expert AI assistant with comprehensive knowledge across numerous domains. " + "Your responses should be accurate, detailed, and thoughtful. " + @@ -317,10 +315,8 @@ describe("Test AI SDK Integration with Recording", function () { "- Connect philosophical concepts to real-world scenarios\n" + "\n"; - // Repeat to ensure we're well over 1024 tokens (aiming for ~3000+ tokens) const longSystemPrompt = basePrompt.repeat(30); - // First call - creates cache const result1 = await traceloop.withWorkflow( { name: "test_cache_creation" }, async () => { @@ -346,7 +342,6 @@ describe("Test AI SDK Integration with Recording", function () { assert.ok(firstCallSpan.attributes[SpanAttributes.LLM_USAGE_INPUT_TOKENS]); assert.ok(firstCallSpan.attributes[SpanAttributes.LLM_USAGE_OUTPUT_TOKENS]); - // Verify no AI SDK cache attributes remain (should be transformed) assert.strictEqual( firstCallSpan.attributes["ai.usage.cachedInputTokens"], undefined, @@ -360,7 +355,6 @@ describe("Test AI SDK Integration with Recording", function () { undefined, ); - // Check for cache creation tokens if OpenAI provided them if ( firstCallSpan.attributes[ SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS @@ -376,10 +370,8 @@ describe("Test AI SDK Integration with Recording", function () { ); } - // Reset exporter for second call memoryExporter.reset(); - // Second call with same system prompt - should use cache const result2 = await traceloop.withWorkflow( { name: "test_cache_read" }, async () => { @@ -407,7 +399,6 @@ describe("Test AI SDK Integration with Recording", function () { secondCallSpan.attributes[SpanAttributes.LLM_USAGE_OUTPUT_TOKENS], ); - // Verify no AI SDK cache attributes remain (should be transformed) assert.strictEqual( secondCallSpan.attributes["ai.usage.cachedInputTokens"], undefined, @@ -421,7 +412,6 @@ describe("Test AI SDK Integration with Recording", function () { undefined, ); - // Check for cache read tokens if OpenAI provided them if ( secondCallSpan.attributes[ SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS @@ -436,7 +426,6 @@ describe("Test AI SDK Integration with Recording", function () { cacheReadTokens > 0, "Cache read tokens should be > 0 when cache is used", ); - // With our test recording, we should see 6900 cached tokens on the second call assert.strictEqual( cacheReadTokens, 6900, diff --git a/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts b/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts index 34adc7c7..b167e27f 100644 --- a/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts +++ b/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts @@ -1043,9 +1043,6 @@ describe("AI SDK Transformations", () => { transformLLMSpans(attributes); - // Since transformCacheReadInputTokens runs before transformCachedInputTokens, - // and cachedInputTokens also writes to CACHE_READ_INPUT_TOKENS, - // the final value should be from cachedInputTokens (last write wins) assert.strictEqual( attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], 256, @@ -1102,7 +1099,6 @@ describe("AI SDK Transformations", () => { transformLLMSpans(attributes); - // Should preserve input tokens and add total tokens assert.strictEqual( attributes[SpanAttributes.LLM_USAGE_INPUT_TOKENS], 100, @@ -1134,7 +1130,6 @@ describe("AI SDK Transformations", () => { transformLLMSpans(attributes); - // Check cache token transformations assert.strictEqual( attributes[SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS], 1024, @@ -1144,7 +1139,6 @@ describe("AI SDK Transformations", () => { 512, ); - // Check other transformations still work assert.strictEqual( attributes[`${SpanAttributes.LLM_COMPLETIONS}.0.content`], "Hello!", @@ -1154,7 +1148,6 @@ describe("AI SDK Transformations", () => { assert.strictEqual(attributes[SpanAttributes.LLM_USAGE_TOTAL_TOKENS], 15); assert.strictEqual(attributes[SpanAttributes.LLM_SYSTEM], "Anthropic"); - // Check original attributes are removed assert.strictEqual( attributes["ai.usage.cacheCreationInputTokens"], undefined, From 6af240f805fb8df22486c035bd94602f626be690 Mon Sep 17 00:00:00 2001 From: Gal Kleinman Date: Mon, 1 Dec 2025 14:55:27 +0200 Subject: [PATCH 12/17] chore: remove backup recording file --- .../recording.har.backup | 330 ------------------ 1 file changed, 330 deletions(-) delete mode 100644 packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har.backup diff --git a/packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har.backup b/packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har.backup deleted file mode 100644 index 4ef8116d..00000000 --- a/packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har.backup +++ /dev/null @@ -1,330 +0,0 @@ -{ - "log": { - "_recordingName": "Test AI SDK Integration with Recording/should capture and transform cache tokens from OpenAI with prompt caching", - "creator": { - "comment": "persister:fs", - "name": "Polly.JS", - "version": "6.0.6" - }, - "entries": [ - { - "_id": "cf7f90bb36290d330e2420b84e75276a", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 41686, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json" - } - ], - "headersSize": 165, - "httpVersion": "HTTP/1.1", - "method": "POST", - "postData": { - "mimeType": "application/json", - "params": [], - "text": "{\"model\":\"gpt-4o-mini\",\"input\":[{\"role\":\"system\",\"content\":\"You are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\n\"},{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is 2+2?\"}]}]}" - }, - "queryString": [], - "url": "https://api.openai.com/v1/responses" - }, - "response": { - "bodySize": 1616, - "content": { - "mimeType": "application/json", - "size": 1616, - "text": "{\n \"id\": \"resp_0a534b52742277ed00692c7a8878a081908fb788b76939a0d9\",\n \"object\": \"response\",\n \"created_at\": 1764522632,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"msg_0a534b52742277ed00692c7a890b508190ae3684561b277ce7\",\n \"type\": \"message\",\n \"status\": \"completed\",\n \"content\": [\n {\n \"type\": \"output_text\",\n \"annotations\": [],\n \"logprobs\": [],\n \"text\": \"The calculation for \\\\( 2 + 2 \\\\) is straightforward:\\n\\n1. Start with the number 2.\\n2. Add another 2 to it.\\n\\nSo, \\\\( 2 + 2 = 4 \\\\).\\n\\nThus, the answer is \\\\( 4 \\\\).\"\n }\n ],\n \"role\": \"assistant\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 6948,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 56,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 7004\n },\n \"user\": null,\n \"metadata\": {}\n}" - }, - "cookies": [ - { - "domain": ".api.openai.com", - "httpOnly": true, - "name": "_cfuvid", - "path": "/", - "sameSite": "None", - "secure": true, - "value": "yqKXWbeYeXWTtpDEJmTmus2JY6WPdRQFXHw_30i5T.s-1764522634641-0.0.1.1-604800000" - } - ], - "headers": [ - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=86400" - }, - { - "name": "cf-cache-status", - "value": "DYNAMIC" - }, - { - "name": "cf-ray", - "value": "9a6bf57448ffc233-TLV" - }, - { - "name": "connection", - "value": "keep-alive" - }, - { - "name": "content-encoding", - "value": "br" - }, - { - "name": "content-type", - "value": "application/json" - }, - { - "name": "date", - "value": "Sun, 30 Nov 2025 17:10:34 GMT" - }, - { - "name": "openai-organization", - "value": "traceloop" - }, - { - "name": "openai-processing-ms", - "value": "2100" - }, - { - "name": "openai-project", - "value": "proj_tzz1TbPPOXaf6j9tEkVUBIAa" - }, - { - "name": "openai-version", - "value": "2020-10-01" - }, - { - "name": "server", - "value": "cloudflare" - }, - { - "name": "set-cookie", - "value": "_cfuvid=yqKXWbeYeXWTtpDEJmTmus2JY6WPdRQFXHw_30i5T.s-1764522634641-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" - }, - { - "name": "strict-transport-security", - "value": "max-age=31536000; includeSubDomains; preload" - }, - { - "name": "transfer-encoding", - "value": "chunked" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "x-envoy-upstream-service-time", - "value": "2100" - }, - { - "name": "x-ratelimit-limit-requests", - "value": "30000" - }, - { - "name": "x-ratelimit-limit-tokens", - "value": "150000000" - }, - { - "name": "x-ratelimit-remaining-requests", - "value": "29999" - }, - { - "name": "x-ratelimit-remaining-tokens", - "value": "149993032" - }, - { - "name": "x-ratelimit-reset-requests", - "value": "2ms" - }, - { - "name": "x-ratelimit-reset-tokens", - "value": "2ms" - }, - { - "name": "x-request-id", - "value": "req_a4b97209424044bead46928a4fa591c3" - } - ], - "headersSize": 959, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2025-11-30T17:10:32.194Z", - "time": 2337, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 2337 - } - }, - { - "_id": "4069f00d1697d38054853f23931efe8a", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 41686, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json" - } - ], - "headersSize": 165, - "httpVersion": "HTTP/1.1", - "method": "POST", - "postData": { - "mimeType": "application/json", - "params": [], - "text": "{\"model\":\"gpt-4o-mini\",\"input\":[{\"role\":\"system\",\"content\":\"You are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\n\"},{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is 3+3?\"}]}]}" - }, - "queryString": [], - "url": "https://api.openai.com/v1/responses" - }, - "response": { - "bodySize": 1644, - "content": { - "mimeType": "application/json", - "size": 1644, - "text": "{\n \"id\": \"resp_0775ba987997a58000692c7a8aceac8197a68c4aae364526ab\",\n \"object\": \"response\",\n \"created_at\": 1764522634,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"msg_0775ba987997a58000692c7a8b367c8197a338b5a959158e27\",\n \"type\": \"message\",\n \"status\": \"completed\",\n \"content\": [\n {\n \"type\": \"output_text\",\n \"annotations\": [],\n \"logprobs\": [],\n \"text\": \"The calculation for \\\\( 3 + 3 \\\\) is straightforward:\\n\\n1. Start with the first number: \\\\( 3 \\\\).\\n2. Add the second number: \\\\( 3 \\\\).\\n\\nSo, \\\\( 3 + 3 = 6 \\\\).\\n\\nThus, the answer is \\\\( 6 \\\\).\"\n }\n ],\n \"role\": \"assistant\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 6948,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 63,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 7011\n },\n \"user\": null,\n \"metadata\": {}\n}" - }, - "cookies": [ - { - "domain": ".api.openai.com", - "httpOnly": true, - "name": "_cfuvid", - "path": "/", - "sameSite": "None", - "secure": true, - "value": "dUbEiJerUHWE5mtiJJ0KSdD0jj08TkWiqIVfF53PT.8-1764522637037-0.0.1.1-604800000" - } - ], - "headers": [ - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=86400" - }, - { - "name": "cf-cache-status", - "value": "DYNAMIC" - }, - { - "name": "cf-ray", - "value": "9a6bf582ceb3c233-TLV" - }, - { - "name": "connection", - "value": "keep-alive" - }, - { - "name": "content-encoding", - "value": "br" - }, - { - "name": "content-type", - "value": "application/json" - }, - { - "name": "date", - "value": "Sun, 30 Nov 2025 17:10:37 GMT" - }, - { - "name": "openai-organization", - "value": "traceloop" - }, - { - "name": "openai-processing-ms", - "value": "2159" - }, - { - "name": "openai-project", - "value": "proj_tzz1TbPPOXaf6j9tEkVUBIAa" - }, - { - "name": "openai-version", - "value": "2020-10-01" - }, - { - "name": "server", - "value": "cloudflare" - }, - { - "name": "set-cookie", - "value": "_cfuvid=dUbEiJerUHWE5mtiJJ0KSdD0jj08TkWiqIVfF53PT.8-1764522637037-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" - }, - { - "name": "strict-transport-security", - "value": "max-age=31536000; includeSubDomains; preload" - }, - { - "name": "transfer-encoding", - "value": "chunked" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "x-envoy-upstream-service-time", - "value": "2161" - }, - { - "name": "x-ratelimit-limit-requests", - "value": "30000" - }, - { - "name": "x-ratelimit-limit-tokens", - "value": "150000000" - }, - { - "name": "x-ratelimit-remaining-requests", - "value": "29999" - }, - { - "name": "x-ratelimit-remaining-tokens", - "value": "149993032" - }, - { - "name": "x-ratelimit-reset-requests", - "value": "2ms" - }, - { - "name": "x-ratelimit-reset-tokens", - "value": "2ms" - }, - { - "name": "x-request-id", - "value": "req_42b1b4a48b7a4effbb5f31c696989285" - } - ], - "headersSize": 959, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2025-11-30T17:10:34.548Z", - "time": 2479, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 2479 - } - } - ], - "pages": [], - "version": "1.2" - } -} From 80ea668f49674b34244ebd451beb8e35c79bd3b4 Mon Sep 17 00:00:00 2001 From: Gal Kleinman Date: Mon, 1 Dec 2025 14:59:50 +0200 Subject: [PATCH 13/17] chore: remove remaining comments from ai-sdk-transformations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../src/lib/tracing/ai-sdk-transformations.ts | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts index d3b5c5a6..3e74cd33 100644 --- a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts +++ b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts @@ -454,14 +454,9 @@ const transformTelemetryMetadata = ( } } - // Set agent attributes if detected and this is the root AI span if (agentName) { - // Set agent name on all spans for context attributes[SpanAttributes.GEN_AI_AGENT_NAME] = agentName; - // Only set span kind to "agent" for top-level AI spans - // Note: At this point, span names have already been transformed to use agent name, - // so we check if spanName matches the agent name OR any of the original top-level span names const topLevelSpanNames = [ AI_GENERATE_TEXT, AI_STREAM_TEXT, @@ -479,13 +474,9 @@ const transformTelemetryMetadata = ( } } - // Remove original ai.telemetry.metadata.* attributes keysToDelete.forEach((key) => { delete attributes[key]; }); - - // Note: Context setting for child span inheritance should be done before span creation, - // not during transformation. Use `withTelemetryMetadataContext` function for context propagation. }; export const transformLLMSpans = ( @@ -533,7 +524,6 @@ const shouldHandleSpan = (span: ReadableSpan): boolean => { return span.instrumentationScope?.name === "ai"; }; -// Top-level AI SDK spans that can have agent names const TOP_LEVEL_AI_SPANS = [ AI_GENERATE_TEXT, AI_STREAM_TEXT, @@ -546,19 +536,14 @@ export const transformAiSdkSpanNames = (span: Span): void => { span.updateName(`${span.attributes["ai.toolCall.name"] as string}.tool`); } if (span.name in HANDLED_SPAN_NAMES) { - // Check if this is a top-level AI span with agent metadata const agentName = span.attributes[`${AI_TELEMETRY_METADATA_PREFIX}agent`]; const isTopLevelSpan = TOP_LEVEL_AI_SPANS.includes(span.name); if (agentName && typeof agentName === "string" && isTopLevelSpan) { - // Use agent name for top-level AI spans when agent metadata is provided span.updateName(agentName); } else if (!isTopLevelSpan) { - // Only transform child spans (text.generate, object.generate, etc.) - // Keep top-level spans with their original names when no agent metadata span.updateName(HANDLED_SPAN_NAMES[span.name]); } - // else: keep the original span name for top-level spans without agent metadata } }; From 15c7824bd8d2cf719049def0f4243acea225fbbd Mon Sep 17 00:00:00 2001 From: Gal Kleinman Date: Mon, 1 Dec 2025 15:08:36 +0200 Subject: [PATCH 14/17] refactor: extract agent name extraction to helper function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add getAgentNameFromAttributes helper to avoid code duplication and improve readability when extracting agent names from AI SDK telemetry metadata. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../src/lib/tracing/ai-sdk-transformations.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts index 3e74cd33..4b215364 100644 --- a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts +++ b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts @@ -67,6 +67,13 @@ const VENDOR_MAPPING: Record = { openrouter: "OpenRouter", }; +const getAgentNameFromAttributes = ( + attributes: Record, +): string | null => { + const agentAttr = attributes[`${AI_TELEMETRY_METADATA_PREFIX}agent`]; + return agentAttr && typeof agentAttr === "string" ? agentAttr : null; +}; + const transformResponseText = (attributes: Record): void => { if (AI_RESPONSE_TEXT in attributes) { attributes[`${SpanAttributes.LLM_COMPLETIONS}.0.content`] = @@ -536,10 +543,10 @@ export const transformAiSdkSpanNames = (span: Span): void => { span.updateName(`${span.attributes["ai.toolCall.name"] as string}.tool`); } if (span.name in HANDLED_SPAN_NAMES) { - const agentName = span.attributes[`${AI_TELEMETRY_METADATA_PREFIX}agent`]; + const agentName = getAgentNameFromAttributes(span.attributes); const isTopLevelSpan = TOP_LEVEL_AI_SPANS.includes(span.name); - if (agentName && typeof agentName === "string" && isTopLevelSpan) { + if (agentName && isTopLevelSpan) { span.updateName(agentName); } else if (!isTopLevelSpan) { span.updateName(HANDLED_SPAN_NAMES[span.name]); From a8a1618b7b8402b6bcae33bae45637af5639825b Mon Sep 17 00:00:00 2001 From: Gal Kleinman Date: Mon, 1 Dec 2025 16:13:06 +0200 Subject: [PATCH 15/17] refactor: use helper function in both places for agent extraction Previously, both transformTelemetryMetadata and transformAiSdkSpanNames had their own logic to extract agent name from ai.telemetry.metadata.agent attributes. This consolidates both to use the shared getAgentNameFromAttributes helper, eliminating code duplication. Addresses PR feedback about existing agent extraction code. --- .../src/lib/tracing/ai-sdk-transformations.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts index 4b215364..ae3238a8 100644 --- a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts +++ b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts @@ -433,7 +433,8 @@ const transformTelemetryMetadata = ( ): void => { const metadataAttributes: Record = {}; const keysToDelete: string[] = []; - let agentName: string | null = null; + // Use the helper function to extract agent name + const agentName = getAgentNameFromAttributes(attributes); // Find all ai.telemetry.metadata.* attributes for (const [key, value] of Object.entries(attributes)) { @@ -448,11 +449,6 @@ const transformTelemetryMetadata = ( const stringValue = typeof value === "string" ? value : String(value); metadataAttributes[metadataKey] = stringValue; - // Check for agent-specific metadata - if (metadataKey === "agent") { - agentName = stringValue; - } - // Also set as traceloop association property attribute attributes[ `${SpanAttributes.TRACELOOP_ASSOCIATION_PROPERTIES}.${metadataKey}` From 7cfbcbd9129b197582710704d8157cb63f6b8bd0 Mon Sep 17 00:00:00 2001 From: Gal Kleinman Date: Mon, 1 Dec 2025 16:23:03 +0200 Subject: [PATCH 16/17] fix: remove ambiguous cachedInputTokens transformation The cachedInputTokens field from Vercel AI SDK is ambiguous - it includes both tokens read from cache AND tokens written during cache creation. Mapping this to gen_ai.usage.cache_read_input_tokens is semantically incorrect, as cache_read_input_tokens should only represent tokens retrieved from an existing cache entry. We now only support the precise provider-specific fields: - cacheReadInputTokens (tokens read from cache) - cacheCreationInputTokens (tokens written when creating cache) This provides accurate, unambiguous cache token metrics. Addresses CodeRabbit PR feedback about semantic accuracy. --- .../src/lib/tracing/ai-sdk-transformations.ts | 10 ------ .../test/ai-sdk-transformations.test.ts | 35 ------------------- 2 files changed, 45 deletions(-) diff --git a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts index ae3238a8..1893106c 100644 --- a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts +++ b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts @@ -32,7 +32,6 @@ const AI_PROMPT_MESSAGES = "ai.prompt.messages"; const AI_PROMPT = "ai.prompt"; const AI_USAGE_PROMPT_TOKENS = "ai.usage.promptTokens"; const AI_USAGE_COMPLETION_TOKENS = "ai.usage.completionTokens"; -const AI_USAGE_CACHED_INPUT_TOKENS = "ai.usage.cachedInputTokens"; const AI_USAGE_CACHE_CREATION_INPUT_TOKENS = "ai.usage.cacheCreationInputTokens"; const AI_USAGE_CACHE_READ_INPUT_TOKENS = "ai.usage.cacheReadInputTokens"; @@ -399,14 +398,6 @@ const transformCacheReadInputTokens = ( } }; -const transformCachedInputTokens = (attributes: Record): void => { - if (AI_USAGE_CACHED_INPUT_TOKENS in attributes) { - attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS] = - attributes[AI_USAGE_CACHED_INPUT_TOKENS]; - delete attributes[AI_USAGE_CACHED_INPUT_TOKENS]; - } -}; - const transformVendor = (attributes: Record): void => { if (AI_MODEL_PROVIDER in attributes) { const vendor = attributes[AI_MODEL_PROVIDER]; @@ -495,7 +486,6 @@ export const transformLLMSpans = ( transformCompletionTokens(attributes); transformCacheCreationInputTokens(attributes); transformCacheReadInputTokens(attributes); - transformCachedInputTokens(attributes); calculateTotalTokens(attributes); transformVendor(attributes); transformTelemetryMetadata(attributes, spanName); diff --git a/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts b/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts index b167e27f..18abacc4 100644 --- a/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts +++ b/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts @@ -979,22 +979,6 @@ describe("AI SDK Transformations", () => { assert.strictEqual(attributes.someOtherAttr, "value"); }); - it("should transform ai.usage.cachedInputTokens to gen_ai.usage.cache_read_input_tokens (OpenAI format)", () => { - const attributes = { - "ai.usage.cachedInputTokens": 256, - someOtherAttr: "value", - }; - - transformLLMSpans(attributes); - - assert.strictEqual( - attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], - 256, - ); - assert.strictEqual(attributes["ai.usage.cachedInputTokens"], undefined); - assert.strictEqual(attributes.someOtherAttr, "value"); - }); - it("should handle multiple cache token attributes together", () => { const attributes = { "ai.usage.cacheCreationInputTokens": 1024, @@ -1035,25 +1019,6 @@ describe("AI SDK Transformations", () => { ); }); - it("should prefer cacheReadInputTokens over cachedInputTokens when both present", () => { - const attributes = { - "ai.usage.cacheReadInputTokens": 512, - "ai.usage.cachedInputTokens": 256, - }; - - transformLLMSpans(attributes); - - assert.strictEqual( - attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], - 256, - ); - assert.strictEqual( - attributes["ai.usage.cacheReadInputTokens"], - undefined, - ); - assert.strictEqual(attributes["ai.usage.cachedInputTokens"], undefined); - }); - it("should handle zero cache token values", () => { const attributes = { "ai.usage.cacheCreationInputTokens": 0, From ee3b6bc4cd80b3c3be536062fc1abd2ea2f1911a Mon Sep 17 00:00:00 2001 From: Gal Kleinman Date: Mon, 1 Dec 2025 17:35:53 +0200 Subject: [PATCH 17/17] remove caching related code --- .../src/SemanticAttributes.ts | 3 - .../recording.har | 330 ------------------ .../src/lib/tracing/ai-sdk-transformations.ts | 25 -- .../test/ai-sdk-integration.test.ts | 164 --------- .../test/ai-sdk-transformations.test.ts | 187 ---------- 5 files changed, 709 deletions(-) delete mode 100644 packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har diff --git a/packages/ai-semantic-conventions/src/SemanticAttributes.ts b/packages/ai-semantic-conventions/src/SemanticAttributes.ts index c089ce4f..2856c3ca 100644 --- a/packages/ai-semantic-conventions/src/SemanticAttributes.ts +++ b/packages/ai-semantic-conventions/src/SemanticAttributes.ts @@ -35,9 +35,6 @@ export const SpanAttributes = { LLM_USAGE_COMPLETION_TOKENS: "gen_ai.usage.completion_tokens", LLM_USAGE_INPUT_TOKENS: ATTR_GEN_AI_USAGE_INPUT_TOKENS, LLM_USAGE_OUTPUT_TOKENS: ATTR_GEN_AI_USAGE_OUTPUT_TOKENS, - LLM_USAGE_CACHE_CREATION_INPUT_TOKENS: - "gen_ai.usage.cache_creation_input_tokens", - LLM_USAGE_CACHE_READ_INPUT_TOKENS: "gen_ai.usage.cache_read_input_tokens", GEN_AI_AGENT_NAME: "gen_ai.agent.name", diff --git a/packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har b/packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har deleted file mode 100644 index 822b6349..00000000 --- a/packages/traceloop-sdk/recordings/Test-AI-SDK-Integration-with-Recording_156038438/should-capture-and-transform-cache-tokens-from-OpenAI-with-prompt-caching_4027203422/recording.har +++ /dev/null @@ -1,330 +0,0 @@ -{ - "log": { - "_recordingName": "Test AI SDK Integration with Recording/should capture and transform cache tokens from OpenAI with prompt caching", - "creator": { - "comment": "persister:fs", - "name": "Polly.JS", - "version": "6.0.6" - }, - "entries": [ - { - "_id": "cf7f90bb36290d330e2420b84e75276a", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 41686, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json" - } - ], - "headersSize": 165, - "httpVersion": "HTTP/1.1", - "method": "POST", - "postData": { - "mimeType": "application/json", - "params": [], - "text": "{\"model\":\"gpt-4o-mini\",\"input\":[{\"role\":\"system\",\"content\":\"You are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\n\"},{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is 2+2?\"}]}]}" - }, - "queryString": [], - "url": "https://api.openai.com/v1/responses" - }, - "response": { - "bodySize": 1616, - "content": { - "mimeType": "application/json", - "size": 1616, - "text": "{\n \"id\": \"resp_0a534b52742277ed00692c7a8878a081908fb788b76939a0d9\",\n \"object\": \"response\",\n \"created_at\": 1764522632,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"msg_0a534b52742277ed00692c7a890b508190ae3684561b277ce7\",\n \"type\": \"message\",\n \"status\": \"completed\",\n \"content\": [\n {\n \"type\": \"output_text\",\n \"annotations\": [],\n \"logprobs\": [],\n \"text\": \"The calculation for \\\\( 2 + 2 \\\\) is straightforward:\\n\\n1. Start with the number 2.\\n2. Add another 2 to it.\\n\\nSo, \\\\( 2 + 2 = 4 \\\\).\\n\\nThus, the answer is \\\\( 4 \\\\).\"\n }\n ],\n \"role\": \"assistant\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 6948,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 56,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 7004\n },\n \"user\": null,\n \"metadata\": {}\n}" - }, - "cookies": [ - { - "domain": ".api.openai.com", - "httpOnly": true, - "name": "_cfuvid", - "path": "/", - "sameSite": "None", - "secure": true, - "value": "yqKXWbeYeXWTtpDEJmTmus2JY6WPdRQFXHw_30i5T.s-1764522634641-0.0.1.1-604800000" - } - ], - "headers": [ - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=86400" - }, - { - "name": "cf-cache-status", - "value": "DYNAMIC" - }, - { - "name": "cf-ray", - "value": "9a6bf57448ffc233-TLV" - }, - { - "name": "connection", - "value": "keep-alive" - }, - { - "name": "content-encoding", - "value": "br" - }, - { - "name": "content-type", - "value": "application/json" - }, - { - "name": "date", - "value": "Sun, 30 Nov 2025 17:10:34 GMT" - }, - { - "name": "openai-organization", - "value": "traceloop" - }, - { - "name": "openai-processing-ms", - "value": "2100" - }, - { - "name": "openai-project", - "value": "proj_tzz1TbPPOXaf6j9tEkVUBIAa" - }, - { - "name": "openai-version", - "value": "2020-10-01" - }, - { - "name": "server", - "value": "cloudflare" - }, - { - "name": "set-cookie", - "value": "_cfuvid=yqKXWbeYeXWTtpDEJmTmus2JY6WPdRQFXHw_30i5T.s-1764522634641-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" - }, - { - "name": "strict-transport-security", - "value": "max-age=31536000; includeSubDomains; preload" - }, - { - "name": "transfer-encoding", - "value": "chunked" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "x-envoy-upstream-service-time", - "value": "2100" - }, - { - "name": "x-ratelimit-limit-requests", - "value": "30000" - }, - { - "name": "x-ratelimit-limit-tokens", - "value": "150000000" - }, - { - "name": "x-ratelimit-remaining-requests", - "value": "29999" - }, - { - "name": "x-ratelimit-remaining-tokens", - "value": "149993032" - }, - { - "name": "x-ratelimit-reset-requests", - "value": "2ms" - }, - { - "name": "x-ratelimit-reset-tokens", - "value": "2ms" - }, - { - "name": "x-request-id", - "value": "req_a4b97209424044bead46928a4fa591c3" - } - ], - "headersSize": 959, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2025-11-30T17:10:32.194Z", - "time": 2337, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 2337 - } - }, - { - "_id": "4069f00d1697d38054853f23931efe8a", - "_order": 0, - "cache": {}, - "request": { - "bodySize": 41686, - "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json" - } - ], - "headersSize": 165, - "httpVersion": "HTTP/1.1", - "method": "POST", - "postData": { - "mimeType": "application/json", - "params": [], - "text": "{\"model\":\"gpt-4o-mini\",\"input\":[{\"role\":\"system\",\"content\":\"You are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\nYou are an expert AI assistant with comprehensive knowledge across numerous domains. Your responses should be accurate, detailed, and thoughtful. Always consider multiple perspectives and provide thorough explanations. \\n\\n## Guidelines for Different Domains:\\n\\n### Mathematics\\n- Show all steps in your calculations\\n- Explain the reasoning behind each step\\n- Provide examples when helpful\\n- Double-check your arithmetic\\n\\n### Science\\n- Reference fundamental scientific principles\\n- Cite recent discoveries when relevant\\n- Explain complex concepts in accessible terms\\n- Distinguish between established facts and theories\\n\\n### History\\n- Consider broader historical context\\n- Present multiple viewpoints\\n- Acknowledge complexity and nuance\\n- Connect historical events to modern implications\\n\\n### Literature\\n- Analyze themes, symbolism, and motifs\\n- Examine character development\\n- Discuss literary devices and techniques\\n- Place works in their cultural and historical context\\n\\n### Technology\\n- Explain both practical applications and underlying concepts\\n- Discuss benefits and potential drawbacks\\n- Consider ethical implications\\n- Keep up with current developments\\n\\n### Philosophy\\n- Explore different schools of thought\\n- Present arguments fairly and objectively\\n- Examine ethical implications\\n- Connect philosophical concepts to real-world scenarios\\n\\n\"},{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is 3+3?\"}]}]}" - }, - "queryString": [], - "url": "https://api.openai.com/v1/responses" - }, - "response": { - "bodySize": 1644, - "content": { - "mimeType": "application/json", - "size": 1644, - "text": "{\n \"id\": \"resp_0775ba987997a58000692c7a8aceac8197a68c4aae364526ab\",\n \"object\": \"response\",\n \"created_at\": 1764522634,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"error\": null,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"msg_0775ba987997a58000692c7a8b367c8197a338b5a959158e27\",\n \"type\": \"message\",\n \"status\": \"completed\",\n \"content\": [\n {\n \"type\": \"output_text\",\n \"annotations\": [],\n \"logprobs\": [],\n \"text\": \"The calculation for \\\\( 3 + 3 \\\\) is straightforward:\\n\\n1. Start with the first number: \\\\( 3 \\\\).\\n2. Add the second number: \\\\( 3 \\\\).\\n\\nSo, \\\\( 3 + 3 = 6 \\\\).\\n\\nThus, the answer is \\\\( 6 \\\\).\"\n }\n ],\n \"role\": \"assistant\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 6948,\n \"input_tokens_details\": {\n \"cached_tokens\": 6900\n },\n \"output_tokens\": 63,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 7011\n },\n \"user\": null,\n \"metadata\": {}\n}" - }, - "cookies": [ - { - "domain": ".api.openai.com", - "httpOnly": true, - "name": "_cfuvid", - "path": "/", - "sameSite": "None", - "secure": true, - "value": "dUbEiJerUHWE5mtiJJ0KSdD0jj08TkWiqIVfF53PT.8-1764522637037-0.0.1.1-604800000" - } - ], - "headers": [ - { - "name": "alt-svc", - "value": "h3=\":443\"; ma=86400" - }, - { - "name": "cf-cache-status", - "value": "DYNAMIC" - }, - { - "name": "cf-ray", - "value": "9a6bf582ceb3c233-TLV" - }, - { - "name": "connection", - "value": "keep-alive" - }, - { - "name": "content-encoding", - "value": "br" - }, - { - "name": "content-type", - "value": "application/json" - }, - { - "name": "date", - "value": "Sun, 30 Nov 2025 17:10:37 GMT" - }, - { - "name": "openai-organization", - "value": "traceloop" - }, - { - "name": "openai-processing-ms", - "value": "2159" - }, - { - "name": "openai-project", - "value": "proj_tzz1TbPPOXaf6j9tEkVUBIAa" - }, - { - "name": "openai-version", - "value": "2020-10-01" - }, - { - "name": "server", - "value": "cloudflare" - }, - { - "name": "set-cookie", - "value": "_cfuvid=dUbEiJerUHWE5mtiJJ0KSdD0jj08TkWiqIVfF53PT.8-1764522637037-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None" - }, - { - "name": "strict-transport-security", - "value": "max-age=31536000; includeSubDomains; preload" - }, - { - "name": "transfer-encoding", - "value": "chunked" - }, - { - "name": "x-content-type-options", - "value": "nosniff" - }, - { - "name": "x-envoy-upstream-service-time", - "value": "2161" - }, - { - "name": "x-ratelimit-limit-requests", - "value": "30000" - }, - { - "name": "x-ratelimit-limit-tokens", - "value": "150000000" - }, - { - "name": "x-ratelimit-remaining-requests", - "value": "29999" - }, - { - "name": "x-ratelimit-remaining-tokens", - "value": "149993032" - }, - { - "name": "x-ratelimit-reset-requests", - "value": "2ms" - }, - { - "name": "x-ratelimit-reset-tokens", - "value": "2ms" - }, - { - "name": "x-request-id", - "value": "req_42b1b4a48b7a4effbb5f31c696989285" - } - ], - "headersSize": 959, - "httpVersion": "HTTP/1.1", - "redirectURL": "", - "status": 200, - "statusText": "OK" - }, - "startedDateTime": "2025-11-30T17:10:34.548Z", - "time": 2479, - "timings": { - "blocked": -1, - "connect": -1, - "dns": -1, - "receive": 0, - "send": 0, - "ssl": -1, - "wait": 2479 - } - } - ], - "pages": [], - "version": "1.2" - } -} diff --git a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts index 1893106c..a20f7650 100644 --- a/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts +++ b/packages/traceloop-sdk/src/lib/tracing/ai-sdk-transformations.ts @@ -32,9 +32,6 @@ const AI_PROMPT_MESSAGES = "ai.prompt.messages"; const AI_PROMPT = "ai.prompt"; const AI_USAGE_PROMPT_TOKENS = "ai.usage.promptTokens"; const AI_USAGE_COMPLETION_TOKENS = "ai.usage.completionTokens"; -const AI_USAGE_CACHE_CREATION_INPUT_TOKENS = - "ai.usage.cacheCreationInputTokens"; -const AI_USAGE_CACHE_READ_INPUT_TOKENS = "ai.usage.cacheReadInputTokens"; const AI_MODEL_PROVIDER = "ai.model.provider"; const AI_PROMPT_TOOLS = "ai.prompt.tools"; const AI_TELEMETRY_METADATA_PREFIX = "ai.telemetry.metadata."; @@ -378,26 +375,6 @@ const calculateTotalTokens = (attributes: Record): void => { } }; -const transformCacheCreationInputTokens = ( - attributes: Record, -): void => { - if (AI_USAGE_CACHE_CREATION_INPUT_TOKENS in attributes) { - attributes[SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS] = - attributes[AI_USAGE_CACHE_CREATION_INPUT_TOKENS]; - delete attributes[AI_USAGE_CACHE_CREATION_INPUT_TOKENS]; - } -}; - -const transformCacheReadInputTokens = ( - attributes: Record, -): void => { - if (AI_USAGE_CACHE_READ_INPUT_TOKENS in attributes) { - attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS] = - attributes[AI_USAGE_CACHE_READ_INPUT_TOKENS]; - delete attributes[AI_USAGE_CACHE_READ_INPUT_TOKENS]; - } -}; - const transformVendor = (attributes: Record): void => { if (AI_MODEL_PROVIDER in attributes) { const vendor = attributes[AI_MODEL_PROVIDER]; @@ -484,8 +461,6 @@ export const transformLLMSpans = ( transformTools(attributes); transformPromptTokens(attributes); transformCompletionTokens(attributes); - transformCacheCreationInputTokens(attributes); - transformCacheReadInputTokens(attributes); calculateTotalTokens(attributes); transformVendor(attributes); transformTelemetryMetadata(attributes, spanName); diff --git a/packages/traceloop-sdk/test/ai-sdk-integration.test.ts b/packages/traceloop-sdk/test/ai-sdk-integration.test.ts index 7dd4225e..2eb11cc7 100644 --- a/packages/traceloop-sdk/test/ai-sdk-integration.test.ts +++ b/packages/traceloop-sdk/test/ai-sdk-integration.test.ts @@ -269,168 +269,4 @@ describe("Test AI SDK Integration with Recording", function () { assert.ok(outputMessages[0].parts[0].content); assert.ok(typeof outputMessages[0].parts[0].content === "string"); }); - - it("should capture and transform cache tokens from OpenAI with prompt caching", async function () { - this.timeout(30000); - const basePrompt = - "You are an expert AI assistant with comprehensive knowledge across numerous domains. " + - "Your responses should be accurate, detailed, and thoughtful. " + - "Always consider multiple perspectives and provide thorough explanations. " + - "\n\n" + - "## Guidelines for Different Domains:\n\n" + - "### Mathematics\n" + - "- Show all steps in your calculations\n" + - "- Explain the reasoning behind each step\n" + - "- Provide examples when helpful\n" + - "- Double-check your arithmetic\n" + - "\n" + - "### Science\n" + - "- Reference fundamental scientific principles\n" + - "- Cite recent discoveries when relevant\n" + - "- Explain complex concepts in accessible terms\n" + - "- Distinguish between established facts and theories\n" + - "\n" + - "### History\n" + - "- Consider broader historical context\n" + - "- Present multiple viewpoints\n" + - "- Acknowledge complexity and nuance\n" + - "- Connect historical events to modern implications\n" + - "\n" + - "### Literature\n" + - "- Analyze themes, symbolism, and motifs\n" + - "- Examine character development\n" + - "- Discuss literary devices and techniques\n" + - "- Place works in their cultural and historical context\n" + - "\n" + - "### Technology\n" + - "- Explain both practical applications and underlying concepts\n" + - "- Discuss benefits and potential drawbacks\n" + - "- Consider ethical implications\n" + - "- Keep up with current developments\n" + - "\n" + - "### Philosophy\n" + - "- Explore different schools of thought\n" + - "- Present arguments fairly and objectively\n" + - "- Examine ethical implications\n" + - "- Connect philosophical concepts to real-world scenarios\n" + - "\n"; - - const longSystemPrompt = basePrompt.repeat(30); - - const result1 = await traceloop.withWorkflow( - { name: "test_cache_creation" }, - async () => { - return await generateText({ - messages: [ - { role: "system", content: longSystemPrompt }, - { role: "user", content: "What is 2+2?" }, - ], - model: vercel_openai("gpt-4o-mini"), - experimental_telemetry: { isEnabled: true }, - }); - }, - ); - - assert.ok(result1); - assert.ok(result1.text); - - await traceloop.forceFlush(); - const spans1 = memoryExporter.getFinishedSpans(); - const firstCallSpan = spans1.find((span) => span.name === "text.generate"); - - assert.ok(firstCallSpan); - assert.ok(firstCallSpan.attributes[SpanAttributes.LLM_USAGE_INPUT_TOKENS]); - assert.ok(firstCallSpan.attributes[SpanAttributes.LLM_USAGE_OUTPUT_TOKENS]); - - assert.strictEqual( - firstCallSpan.attributes["ai.usage.cachedInputTokens"], - undefined, - ); - assert.strictEqual( - firstCallSpan.attributes["ai.usage.cacheCreationInputTokens"], - undefined, - ); - assert.strictEqual( - firstCallSpan.attributes["ai.usage.cacheReadInputTokens"], - undefined, - ); - - if ( - firstCallSpan.attributes[ - SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS - ] - ) { - assert.ok( - Number( - firstCallSpan.attributes[ - SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS - ], - ) > 0, - "Cache creation tokens should be > 0", - ); - } - - memoryExporter.reset(); - - const result2 = await traceloop.withWorkflow( - { name: "test_cache_read" }, - async () => { - return await generateText({ - messages: [ - { role: "system", content: longSystemPrompt }, - { role: "user", content: "What is 3+3?" }, - ], - model: vercel_openai("gpt-4o-mini"), - experimental_telemetry: { isEnabled: true }, - }); - }, - ); - - assert.ok(result2); - assert.ok(result2.text); - - await traceloop.forceFlush(); - const spans2 = memoryExporter.getFinishedSpans(); - const secondCallSpan = spans2.find((span) => span.name === "text.generate"); - - assert.ok(secondCallSpan); - assert.ok(secondCallSpan.attributes[SpanAttributes.LLM_USAGE_INPUT_TOKENS]); - assert.ok( - secondCallSpan.attributes[SpanAttributes.LLM_USAGE_OUTPUT_TOKENS], - ); - - assert.strictEqual( - secondCallSpan.attributes["ai.usage.cachedInputTokens"], - undefined, - ); - assert.strictEqual( - secondCallSpan.attributes["ai.usage.cacheCreationInputTokens"], - undefined, - ); - assert.strictEqual( - secondCallSpan.attributes["ai.usage.cacheReadInputTokens"], - undefined, - ); - - if ( - secondCallSpan.attributes[ - SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS - ] - ) { - const cacheReadTokens = Number( - secondCallSpan.attributes[ - SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS - ], - ); - assert.ok( - cacheReadTokens > 0, - "Cache read tokens should be > 0 when cache is used", - ); - assert.strictEqual( - cacheReadTokens, - 6900, - "Expected 6900 cache read tokens from recording", - ); - } - }); }); diff --git a/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts b/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts index 18abacc4..af50a7c0 100644 --- a/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts +++ b/packages/traceloop-sdk/test/ai-sdk-transformations.test.ts @@ -940,193 +940,6 @@ describe("AI SDK Transformations", () => { }); }); - describe("transformAiSdkAttributes - cache tokens", () => { - it("should transform ai.usage.cacheCreationInputTokens to gen_ai.usage.cache_creation_input_tokens", () => { - const attributes = { - "ai.usage.cacheCreationInputTokens": 1024, - someOtherAttr: "value", - }; - - transformLLMSpans(attributes); - - assert.strictEqual( - attributes[SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS], - 1024, - ); - assert.strictEqual( - attributes["ai.usage.cacheCreationInputTokens"], - undefined, - ); - assert.strictEqual(attributes.someOtherAttr, "value"); - }); - - it("should transform ai.usage.cacheReadInputTokens to gen_ai.usage.cache_read_input_tokens", () => { - const attributes = { - "ai.usage.cacheReadInputTokens": 512, - someOtherAttr: "value", - }; - - transformLLMSpans(attributes); - - assert.strictEqual( - attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], - 512, - ); - assert.strictEqual( - attributes["ai.usage.cacheReadInputTokens"], - undefined, - ); - assert.strictEqual(attributes.someOtherAttr, "value"); - }); - - it("should handle multiple cache token attributes together", () => { - const attributes = { - "ai.usage.cacheCreationInputTokens": 1024, - "ai.usage.cacheReadInputTokens": 512, - [SpanAttributes.LLM_USAGE_INPUT_TOKENS]: 2048, - [SpanAttributes.LLM_USAGE_OUTPUT_TOKENS]: 100, - }; - - transformLLMSpans(attributes); - - assert.strictEqual( - attributes[SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS], - 1024, - ); - assert.strictEqual( - attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], - 512, - ); - assert.strictEqual( - attributes[SpanAttributes.LLM_USAGE_INPUT_TOKENS], - 2048, - ); - assert.strictEqual( - attributes[SpanAttributes.LLM_USAGE_OUTPUT_TOKENS], - 100, - ); - assert.strictEqual( - attributes[SpanAttributes.LLM_USAGE_TOTAL_TOKENS], - 2148, - ); - assert.strictEqual( - attributes["ai.usage.cacheCreationInputTokens"], - undefined, - ); - assert.strictEqual( - attributes["ai.usage.cacheReadInputTokens"], - undefined, - ); - }); - - it("should handle zero cache token values", () => { - const attributes = { - "ai.usage.cacheCreationInputTokens": 0, - "ai.usage.cacheReadInputTokens": 0, - }; - - transformLLMSpans(attributes); - - assert.strictEqual( - attributes[SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS], - 0, - ); - assert.strictEqual( - attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], - 0, - ); - }); - - it("should handle string cache token values", () => { - const attributes = { - "ai.usage.cacheCreationInputTokens": "1024", - "ai.usage.cacheReadInputTokens": "512", - }; - - transformLLMSpans(attributes); - - assert.strictEqual( - attributes[SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS], - "1024", - ); - assert.strictEqual( - attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], - "512", - ); - }); - - it("should not modify attributes when cache token attributes are not present", () => { - const attributes = { - [SpanAttributes.LLM_USAGE_INPUT_TOKENS]: 100, - someOtherAttr: "value", - }; - const originalAttributes = { ...attributes }; - - transformLLMSpans(attributes); - - assert.strictEqual( - attributes[SpanAttributes.LLM_USAGE_INPUT_TOKENS], - 100, - ); - assert.strictEqual(attributes.someOtherAttr, "value"); - assert.strictEqual( - attributes[SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS], - undefined, - ); - assert.strictEqual( - attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], - undefined, - ); - }); - - it("should work with cache tokens in complete AI SDK response", () => { - const attributes = { - "ai.response.text": "Hello!", - "ai.prompt.messages": JSON.stringify([{ role: "user", content: "Hi" }]), - "ai.usage.promptTokens": 10, - "ai.usage.completionTokens": 5, - "ai.usage.cacheCreationInputTokens": 1024, - "ai.usage.cacheReadInputTokens": 512, - "gen_ai.usage.input_tokens": 10, - "gen_ai.usage.output_tokens": 5, - "ai.model.provider": "anthropic", - someOtherAttr: "value", - }; - - transformLLMSpans(attributes); - - assert.strictEqual( - attributes[SpanAttributes.LLM_USAGE_CACHE_CREATION_INPUT_TOKENS], - 1024, - ); - assert.strictEqual( - attributes[SpanAttributes.LLM_USAGE_CACHE_READ_INPUT_TOKENS], - 512, - ); - - assert.strictEqual( - attributes[`${SpanAttributes.LLM_COMPLETIONS}.0.content`], - "Hello!", - ); - assert.strictEqual(attributes[SpanAttributes.LLM_USAGE_INPUT_TOKENS], 10); - assert.strictEqual(attributes[SpanAttributes.LLM_USAGE_OUTPUT_TOKENS], 5); - assert.strictEqual(attributes[SpanAttributes.LLM_USAGE_TOTAL_TOKENS], 15); - assert.strictEqual(attributes[SpanAttributes.LLM_SYSTEM], "Anthropic"); - - assert.strictEqual( - attributes["ai.usage.cacheCreationInputTokens"], - undefined, - ); - assert.strictEqual( - attributes["ai.usage.cacheReadInputTokens"], - undefined, - ); - assert.strictEqual(attributes["ai.response.text"], undefined); - assert.strictEqual(attributes["ai.model.provider"], undefined); - assert.strictEqual(attributes.someOtherAttr, "value"); - }); - }); - describe("transformAiSdkAttributes - vendor", () => { it("should transform openai.chat provider to OpenAI system", () => { const attributes = {