streaming, markdown, model selecting, and lots more

This commit is contained in:
Zoe
2026-02-02 23:16:06 -06:00
parent 8c28946703
commit d5a5945c03
114 changed files with 6109 additions and 2938 deletions
+1 -1
View File
@@ -5,4 +5,4 @@ export interface DropdownItem {
value?: string | number;
disabled?: boolean;
divider?: boolean;
}
}
+10
View File
@@ -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'> };
+7
View File
@@ -0,0 +1,7 @@
export interface SettingPage {
id: string;
label: string | Ref<string> | ComputedRef<string>;
icon: string;
component: Component;
sidebar?: Component;
}