feat: add chat page
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
export type ModelInfo = {
|
||||
name: string;
|
||||
family?: string | null;
|
||||
parameter_size?: string | null;
|
||||
quantization?: string | null;
|
||||
};
|
||||
|
||||
export type ModelsResponse = {
|
||||
models: ModelInfo[];
|
||||
};
|
||||
|
||||
export type Role = 'system' | 'user' | 'assistant';
|
||||
|
||||
export type Message = {
|
||||
role: Role;
|
||||
content: string;
|
||||
};
|
||||
Reference in New Issue
Block a user