Merge pull request #5180 from frostime/contrib-modellist

 feat: 调整模型列表,将自定义模型放在前面显示
This commit is contained in:
Dogtiti
2024-08-05 20:49:07 +08:00
committed by GitHub
4 changed files with 69 additions and 4 deletions

View File

@@ -64,12 +64,14 @@ export interface LLMModel {
displayName?: string;
available: boolean;
provider: LLMModelProvider;
sorted: number;
}
export interface LLMModelProvider {
id: string;
providerName: string;
providerType: string;
sorted: number;
}
export abstract class LLMApi {