auto-sync: 2026-06-06 11:26:44

This commit is contained in:
cfdaily
2026-06-06 11:26:44 +08:00
parent 72e5de9396
commit ea89d568d0
4 changed files with 607 additions and 4 deletions
+3 -1
View File
@@ -158,7 +158,9 @@ async def _generate_title(description: str) -> str | None:
base_url = "https://open.bigmodel.cn/api/paas/v4"
api_key = ""
model = "glm-4-flash"
oc_cfg = Path.home() / ".openclaw" / "openclaw.json"
oc_cfg = Path(os.environ.get(
"OPENCLAW_HOME", str(Path.home() / ".openclaw")
)) / "openclaw.json"
if oc_cfg.exists():
with open(oc_cfg) as f:
cfg = _json.load(f)