Fix modellist
This commit is contained in:
@@ -979,14 +979,9 @@ for(let model of LLMModels){
|
|||||||
|
|
||||||
export function getModelInfo(id: string): LLMModel{
|
export function getModelInfo(id: string): LLMModel{
|
||||||
|
|
||||||
const found:LLMModel = LLMModels.find(model => model.id === id) ?? {
|
const found:LLMModel = LLMModels.find(model => model.id === id)
|
||||||
id,
|
|
||||||
name: id,
|
console.log('found', found)
|
||||||
provider: LLMProvider.AsIs,
|
|
||||||
format: LLMFormat.OpenAICompatible,
|
|
||||||
flags: [],
|
|
||||||
parameters: OpenAIParameters
|
|
||||||
}
|
|
||||||
|
|
||||||
if(found) return found
|
if(found) return found
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user