### What problem does this PR solve? Fix: Fixed the styling and logic issues on the model provider page ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
42 lines
772 B
TypeScript
42 lines
772 B
TypeScript
export interface IThirdOAIModel {
|
|
available: boolean;
|
|
create_date: string;
|
|
create_time: number;
|
|
fid: string;
|
|
id: number;
|
|
llm_name: string;
|
|
max_tokens: number;
|
|
model_type: string;
|
|
status: string;
|
|
tags: string;
|
|
update_date: string;
|
|
update_time: number;
|
|
tenant_id?: string;
|
|
tenant_name?: string;
|
|
is_tools: boolean;
|
|
}
|
|
|
|
export type IThirdOAIModelCollection = Record<string, IThirdOAIModel[]>;
|
|
|
|
export interface IFactory {
|
|
create_date: string;
|
|
create_time: number;
|
|
logo: string;
|
|
name: string;
|
|
status: string;
|
|
tags: string;
|
|
update_date: string;
|
|
update_time: number;
|
|
}
|
|
|
|
export interface IMyLlmValue {
|
|
llm: Llm[];
|
|
tags: string;
|
|
}
|
|
|
|
export interface Llm {
|
|
name: string;
|
|
type: string;
|
|
status: '0' | '1';
|
|
used_token: number;
|
|
}
|