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

Method getSessionOpencodeModels

web/src/api/client.ts:612–616  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

610 }
611
612 async getSessionOpencodeModels(sessionId: string): Promise<OpencodeModelsResponse> {
613 return await this.request<OpencodeModelsResponse>(
614 `/api/sessions/${encodeURIComponent(sessionId)}/opencode-models`
615 )
616 }
617
618 async getSessionOpencodeReasoningEffortOptions(sessionId: string): Promise<OpencodeReasoningEffortResponse> {
619 return await this.request<OpencodeReasoningEffortResponse>(

Callers 1

useOpencodeModelsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected