feat: add models compare
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import React from 'react';
|
||||
|
||||
interface CompareContextProps {
|
||||
spans: {
|
||||
span: number;
|
||||
count: number;
|
||||
};
|
||||
systemMessage?: string;
|
||||
globalParams: Record<string, any>;
|
||||
loadingStatus: Record<string, boolean>;
|
||||
handleDeleteModel: (modelname: string) => void;
|
||||
setSystemMessage?: (message: string) => void;
|
||||
setGlobalParams: (value: Record<string, any>) => void;
|
||||
setLoadingStatus: (modeName: string, status: boolean) => void;
|
||||
}
|
||||
const CompareContext = React.createContext<CompareContextProps>(
|
||||
{} as CompareContextProps
|
||||
);
|
||||
|
||||
export default CompareContext;
|
||||
Reference in New Issue
Block a user