mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +02:00
19 lines
569 B
TypeScript
19 lines
569 B
TypeScript
import { describe, expect, it } from 'vitest';
|
|
|
|
describe('@ktx/llm package exports', () => {
|
|
it('exports the canonical LLM and embedding surfaces', async () => {
|
|
const llm = await import('./index.js');
|
|
|
|
expect(llm.KTX_MODEL_ROLES).toEqual([
|
|
'default',
|
|
'triage',
|
|
'candidateExtraction',
|
|
'curator',
|
|
'reconcile',
|
|
'repair',
|
|
]);
|
|
expect(llm.createKtxLlmProvider).toBeTypeOf('function');
|
|
expect(llm.KtxMessageBuilder).toBeTypeOf('function');
|
|
expect(llm.createKtxEmbeddingProvider).toBeTypeOf('function');
|
|
});
|
|
});
|