修复长期记忆bug
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 1m16s

This commit is contained in:
2026-04-20 17:30:39 +08:00
parent 3143e0e4e6
commit c210bcdb0b
6 changed files with 40 additions and 39 deletions

View File

@@ -3,6 +3,7 @@ import os
from typing import Optional
from qdrant_client import QdrantClient
QDRANT_URL = os.getenv("QDRANT_URL", "http://127.0.0.1:6333")
QDRANT_API_KEY = os.getenv("QDRANT_API_KEY")

View File

@@ -10,8 +10,10 @@ from typing import Optional, Tuple
from langchain_core.stores import BaseStore
from rag_core.store.postgres import PostgresDocStore
from dotenv import load_dotenv
load_dotenv()
logger = logging.getLogger(__name__)
logger = logging.getLogger(__name__)
# 默认连接字符串(从环境变量读取)
DEFAULT_DB_URI = os.getenv(