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

Function apply

packages/agent-core/test/config/env-model.test.ts:15–17  ·  view source on GitHub ↗
(env: Record<string, string | undefined>)

Source from the content-addressed store, hash-verified

13import { KimiError } from '../../src/errors';
14
15function apply(env: Record<string, string | undefined>) {
16 return applyEnvModelConfig(getDefaultConfig(), env);
17}
18
19function expectConfigInvalid(fn: () => unknown): void {
20 try {

Callers 1

env-model.test.tsFile · 0.70

Calls 2

applyEnvModelConfigFunction · 0.90
getDefaultConfigFunction · 0.90

Tested by

no test coverage detected