mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
chore: update
This commit is contained in:
parent
47fd650066
commit
9ecb4588ee
@ -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': {
|
||||
|
@ -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': {
|
||||
|
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user