From ac795ad38dbc746645651ff6c38047a6dd63cc3e Mon Sep 17 00:00:00 2001 From: wangbo Date: Fri, 20 Mar 2026 22:04:13 +0800 Subject: [PATCH] =?UTF-8?q?config(env):=20=E8=AE=BE=E7=BD=AE=E5=AF=B9?= =?UTF-8?q?=E8=AF=9D=E5=8E=8B=E7=BC=A9=E9=BB=98=E8=AE=A4=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E5=B9=B6=E7=A7=BB=E9=99=A4=E5=86=85=E5=AD=98=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为 MEMORY_CHAT_MODEL 环境变量设置默认值 qwen-plus - 从 docker-compose.yml 中移除 agent-memory 服务的 profiles 配置 - 调整内存服务容器配置以优化部署流程 --- .env.AMS.sample | 2 +- docker-compose.yml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.env.AMS.sample b/.env.AMS.sample index 4d5be70..833340f 100644 --- a/.env.AMS.sample +++ b/.env.AMS.sample @@ -23,7 +23,7 @@ MEMORY_SCORE_IMPORTANCE_GAIN=0.3 # ---------- 对话压缩 ---------- MEMORY_CHAT_COMPLETIONS_PATH=/v1/chat/completions MEMORY_CHAT_MODELS_PATH=/v1/models -MEMORY_CHAT_MODEL= +MEMORY_CHAT_MODEL=qwen-plus MEMORY_COMPRESSION_ENABLED=true MEMORY_COMPRESSION_MIN_LENGTH=80 diff --git a/docker-compose.yml b/docker-compose.yml index aafa690..3a3df98 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -412,8 +412,6 @@ services: reservations: memory: 128MB agent-memory: - profiles: - - memory container_name: agent-memory image: registry.cn-shanghai.aliyuncs.com/easyaigc/agent-memory:${AMS_VERSION:-latest} labels: