add frontend display, more model

This commit is contained in:
creamlike1024 committed 2025-05-15 20:00:59 +08:00
1 parent 5e8217db0f
commit e9690c7ad7
4 files changed
+52 -6

No files matched your search

+7 -2
View File
@@ -118,6 +118,11 @@ export const CHANNEL_OPTIONS = [
{
value: 48,
color: 'blue',
label: 'xAI'
}
label: 'xAI',
},
{
value: 49,
color: 'blue',
label: 'Coze',
},
];
+16
View File
@@ -838,6 +838,22 @@ const EditChannel = (props) => {
/>
</>
)}
{inputs.type === 49 && (
<>
<div style={{ marginTop: 10 }}>
<Typography.Text strong>智能体ID:</Typography.Text>
</div>
<Input
name='other'
placeholder={'请输入智能体ID,例如:7342866812345'}
onChange={(value) => {
handleInputChange('other', value);
}}
value={inputs.other}
autoComplete='new-password'
/>
</>
)}
<div style={{ marginTop: 10 }}>
<Typography.Text strong>{t('模型')}:</Typography.Text>
</div>