File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/instrumentation-openai/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ export class OpenAIInstrumentation extends InstrumentationBase<OpenAIInstrumenta
223223 this : ChatCompletions ,
224224 ...args : Parameters < ChatCompletions [ 'create' ] >
225225 ) {
226- if ( ! self . isEnabled ) {
226+ if ( ! self . isEnabled ( ) ) {
227227 return original . apply ( this , args ) ;
228228 }
229229
@@ -787,7 +787,7 @@ export class OpenAIInstrumentation extends InstrumentationBase<OpenAIInstrumenta
787787 this : Embeddings ,
788788 ...args : Parameters < Embeddings [ 'create' ] >
789789 ) {
790- if ( ! self . isEnabled ) {
790+ if ( ! self . isEnabled ( ) ) {
791791 return original . apply ( this , args ) ;
792792 }
793793
@@ -900,7 +900,7 @@ export class OpenAIInstrumentation extends InstrumentationBase<OpenAIInstrumenta
900900 this : Responses ,
901901 ...args : Parameters < Responses [ 'create' ] >
902902 ) {
903- if ( ! self . isEnabled ) {
903+ if ( ! self . isEnabled ( ) ) {
904904 return original . apply ( this , args ) ;
905905 }
906906
You can’t perform that action at this time.
0 commit comments