|
@@ -84,7 +84,7 @@ export const formSchema: FormSchema[] = [
|
|
|
},
|
|
|
{
|
|
|
field: 'title',
|
|
|
- label: t('wechat.apiKey.title'),
|
|
|
+ label: t('名称'),
|
|
|
component: 'Input',
|
|
|
required: true,
|
|
|
},
|
|
@@ -100,12 +100,12 @@ export const formSchema: FormSchema[] = [
|
|
|
// component: 'InputNumber',
|
|
|
// required: true,
|
|
|
// },
|
|
|
- {
|
|
|
- field: 'agent_id',
|
|
|
- label: t('wechat.apiKey.agentId'),
|
|
|
- component: 'InputNumber',
|
|
|
- required: true,
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // field: 'agent_id',
|
|
|
+ // label: t('wechat.apiKey.agentId'),
|
|
|
+ // component: 'InputNumber',
|
|
|
+ // required: true,
|
|
|
+ // },
|
|
|
// {
|
|
|
// field: 'agent_info',
|
|
|
// label: t('wechat.apiKey.agentInfo'),
|
|
@@ -114,26 +114,26 @@ export const formSchema: FormSchema[] = [
|
|
|
// },
|
|
|
{
|
|
|
field: 'custom_agent_base',
|
|
|
- label: t('wechat.apiKey.customAgentBase'),
|
|
|
+ label: t('模型服务地址'),
|
|
|
component: 'Input',
|
|
|
required: false,
|
|
|
},
|
|
|
{
|
|
|
field: 'custom_agent_key',
|
|
|
- label: t('wechat.apiKey.customAgentKey'),
|
|
|
- component: 'Input',
|
|
|
- required: false,
|
|
|
- },
|
|
|
- {
|
|
|
- field: 'openai_base',
|
|
|
- label: t('wechat.apiKey.openaiBase'),
|
|
|
- component: 'Input',
|
|
|
- required: false,
|
|
|
- },
|
|
|
- {
|
|
|
- field: 'openai_key',
|
|
|
- label: t('wechat.apiKey.openaiKey'),
|
|
|
+ label: t('模型服务密钥'),
|
|
|
component: 'Input',
|
|
|
required: false,
|
|
|
},
|
|
|
+ // {
|
|
|
+ // field: 'openai_base',
|
|
|
+ // label: t('wechat.apiKey.openaiBase'),
|
|
|
+ // component: 'Input',
|
|
|
+ // required: false,
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // field: 'openai_key',
|
|
|
+ // label: t('wechat.apiKey.openaiKey'),
|
|
|
+ // component: 'Input',
|
|
|
+ // required: false,
|
|
|
+ // },
|
|
|
];
|