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

Function setModel

packages/node-sdk/src/rpc.ts:315–322  ·  view source on GitHub ↗
(input: SetSessionModelRpcInput)

Source from the content-addressed store, hash-verified

313 }
314
315 async setModel(input: SetSessionModelRpcInput): Promise<SetSessionModelRpcResult> {
316 const rpc = await this.getRpc();
317 return rpc.setModel({
318 sessionId: input.sessionId,
319 agentId: this.interactiveAgentId,
320 model: input.model,
321 });
322 }
323
324 async setThinking(input: SetSessionThinkingRpcInput): Promise<void> {
325 const rpc = await this.getRpc();

Callers

nothing calls this directly

Calls 2

getRpcMethod · 0.45
setModelMethod · 0.45

Tested by

no test coverage detected