From f9463288234ff9cf6220db8443423df37651dc72 Mon Sep 17 00:00:00 2001 From: David Snelling Date: Mon, 30 Jun 2025 11:00:36 -0700 Subject: [PATCH] fix(src/utils): improve readability of `findUSELoadFunction` parameters - Refactored function signature to include line breaks for enhanced readability and adherence to style guidelines. - No functional changes introduced, ensuring consistent behavior. These adjustments improve code clarity and maintain alignment with project formatting standards. --- src/utils/embedding.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/embedding.ts b/src/utils/embedding.ts index f51fd9da..44d90014 100644 --- a/src/utils/embedding.ts +++ b/src/utils/embedding.ts @@ -260,7 +260,9 @@ export class UniversalSentenceEncoder implements EmbeddingModel { * @param sentenceEncoderModule The imported module * @returns The load function or null if not found */ -function findUSELoadFunction(sentenceEncoderModule: any): (() => Promise) | null { +function findUSELoadFunction( + sentenceEncoderModule: any +): (() => Promise) | null { // Log the module structure for debugging console.log( 'Universal Sentence Encoder module structure:',