From f6ecdffb2c9f0e98d38e911e71f7b5943daf4776 Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 5 Feb 2024 19:51:12 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20fix=20rename?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/settings/llm/Azure/index.tsx | 2 +- src/app/settings/llm/Bedrock/index.tsx | 2 +- src/app/settings/llm/Google/index.tsx | 2 +- src/app/settings/llm/Zhipu/index.tsx | 2 +- src/components/ModelSelect/index.tsx | 2 +- src/components/ModelTag/index.tsx | 2 +- src/features/AgentSetting/AgentPrompt/TokenTag.tsx | 2 +- src/features/Conversation/Error/APIKeyForm/Bedrock.tsx | 2 +- src/features/Conversation/Error/APIKeyForm/OpenAI.tsx | 2 +- src/features/Conversation/Error/ErrorJsonViewer.tsx | 2 +- src/features/Conversation/Error/InvalidAccessCode.tsx | 2 +- src/features/Conversation/Error/index.tsx | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/app/settings/llm/Azure/index.tsx b/src/app/settings/llm/Azure/index.tsx index 7a23c46411b6..91a136073230 100644 --- a/src/app/settings/llm/Azure/index.tsx +++ b/src/app/settings/llm/Azure/index.tsx @@ -1,5 +1,5 @@ import { Azure, OpenAI } from '@lobehub/icons'; -import { Form, type ItemGroup, Markdown } from '@lobehub/ui'; +import { Form, type ItemGroup, Markdown } from '@bentwnghk/ui'; import { Form as AntForm, AutoComplete, Divider, Input, Switch } from 'antd'; import { createStyles } from 'antd-style'; import { debounce } from 'lodash-es'; diff --git a/src/app/settings/llm/Bedrock/index.tsx b/src/app/settings/llm/Bedrock/index.tsx index 50e31b537555..9010bceac410 100644 --- a/src/app/settings/llm/Bedrock/index.tsx +++ b/src/app/settings/llm/Bedrock/index.tsx @@ -1,5 +1,5 @@ import { Aws, Bedrock } from '@lobehub/icons'; -import { Form, type ItemGroup } from '@lobehub/ui'; +import { Form, type ItemGroup } from '@bentwnghk/ui'; import { Form as AntForm, Divider, Input, Select, Switch } from 'antd'; import { debounce } from 'lodash-es'; import { memo } from 'react'; diff --git a/src/app/settings/llm/Google/index.tsx b/src/app/settings/llm/Google/index.tsx index 2737f60792cf..e45089709892 100644 --- a/src/app/settings/llm/Google/index.tsx +++ b/src/app/settings/llm/Google/index.tsx @@ -1,5 +1,5 @@ import { Google } from '@lobehub/icons'; -import { Form, type ItemGroup } from '@lobehub/ui'; +import { Form, type ItemGroup } from '@bentwnghk/ui'; import { Form as AntForm, Input, Switch } from 'antd'; import { debounce } from 'lodash-es'; import { memo } from 'react'; diff --git a/src/app/settings/llm/Zhipu/index.tsx b/src/app/settings/llm/Zhipu/index.tsx index a0c83c8d486e..1d6b9ca31ddf 100644 --- a/src/app/settings/llm/Zhipu/index.tsx +++ b/src/app/settings/llm/Zhipu/index.tsx @@ -1,5 +1,5 @@ import { Zhipu } from '@lobehub/icons'; -import { Form, type ItemGroup } from '@lobehub/ui'; +import { Form, type ItemGroup } from '@bentwnghk/ui'; import { Form as AntForm, Input, Switch } from 'antd'; import { useTheme } from 'antd-style'; import { debounce } from 'lodash-es'; diff --git a/src/components/ModelSelect/index.tsx b/src/components/ModelSelect/index.tsx index 78dddba51428..84f4ac23238e 100644 --- a/src/components/ModelSelect/index.tsx +++ b/src/components/ModelSelect/index.tsx @@ -1,4 +1,4 @@ -import { Icon, Tooltip } from '@lobehub/ui'; +import { Icon, Tooltip } from '@bentwnghk/ui'; import { createStyles } from 'antd-style'; import { LucideEye, ToyBrick } from 'lucide-react'; import numeral from 'numeral'; diff --git a/src/components/ModelTag/index.tsx b/src/components/ModelTag/index.tsx index 97def18b52e4..0703290816fe 100644 --- a/src/components/ModelTag/index.tsx +++ b/src/components/ModelTag/index.tsx @@ -1,4 +1,4 @@ -import { Tag } from '@lobehub/ui'; +import { Tag } from '@bentwnghk/ui'; import { memo } from 'react'; import ModelIcon from './ModelIcon'; diff --git a/src/features/AgentSetting/AgentPrompt/TokenTag.tsx b/src/features/AgentSetting/AgentPrompt/TokenTag.tsx index db31df844088..f435f7392e65 100644 --- a/src/features/AgentSetting/AgentPrompt/TokenTag.tsx +++ b/src/features/AgentSetting/AgentPrompt/TokenTag.tsx @@ -1,4 +1,4 @@ -import { TokenTag } from '@lobehub/ui'; +import { TokenTag } from '@bentwnghk/ui'; import { memo } from 'react'; import { useTranslation } from 'react-i18next'; import { Flexbox } from 'react-layout-kit'; diff --git a/src/features/Conversation/Error/APIKeyForm/Bedrock.tsx b/src/features/Conversation/Error/APIKeyForm/Bedrock.tsx index e079de90890a..528bd0bf0163 100644 --- a/src/features/Conversation/Error/APIKeyForm/Bedrock.tsx +++ b/src/features/Conversation/Error/APIKeyForm/Bedrock.tsx @@ -1,5 +1,5 @@ import { Aws } from '@lobehub/icons'; -import { Icon } from '@lobehub/ui'; +import { Icon } from '@bentwnghk/ui'; import { Button, Input, Select } from 'antd'; import { useTheme } from 'antd-style'; import { Network } from 'lucide-react'; diff --git a/src/features/Conversation/Error/APIKeyForm/OpenAI.tsx b/src/features/Conversation/Error/APIKeyForm/OpenAI.tsx index 6733ae195d62..6681d2ccdfa9 100644 --- a/src/features/Conversation/Error/APIKeyForm/OpenAI.tsx +++ b/src/features/Conversation/Error/APIKeyForm/OpenAI.tsx @@ -1,5 +1,5 @@ import { OpenAI } from '@lobehub/icons'; -import { Icon } from '@lobehub/ui'; +import { Icon } from '@bentwnghk/ui'; import { Button, Input } from 'antd'; import { useTheme } from 'antd-style'; import { Network } from 'lucide-react'; diff --git a/src/features/Conversation/Error/ErrorJsonViewer.tsx b/src/features/Conversation/Error/ErrorJsonViewer.tsx index f374799043a6..25a82d4e076b 100644 --- a/src/features/Conversation/Error/ErrorJsonViewer.tsx +++ b/src/features/Conversation/Error/ErrorJsonViewer.tsx @@ -1,4 +1,4 @@ -import { Highlighter } from '@lobehub/ui'; +import { Highlighter } from '@bentwnghk/ui'; import { memo } from 'react'; import { Flexbox } from 'react-layout-kit'; diff --git a/src/features/Conversation/Error/InvalidAccessCode.tsx b/src/features/Conversation/Error/InvalidAccessCode.tsx index b5375557aa4e..497f9398d4ec 100644 --- a/src/features/Conversation/Error/InvalidAccessCode.tsx +++ b/src/features/Conversation/Error/InvalidAccessCode.tsx @@ -1,4 +1,4 @@ -import { Icon } from '@lobehub/ui'; +import { Icon } from '@bentwnghk/ui'; import { Segmented } from 'antd'; import { AsteriskSquare, KeySquare } from 'lucide-react'; import { memo, useState } from 'react'; diff --git a/src/features/Conversation/Error/index.tsx b/src/features/Conversation/Error/index.tsx index 24a39e1782f7..b35e05450929 100644 --- a/src/features/Conversation/Error/index.tsx +++ b/src/features/Conversation/Error/index.tsx @@ -1,5 +1,5 @@ import { IPluginErrorType, PluginErrorType } from '@lobehub/chat-plugin-sdk'; -import type { AlertProps } from '@lobehub/ui'; +import type { AlertProps } from '@bentwnghk/ui'; import { memo } from 'react'; import { AgentRuntimeErrorType, ILobeAgentRuntimeErrorType } from '@/libs/agent-runtime';