mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2026-01-19 04:15:46 +00:00
feat(openAiProvider): load models from config as well
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { Model } from '../models/types';
|
||||
|
||||
type BaseUIConfigField = {
|
||||
name: string;
|
||||
key: string;
|
||||
@@ -40,8 +42,8 @@ type ConfigModelProvider = {
|
||||
id: string;
|
||||
name: string;
|
||||
type: string;
|
||||
chatModels: string[];
|
||||
embeddingModels: string[];
|
||||
chatModels: Model[];
|
||||
embeddingModels: Model[];
|
||||
config: { [key: string]: any };
|
||||
hash: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user