auto-sync: 2026-06-06 11:26:44
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user