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

Function applyRuntimeConfig

apps/kimi-code/src/tui/commands/reload.ts:55–60  ·  view source on GitHub ↗
(host: SlashCommandHost, config: KimiConfig)

Source from the content-addressed store, hash-verified

53}
54
55function applyRuntimeConfig(host: SlashCommandHost, config: KimiConfig): void {
56 host.setAppState({
57 availableModels: config.models ?? {},
58 availableProviders: config.providers ?? {},
59 });
60}

Callers 1

handleReloadCommandFunction · 0.85

Calls 1

setAppStateMethod · 0.65

Tested by

no test coverage detected