Skip to content

Commit 4259f43

Browse files
author
“Li
committed
updateee
1 parent 4d581c9 commit 4259f43

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

baselines/mem0/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ pip install -r requirements.txt
2020
python run.py \
2121
--method add \
2222
--memory_provider local \
23-
--local_vllm_api_base http://127.0.0.1:8089/v1 \
23+
--local_vllm_api_base http://127.0.0.1:4000/v1 \
2424
--local_chat_model qwen3-8b \
2525
--local_embed_api_base http://127.0.0.1:8082/v1 \
2626
--local_embed_model qwen3-8b-embedding \
2727
--memory_name zh4o \
28-
--input ../data/zh4o/data.json
28+
--input ../../data/zh4o/data.json
2929
```
3030

3131
#### 2. Search Memories
@@ -38,7 +38,7 @@ python run.py \
3838
--output ./logs/results_qwen3-8b_ratio1.0 \
3939
--top_k 30 \
4040
--memory_provider local \
41-
--local_vllm_api_base http://127.0.0.1:8089/v1 \
41+
--local_vllm_api_base http://127.0.0.1:4000/v1 \
4242
--local_embed_api_base http://127.0.0.1:8082/v1 \
4343
--local_chat_model qwen3-8b \
4444
--local_embed_model qwen3-8b-embedding

baselines/mem0/local_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def _init_simple_store(self) -> None:
209209
# print(_OpenAI)
210210
if _OpenAI is not None and self._embed_api_base:
211211

212-
self._embed_client = _OpenAI(base_url=self._embed_api_base, api_key=_os.getenv("OPENAI_API_KEY", "EMPTY"))
212+
self._embed_client = _OpenAI(base_url=self._embed_api_base, api_key=os.getenv("OPENAI_API_KEY", "EMPTY"))
213213

214214
try:
215215
with open(self._store_path, "r", encoding="utf-8") as f:

baselines/mem0/memory_manager_local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def _sanitize(name: str) -> str:
198198
"provider": "openai",
199199
"config": {
200200
"model": self.chat_model,
201-
"custom_instructions": custom_instructions,
201+
"openai_base_url": os.environ.get("OPENAI_BASE_URL"),
202202
},
203203
},
204204
"embedder": {

0 commit comments

Comments
 (0)