MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / wireId

Function wireId

test/model-resolve.test.ts:143–143  ·  view source on GitHub ↗
(modelId: string)

Source from the content-addressed store, hash-verified

141 { provider: 'openai', id: 'qwen/qwen3-coder-next' }, // LM Studio HF-publisher prefix
142 ]);
143 const wireId = (modelId: string) => idx.get(modelId)?.info.id;
144 check('openai/gpt-4o → gpt-4o (provider prefix dropped)', wireId('openai/gpt-4o') === 'gpt-4o');
145 check('nvidia/nemotron-… kept VERBATIM (not stripped to nemotron-…)',
146 wireId('nvidia/nemotron-3-super-120b-a12b') === 'nvidia/nemotron-3-super-120b-a12b');

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected