MCPcopy Create free account
hub / github.com/Gan-Xing/CodexBridge / listModels

Function listModels

test/providers/codex/native_api_server.test.ts:65–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 let modelCalls = 0;
64 const providerPlugin = {
65 async listModels() {
66 modelCalls += 1;
67 return [{
68 id: 'gpt-5.4',
69 model: 'gpt-5.4',
70 displayName: 'GPT-5.4',
71 description: 'Frontier coding model.',
72 isDefault: true,
73 supportedReasoningEfforts: ['medium', 'high'],
74 defaultReasoningEffort: 'medium',
75 }];
76 },
77 } as any;
78 const server = new CodexNativeApiServer({
79 runtime,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected