MCPcopy Create free account
hub / github.com/OpenBMB/AgentCPM-GUI / compact_json_dumps

Function compact_json_dumps

eval/run_predict_minicpm.py:29–30  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

27 sys.path.append(current_dir)
28
29def compact_json_dumps(obj):
30 return json.dumps(obj, indent=None, separators=(",", ":"), ensure_ascii=False)
31
32ACTION_SCHEMA = json.load(open(os.path.join(current_dir, 'utils/schema', 'schema.json'), encoding="utf-8"))
33items = list(ACTION_SCHEMA.items())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected