( filePath: string, env: Readonly<Record<string, string | undefined>> = process.env, )
| 98 | * for write-back paths so the synthesized model is never persisted. |
| 99 | */ |
| 100 | export function loadRuntimeConfig( |
| 101 | filePath: string, |
| 102 | env: Readonly<Record<string, string | undefined>> = process.env, |
| 103 | ): KimiConfig { |
| 104 | return applyEnvModelConfig(readConfigFile(filePath), env); |
| 105 | } |
| 106 | |
| 107 | export interface RuntimeConfigLoadResult { |
| 108 | readonly config: KimiConfig; |
no test coverage detected