We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db9114c commit b3ae30bCopy full SHA for b3ae30b
packages/core/src/tracing/openai/utils.ts
@@ -97,7 +97,7 @@ export function isEmbeddingsResponse(response: unknown): response is OpenAICreat
97
return (
98
responseObject.object === 'list' &&
99
typeof responseObject.model === 'string' &&
100
- (responseObject.model ).toLowerCase().includes('embedding')
+ responseObject.model.toLowerCase().includes('embedding')
101
);
102
}
103
0 commit comments