refactor: playground add comparsion
This commit is contained in:
@@ -7,7 +7,7 @@ interface CompareContextProps {
|
||||
};
|
||||
systemMessage?: string;
|
||||
globalParams: Record<string, any>;
|
||||
loadingStatus: Record<string, boolean>;
|
||||
loadingStatus: Record<symbol, boolean>;
|
||||
handleDeleteModel: (instanceId: symbol) => void;
|
||||
setSystemMessage?: (message: string) => void;
|
||||
setGlobalParams: (value: Record<string, any>) => void;
|
||||
|
||||
@@ -3,3 +3,10 @@ export interface ModelSelectionItem extends Global.BaseOption<string> {
|
||||
instanceId: symbol;
|
||||
type?: string;
|
||||
}
|
||||
|
||||
export interface MessageItem {
|
||||
role: string;
|
||||
content: string;
|
||||
imgs?: { uid: string | number; dataUrl: string }[];
|
||||
uid: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user