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

Method setDefaultModel

packages/server-e2e/src/http.ts:178–184  ·  view source on GitHub ↗
(modelId: string)

Source from the content-addressed store, hash-verified

176 return this.request('GET', '/models', undefined);
177 }
178 setDefaultModel(modelId: string): Promise<SetDefaultModelResponse> {
179 return this.request(
180 'POST',
181 `/models/${encodeURIComponent(modelId)}:set_default`,
182 {},
183 );
184 }
185 listProviders(): Promise<ListProvidersResponse> {
186 return this.request('GET', '/providers', undefined);
187 }

Callers

nothing calls this directly

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected