fix: 移除本地保底脱水的过时描述(README+dehydrator注释)
Some checks are pending
Build & Push Docker Image / build-and-push (push) Waiting to run
Tests / test (push) Waiting to run

This commit is contained in:
P0luz
2026-04-19 18:19:04 +08:00
parent d1cd3f4cc7
commit e9d61b5d9d
2 changed files with 3 additions and 3 deletions

View File

@@ -159,7 +159,7 @@ OMBRE_API_KEY=你的API密钥
> 3. Set `dehydration.base_url` to `https://generativelanguage.googleapis.com/v1beta/openai` in `config.yaml` > 3. Set `dehydration.base_url` to `https://generativelanguage.googleapis.com/v1beta/openai` in `config.yaml`
> Also supports DeepSeek, Ollama, LM Studio, vLLM, or any OpenAI-compatible API. > Also supports DeepSeek, Ollama, LM Studio, vLLM, or any OpenAI-compatible API.
没有 API key 也能用,脱水压缩会降级到本地模式,只是效果差一点。那就写 没有 API key 则脱水压缩和自动打标功能不可用(会报错),但记忆的读写和检索仍正常工作。如果暂时不用脱水功能,可以留空
``` ```
OMBRE_API_KEY= OMBRE_API_KEY=

View File

@@ -235,8 +235,8 @@ class Dehydrator:
# --------------------------------------------------------- # ---------------------------------------------------------
# Dehydrate: compress raw content into concise summary # Dehydrate: compress raw content into concise summary
# 脱水:将原始内容压缩为精简摘要 # 脱水:将原始内容压缩为精简摘要
# Try API first, fallback to local # API only (no local fallback)
# 先尝试 API,失败则回退本地 # 仅通过 API 脱水(无本地回退)
# --------------------------------------------------------- # ---------------------------------------------------------
async def dehydrate(self, content: str, metadata: dict = None) -> str: async def dehydrate(self, content: str, metadata: dict = None) -> str:
""" """