diff --git a/app/components/chat/APIKeyManager.tsx b/app/components/chat/APIKeyManager.tsx index 54654b5..5b2c85e 100644 --- a/app/components/chat/APIKeyManager.tsx +++ b/app/components/chat/APIKeyManager.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import { IconButton } from '~/components/ui/IconButton'; -import type { ProviderInfo } from '~/utils/constants'; +import type { ProviderInfo } from '~/types/model'; interface APIKeyManagerProps { provider: ProviderInfo; diff --git a/app/utils/constants.ts b/app/utils/constants.ts index 2aca237..fbcf226 100644 --- a/app/utils/constants.ts +++ b/app/utils/constants.ts @@ -1,4 +1,5 @@ -import type { ModelInfo, OllamaApiResponse, OllamaModel, ProviderInfo } from './types'; +import type { ModelInfo, OllamaApiResponse, OllamaModel } from './types'; +import type { ProviderInfo } from '~/types/model'; export const WORK_DIR_NAME = 'project'; export const WORK_DIR = `/home/${WORK_DIR_NAME}`;