openlit
Version:
OpenTelemetry-native Auto instrumentation library for monitoring LLM Applications, facilitating the integration of observability into your GenAI-driven projects
14 lines • 577 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const providers_1 = require("../llm/providers");
describe('llmProviders', () => {
it('should have openai and anthropic as keys', () => {
expect(Object.keys(providers_1.llmProviders)).toEqual(expect.arrayContaining(['openai', 'anthropic']));
});
it('should return a function for each provider', () => {
Object.values(providers_1.llmProviders).forEach(fn => {
expect(typeof fn).toBe('function');
});
});
});
//# sourceMappingURL=providers.test.js.map