MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / transformModelData

Function transformModelData

packages/agent-core/src/config/toml.ts:361–367  ·  view source on GitHub ↗
(data: Record<string, unknown>)

Source from the content-addressed store, hash-verified

359}
360
361function transformModelData(data: Record<string, unknown>): Record<string, unknown> {
362 const out = transformPlainObject(data);
363 if (isPlainObject(out['overrides'])) {
364 out['overrides'] = transformPlainObject(out['overrides']);
365 }
366 return out;
367}
368
369function transformPermissionData(data: Record<string, unknown>): Record<string, unknown> {
370 const raw = transformPlainObject(data);

Callers

nothing calls this directly

Calls 2

transformPlainObjectFunction · 0.85
isPlainObjectFunction · 0.70

Tested by

no test coverage detected