Make DEMO UI Responsive (#2382)

This commit is contained in:
Saket Aryan
2025-03-15 08:30:28 +05:30
committed by GitHub
parent faf811ee2d
commit 6db87e8d07
6 changed files with 116 additions and 39 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "mem0ai",
"version": "2.1.3",
"version": "2.1.4",
"description": "The Memory Layer For Your AI Apps",
"main": "./dist/index.js",
"module": "./dist/index.mjs",

View File

@@ -205,6 +205,10 @@ export default class MemoryClient {
if (options.project_name) delete options.project_name;
}
if (options.api_version) {
options.version = options.api_version.toString();
}
const payload = this._preparePayload(messages, options);
const response = await this._fetchWithErrorHandling(
`${this.host}/v1/memories/`,

View File

@@ -1,4 +1,6 @@
export interface MemoryOptions {
api_version?: API_VERSION | string;
version?: API_VERSION | string;
user_id?: string;
agent_id?: string;
app_id?: string;