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

Function configuredModel

apps/kimi-code/src/cli/run-prompt.ts:382–384  ·  view source on GitHub ↗
(...models: readonly (string | undefined)[])

Source from the content-addressed store, hash-verified

380}
381
382function configuredModel(...models: readonly (string | undefined)[]): string | undefined {
383 return models.find((model) => model !== undefined && model.trim().length > 0);
384}
385
386function installHeadlessHandlers(session: Session): void {
387 session.setApprovalHandler(() => ({ decision: 'approved' }));

Callers 2

resolvePromptSessionFunction · 0.85
requireConfiguredModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected