10 lines
330 B
TypeScript
10 lines
330 B
TypeScript
import { schema } from '#triplit/schema';
|
|
import type { Entity } from '@triplit/client';
|
|
|
|
export const Providers = ['openrouter'] as const;
|
|
|
|
export const providerBaseUrls = {
|
|
openrouter: 'https://openrouter.ai/api/v1',
|
|
};
|
|
|
|
export type Model = Entity<typeof schema, 'models'> & { provider: Entity<typeof schema, 'providers'> }; |