mem0ai 2.1.3 → 2.1.4
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/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -4536,6 +4536,9 @@ var MemoryClient = class {
|
|
|
4536
4536
|
if (options.org_name) delete options.org_name;
|
|
4537
4537
|
if (options.project_name) delete options.project_name;
|
|
4538
4538
|
}
|
|
4539
|
+
if (options.api_version) {
|
|
4540
|
+
options.version = options.api_version.toString();
|
|
4541
|
+
}
|
|
4539
4542
|
const payload = this._preparePayload(messages, options);
|
|
4540
4543
|
const response = await this._fetchWithErrorHandling(
|
|
4541
4544
|
`${this.host}/v1/memories/`,
|