Skip to content

Commit d01d4b5

Browse files
committed
bail out of type checks
1 parent 990bbab commit d01d4b5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

js/packages/openinference-instrumentation-openai/test/openai.responses.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,8 @@ describe("OpenAIInstrumentation - Responses", () => {
663663
},
664664
],
665665
model: "gpt-4.1",
666+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
667+
// @ts-ignore - Type instantiation is excessively deep with zod helper
666668
text: {
667669
format: zodTextFormat(CalendarEvent, "event"),
668670
},

js/packages/openinference-instrumentation-openai/test/openai.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,6 +1073,8 @@ describe("OpenAIInstrumentation", () => {
10731073
content: "Alice and Bob are going to a science fair on Friday.",
10741074
},
10751075
],
1076+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
1077+
// @ts-ignore - Type instantiation is excessively deep with zod helper
10761078
response_format: zodResponseFormat(CalendarEvent, "event"),
10771079
});
10781080

0 commit comments

Comments
 (0)