Skip to content

Commit 251fccd

Browse files
committed
fix lint issues
1 parent f3d5940 commit 251fccd

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

dev-packages/node-integration-tests/suites/tracing/google-genai/scenario.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class MockGoogleGenAI {
4141
};
4242

4343
this.chats = {
44-
create: (options) => {
44+
create: options => {
4545
// Return a chat instance with sendMessage method and model info
4646
return {
4747
model: options?.model || 'unknown', // Include model from create options

packages/core/src/utils/google-genai/constants.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ export const GOOGLE_GENAI_INSTRUMENTED_METHODS = ['models.generateContent', 'cha
88
export const GOOGLE_GENAI_SYSTEM_NAME = 'google_genai';
99
export const CHATS_CREATE_METHOD = 'chats.create';
1010
export const CHAT_PATH = 'chat';
11-

packages/core/src/utils/google-genai/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ function instrumentMethod<T extends unknown[], R>(
215215
context: unknown,
216216
options?: GoogleGenAIOptions,
217217
): (...args: T) => R | Promise<R> {
218-
const isSyncCreate = methodPath === CHATS_CREATE_METHOD
218+
const isSyncCreate = methodPath === CHATS_CREATE_METHOD;
219219

220220
const run = (...args: T): R | Promise<R> => {
221221
const finalOptions = options || getRecordingOptionsFromIntegration();

0 commit comments

Comments
 (0)