Add recentlyUsedModels

This commit is contained in:
Alex Gleason committed 2025-08-25 17:38:48 -05:00
1 parent 5eb18965ff
commit b9d9ab8526
5 files changed
+187 -7

No files matched your search

+2
View File
@@ -7,6 +7,7 @@ export interface AIConnection {
export interface AISettings {
providers: Record<string, AIConnection>;
recentlyUsedModels: string[];
}
export interface AISettingsContextType {
@@ -15,6 +16,7 @@ export interface AISettingsContextType {
addProvider: (name: string, connection: AIConnection) => void;
removeProvider: (name: string) => void;
updateProvider: (name: string, connection: Partial<AIConnection>) => void;
addRecentlyUsedModel: (modelId: string) => void;
isConfigured: boolean;
}