Merge branch 'feat/plugins' into dev/plugin-deploy
This commit is contained in:
commit
1b93e1ff99
@ -36,10 +36,6 @@ const iconClassName = `
|
||||
w-5 h-5 mr-2
|
||||
`
|
||||
|
||||
const scrolledClassName = `
|
||||
border-b shadow-xs bg-white/[.98]
|
||||
`
|
||||
|
||||
type IAccountSettingProps = {
|
||||
onCancel: () => void
|
||||
activeTab?: string
|
||||
|
@ -62,13 +62,15 @@ const PluginDetailPanel: FC<Props> = ({
|
||||
{!!detail.declaration.agent_strategy && <AgentStrategyList detail={detail} />}
|
||||
{!!detail.declaration.endpoint && <EndpointList detail={detail} />}
|
||||
{!!detail.declaration.model && <ModelList detail={detail} />}
|
||||
<div className='px-4 py-2'>
|
||||
<ToolSelector
|
||||
value={value}
|
||||
onSelect={item => testChange(item)}
|
||||
onDelete={testDelete}
|
||||
/>
|
||||
</div>
|
||||
{false && (
|
||||
<div className='px-4 py-2'>
|
||||
<ToolSelector
|
||||
value={value}
|
||||
onSelect={item => testChange(item)}
|
||||
onDelete={testDelete}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
|
@ -0,0 +1,13 @@
|
||||
import React from 'react'
|
||||
|
||||
type Props = {
|
||||
value: any[]
|
||||
}
|
||||
|
||||
const MultipleToolSelector = ({ value }: Props) => {
|
||||
return (
|
||||
<div></div>
|
||||
)
|
||||
}
|
||||
|
||||
export default MultipleToolSelector
|
@ -67,7 +67,7 @@
|
||||
"katex": "^0.16.11",
|
||||
"ky": "^1.7.2",
|
||||
"lamejs": "^1.2.1",
|
||||
"lexical": "^0.16.0",
|
||||
"lexical": "^0.18.0",
|
||||
"line-clamp": "^1.0.0",
|
||||
"lodash-es": "^4.17.21",
|
||||
"mermaid": "11.4.1",
|
||||
@ -194,4 +194,4 @@
|
||||
"eslint --fix"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -143,8 +143,8 @@ importers:
|
||||
specifier: ^1.2.1
|
||||
version: 1.2.1
|
||||
lexical:
|
||||
specifier: ^0.16.0
|
||||
version: 0.16.1
|
||||
specifier: ^0.18.0
|
||||
version: 0.18.0
|
||||
line-clamp:
|
||||
specifier: ^1.0.0
|
||||
version: 1.0.0
|
||||
|
Loading…
Reference in New Issue
Block a user