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