@lota-sdk/core 0.4.37 → 0.4.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lota-sdk/core",
3
- "version": "0.4.37",
3
+ "version": "0.4.38",
4
4
  "files": [
5
5
  "src",
6
6
  "infrastructure/schema"
@@ -32,7 +32,7 @@
32
32
  "@ai-sdk/provider": "^3.0.9",
33
33
  "@chat-adapter/slack": "^4.26.0",
34
34
  "@chat-adapter/state-ioredis": "^4.26.0",
35
- "@lota-sdk/shared": "0.4.37",
35
+ "@lota-sdk/shared": "0.4.38",
36
36
  "@mendable/firecrawl-js": "^4.20.0",
37
37
  "@surrealdb/node": "^3.0.3",
38
38
  "ai": "^6.0.170",
@@ -106,7 +106,10 @@ export class ProviderEmbeddings {
106
106
 
107
107
  const promise = this.runPromise(this.executeEmbedQueryEffect(input))
108
108
  this.inflightEmbeddings.set(dedupKey, promise)
109
- void promise.finally(() => this.inflightEmbeddings.delete(dedupKey))
109
+ void promise.then(
110
+ () => this.inflightEmbeddings.delete(dedupKey),
111
+ () => this.inflightEmbeddings.delete(dedupKey),
112
+ )
110
113
 
111
114
  return promise
112
115
  }