streaming, markdown, model selecting, and lots more
This commit is contained in:
@@ -5,4 +5,4 @@ export interface DropdownItem {
|
||||
value?: string | number;
|
||||
disabled?: boolean;
|
||||
divider?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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'> };
|
||||
@@ -0,0 +1,7 @@
|
||||
export interface SettingPage {
|
||||
id: string;
|
||||
label: string | Ref<string> | ComputedRef<string>;
|
||||
icon: string;
|
||||
component: Component;
|
||||
sidebar?: Component;
|
||||
}
|
||||
Reference in New Issue
Block a user