From d21ddf0080094b8e41de23fb087c76a439223317 Mon Sep 17 00:00:00 2001 From: eduardruzga Date: Thu, 14 Nov 2024 15:37:41 +0200 Subject: [PATCH] One more fix --- app/components/chat/APIKeyManager.tsx | 2 +- app/utils/constants.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/components/chat/APIKeyManager.tsx b/app/components/chat/APIKeyManager.tsx index 54654b535..5b2c85e46 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 2aca237e4..fbcf226e0 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}`;