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

Method listModels

cli/src/codex/codexAppServerClient.ts:156–161  ·  view source on GitHub ↗
(params?: ModelListParams)

Source from the content-addressed store, hash-verified

154 }
155
156 async listModels(params?: ModelListParams): Promise<ModelListResponse> {
157 const response = await this.sendRequest('model/list', params ?? {}, {
158 timeoutMs: 30_000
159 });
160 return response as ModelListResponse;
161 }
162
163 async listCollaborationModes(): Promise<CollaborationModeListResponse> {
164 const response = await this.sendRequest('collaborationMode/list', {}, {

Callers 1

listCodexModelsFunction · 0.95

Calls 1

sendRequestMethod · 0.95

Tested by

no test coverage detected