chore: update

This commit is contained in:
xilesun 2025-04-13 21:54:39 +08:00
parent 47fd650066
commit 9ecb4588ee
3 changed files with 6 additions and 1 deletions

View File

@ -53,6 +53,7 @@ export const ModelSettings: React.FC = () => {
llmService: {
type: 'string',
title: 'LLM service',
required: true,
'x-decorator': 'FormItem',
'x-component': 'RemoteSelect',
'x-component-props': {

View File

@ -23,12 +23,14 @@ export const ProfileSettings: React.FC = () => {
title: 'Username',
'x-decorator': 'FormItem',
'x-component': 'Input',
required: true,
},
nickname: {
type: 'string',
title: 'Nickname',
'x-decorator': 'FormItem',
'x-component': 'Input',
required: true,
},
avatar: {
type: 'string',
@ -49,6 +51,7 @@ export const ProfileSettings: React.FC = () => {
about: {
type: 'string',
title: 'About me',
required: true,
'x-decorator': 'FormItem',
'x-component': 'Input.TextArea',
'x-component-props': {

View File

@ -28,6 +28,7 @@ const { AIEmployeeChatProvider } = lazy(
const { Employees } = lazy(() => import('./ai-employees/manager/Employees'), 'Employees');
const { LLMServices } = lazy(() => import('./llm-services/LLMServices'), 'LLMServices');
const { MessagesSettings } = lazy(() => import('./chat-settings/Messages'), 'MessagesSettings');
const { Chat } = lazy(() => import('./llm-providers/components/Chat'), 'Chat');
const { ModelSelect } = lazy(() => import('./llm-providers/components/ModelSelect'), 'ModelSelect');
const { AIEmployeeButton } = lazy(() => import('./ai-employees/initializer/AIEmployeeButton'), 'AIEmployeeButton');
@ -102,5 +103,5 @@ export class PluginAIClient extends Plugin {
}
export default PluginAIClient;
export { ModelSelect };
export { ModelSelect, Chat };
export type { LLMProviderOptions } from './manager/ai-manager';