Louis 96dba2690d feat: class-based plugin manager
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
2023-11-06 13:46:01 +07:00

28 lines
766 B
TypeScript

import React, { Fragment, useEffect } from 'react'
import ExploreModelList from '@screens/ExploreModels/ExploreModelList'
import useGetConfiguredModels from '@hooks/useGetConfiguredModels'
import Loader from '@containers/Loader'
const ExploreModelsScreen = () => {
const { loading } = useGetConfiguredModels()
return (
<div className="flex h-full w-full overflow-y-auto">
<div className="h-full w-full p-5">
{loading ? (
<Loader />
) : (
<Fragment>
<h1 className="text-lg font-semibold">Explore Models</h1>
<div className="mt-5 h-full">
<ExploreModelList />
</div>
</Fragment>
)}
</div>
</div>
)
}
export default ExploreModelsScreen