MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / testProvider

Function testProvider

packages/server-e2e/test/client.test.ts:671–682  ·  view source on GitHub ↗
(overrides: Partial<ProviderCatalogItem> = {})

Source from the content-addressed store, hash-verified

669}
670
671function testProvider(overrides: Partial<ProviderCatalogItem> = {}): ProviderCatalogItem {
672 return {
673 id: 'kimi',
674 type: 'kimi',
675 base_url: 'https://api.example.test/v1',
676 default_model: 'k2',
677 has_api_key: true,
678 status: 'connected',
679 models: ['k2'],
680 ...overrides,
681 };
682}
683
684function testFile(overrides: Partial<FileMeta> = {}): FileMeta {
685 return {

Callers 1

client.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected