Skip to content

Commit de58b85

Browse files
committed
style(memory-lancedb): apply oxfmt to embeddings constructor call
1 parent a6445cf commit de58b85

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

extensions/memory-lancedb/index.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,14 @@ async function runWithTimeout<T>(params: {
485485
function createEmbeddings(api: OpenClawPluginApi, cfg: MemoryConfig): Embeddings {
486486
const { provider, model, dimensions, apiKey, baseUrl, timeoutMs, maxRetries } = cfg.embedding;
487487
if (provider === "openai" && apiKey) {
488-
return new OpenAiCompatibleEmbeddings(apiKey, model, baseUrl, dimensions, timeoutMs, maxRetries);
488+
return new OpenAiCompatibleEmbeddings(
489+
apiKey,
490+
model,
491+
baseUrl,
492+
dimensions,
493+
timeoutMs,
494+
maxRetries,
495+
);
489496
}
490497
return new ProviderAdapterEmbeddings(api, cfg.embedding);
491498
}

0 commit comments

Comments
 (0)