MCPcopy Create free account
hub / github.com/tiann/hapi / setModelReasoningEffort

Method setModelReasoningEffort

web/src/api/client.ts:507–512  ·  view source on GitHub ↗
(sessionId: string, modelReasoningEffort: string | null)

Source from the content-addressed store, hash-verified

505 }
506
507 async setModelReasoningEffort(sessionId: string, modelReasoningEffort: string | null): Promise<void> {
508 await this.request(`/api/sessions/${encodeURIComponent(sessionId)}/model-reasoning-effort`, {
509 method: 'POST',
510 body: JSON.stringify({ modelReasoningEffort })
511 })
512 }
513
514 async setEffort(sessionId: string, effort: string | null): Promise<void> {
515 await this.request(`/api/sessions/${encodeURIComponent(sessionId)}/effort`, {

Callers 4

syncSessionModeFunction · 0.80
useSessionActionsFunction · 0.80

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected