MCPcopy
hub / github.com/Sophomoresty/gemini-web2api / load_config

Function load_config

gemini_web2api.py:795–799  ·  view source on GitHub ↗
(path: str)

Source from the content-addressed store, hash-verified

793# ─── Main ────────────────────────────────────────────────────────────────────
794
795def load_config(path: str):
796 if path and os.path.exists(path):
797 with open(path) as f:
798 CONFIG.update(json.load(f))
799 log(f"Config loaded: {path}")
800
801
802def main():

Callers 1

mainFunction · 0.70

Calls 1

logFunction · 0.70

Tested by

no test coverage detected