streaming, markdown, model selecting, and lots more
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
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'> };
|
||||
Reference in New Issue
Block a user