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: { llmService: {
type: 'string', type: 'string',
title: 'LLM service', title: 'LLM service',
required: true,
'x-decorator': 'FormItem', 'x-decorator': 'FormItem',
'x-component': 'RemoteSelect', 'x-component': 'RemoteSelect',
'x-component-props': { 'x-component-props': {

View File

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

View File

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