remove test code

pull/12372/head
JzoNg 1 year ago
parent e903cd8073
commit ae42edb8d7

@ -36,10 +36,6 @@ const iconClassName = `
w-5 h-5 mr-2 w-5 h-5 mr-2
` `
const scrolledClassName = `
border-b shadow-xs bg-white/[.98]
`
type IAccountSettingProps = { type IAccountSettingProps = {
onCancel: () => void onCancel: () => void
activeTab?: string activeTab?: string

@ -62,13 +62,15 @@ const PluginDetailPanel: FC<Props> = ({
{!!detail.declaration.agent_strategy && <AgentStrategyList detail={detail} />} {!!detail.declaration.agent_strategy && <AgentStrategyList detail={detail} />}
{!!detail.declaration.endpoint && <EndpointList detail={detail} />} {!!detail.declaration.endpoint && <EndpointList detail={detail} />}
{!!detail.declaration.model && <ModelList detail={detail} />} {!!detail.declaration.model && <ModelList detail={detail} />}
<div className='px-4 py-2'> {false && (
<ToolSelector <div className='px-4 py-2'>
value={value} <ToolSelector
onSelect={item => testChange(item)} value={value}
onDelete={testDelete} onSelect={item => testChange(item)}
/> onDelete={testDelete}
</div> />
</div>
)}
</div> </div>
</> </>
)} )}

@ -0,0 +1,13 @@
import React from 'react'
type Props = {
value: any[]
}
const MultipleToolSelector = ({ value }: Props) => {
return (
<div></div>
)
}
export default MultipleToolSelector
Loading…
Cancel
Save