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

Method initialize

cli/src/codex/codexAppServerClient.ts:150–154  ·  view source on GitHub ↗
(params: InitializeParams)

Source from the content-addressed store, hash-verified

148 }
149
150 async initialize(params: InitializeParams): Promise<InitializeResponse> {
151 const response = await this.sendRequest('initialize', params, { timeoutMs: 30_000 });
152 this.sendNotification('initialized');
153 return response as InitializeResponse;
154 }
155
156 async listModels(params?: ModelListParams): Promise<ModelListResponse> {
157 const response = await this.sendRequest('model/list', params ?? {}, {

Callers 1

listCodexModelsFunction · 0.95

Calls 2

sendRequestMethod · 0.95
sendNotificationMethod · 0.95

Tested by

no test coverage detected