updated to adapth baseurl setup

This commit is contained in:
Anirban Kar
2024-12-11 14:02:21 +05:30
parent b4d0597120
commit 5d4b860c94
12 changed files with 122 additions and 71 deletions

View File

@@ -1,14 +1,8 @@
import { useStore } from '@nanostores/react';
import {
isDebugMode,
isLocalModelsEnabled,
LOCAL_PROVIDERS,
providersStore,
type IProviderSetting,
} from '~/lib/stores/settings';
import { isDebugMode, isLocalModelsEnabled, LOCAL_PROVIDERS, providersStore } from '~/lib/stores/settings';
import { useCallback, useEffect, useState } from 'react';
import Cookies from 'js-cookie';
import type { ProviderInfo } from '~/utils/types';
import type { IProviderSetting, ProviderInfo } from '~/types/model';
export function useSettings() {
const providers = useStore(providersStore);