chore: add facades refactor: core module export refactor: inference plugin - deprecate function registering (#537) * refactor: revamp inference plugin as class - deprecate function registering * refactor: monitoring plugin - deprecate service registering (#538) refactor: revamp inference plugin as class - deprecate function registering chore: update import refactor: plugin revamp - model management chore: update build steps and remove experimental plugins refactor: remove pluggable electron chore: add sorting for conversations chore: build plugins for testing chore: consistent plugin directory name chore: docs chore: fix CI chore: update conversation prefix
16 lines
461 B
TypeScript
16 lines
461 B
TypeScript
import React, { useEffect } from 'react'
|
|
import ExploreModelItem from '@/_components/ExploreModelItem'
|
|
import useGetConfiguredModels from '@hooks/useGetConfiguredModels'
|
|
|
|
const ExploreModelList: React.FC = () => {
|
|
const { models } = useGetConfiguredModels()
|
|
|
|
return (
|
|
<div className="relative h-full w-full flex-shrink-0">
|
|
{models?.map((item) => <ExploreModelItem key={item._id} model={item} />)}
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default ExploreModelList
|