File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ async function getLocalEmbedding(input: string): Promise<number[]> {
143
143
try {
144
144
return await import ( "fastembed" ) ;
145
145
} catch ( error ) {
146
- elizaLogger . error ( "Failed to load fastembed, " ) ;
146
+ elizaLogger . error ( "Failed to load fastembed. " ) ;
147
147
throw new Error ( "fastembed import failed, falling back to remote embedding" ) ;
148
148
}
149
149
} ) ( )
@@ -178,7 +178,7 @@ async function getLocalEmbedding(input: string): Promise<number[]> {
178
178
const embedding = await embeddingModel . queryEmbed ( trimmedInput ) ;
179
179
return embedding ;
180
180
} catch ( error ) {
181
- elizaLogger . warn ( "Local embedding not supported in browser, falling back to remote embedding:" , error ) ;
181
+ elizaLogger . warn ( "Local embedding not supported in browser, falling back to remote embedding." ) ;
182
182
throw new Error ( "Local embedding not supported in browser" ) ;
183
183
}
184
184
}
You can’t perform that action at this time.
0 commit comments