Merge branch 'feat/plugins' into dev/plugin-deploy

This commit is contained in:
JzoNg 2024-12-27 14:47:22 +08:00
commit 1b93e1ff99
5 changed files with 26 additions and 15 deletions

View File

@ -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

View File

@ -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>
</>
)}

View File

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

View File

@ -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"
]
}
}
}

View File

@ -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