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.
This commit is contained in:
David Snelling 2025-06-30 11:00:36 -07:00
parent 79c293559a
commit 7e68a4d8d7

View file

@ -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<EmbeddingModel>) | null {
function findUSELoadFunction(
sentenceEncoderModule: any
): (() => Promise<EmbeddingModel>) | null {
// Log the module structure for debugging
console.log(
'Universal Sentence Encoder module structure:',