mirror of
https://github.com/aljazceru/goose.git
synced 2026-02-08 08:04:30 +01:00
chore: update types and imports (#1594)
This commit is contained in:
@@ -4,7 +4,7 @@ import { useRecentModels } from './settings/models/RecentModels'; // Hook for re
|
||||
import { Sliders } from 'lucide-react';
|
||||
import { ModelRadioList } from './settings/models/ModelRadioList';
|
||||
import { Document, ChevronUp, ChevronDown } from './icons';
|
||||
import type { View } from '../ChatWindow';
|
||||
import type { View } from '../App';
|
||||
import { getApiUrl, getSecretKey } from '../config';
|
||||
import { BottomMenuModeSelection } from './BottomMenuModeSelection';
|
||||
|
||||
|
||||
@@ -1,16 +1,8 @@
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import { useRecentModels } from './RecentModels';
|
||||
import { useModel } from './ModelContext';
|
||||
import { useModel, Model } from './ModelContext';
|
||||
import { useHandleModelSelection } from './utils';
|
||||
import type { View } from '@/src/App';
|
||||
import { SettingsViewOptions } from '@/src/components/settings/SettingsView';
|
||||
|
||||
export interface Model {
|
||||
id?: number; // Make `id` optional to allow user-defined models
|
||||
name: string;
|
||||
provider: string;
|
||||
lastUsed?: string;
|
||||
}
|
||||
|
||||
interface ModelRadioListProps {
|
||||
renderItem: (props: {
|
||||
|
||||
Reference in New Issue
Block a user