MCPcopy Index your code
hub / github.com/cft0808/edict / apply_model_changes.py

File apply_model_changes.py

scripts/apply_model_changes.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#!/usr/bin/env python3
2"""应用 data/pending_model_changes.json → openclaw.json,并重启 Gateway"""
3import json, pathlib, subprocess, datetime, shutil, logging, glob
4from file_lock import atomic_json_write, atomic_json_read

Callers

nothing calls this directly

Calls 2

get_openclaw_homeFunction · 0.90
mainFunction · 0.70

Tested by

no test coverage detected