Update the model filter for FAL.AI and update the list of providers for OpenRouter

c5ebe4b4b1fc38607f64a8058af2a528ecf56b82

Kristian Schlikow <Dakraid@users.noreply.github.com>

2 files changed, +63 -56Ignore whitespace
public/scripts/textgen-models.js+61 -55
@@ -23,61 +23,67 @@ export let openRouterModels = [];
2323 * @type {string[]}
2424 */
2525const OPENROUTER_PROVIDERS = [
26- 'OpenAI',
26+
27- 'Anthropic',
27+ "OpenAI",
28- 'Google',
28+ "Anthropic",
29- 'Google AI Studio',
29+ "Google",
30- 'Amazon Bedrock',
30+ "Google AI Studio",
31- 'Groq',
31+ "Amazon Bedrock",
32- 'SambaNova',
32+ "Groq",
33- 'Cohere',
33+ "SambaNova",
34- 'Mistral',
34+ "Cohere",
35- 'Together',
35+ "Mistral",
3636 '"Together 2'",
37- 'Fireworks',
37+ "Together 2",
38- 'DeepInfra',
38+ "Fireworks",
39- 'Lepton',
39+ "DeepInfra",
40- 'Novita',
40+ "Lepton",
41- 'Avian',
41+ "Novita",
42- 'Lambda',
42+ "Avian",
43- 'Azure',
43+ "Lambda",
44- 'Modal',
44+ "Azure",
45- 'AnyScale',
45+ "Modal",
46- 'Replicate',
46+ "AnyScale",
47- 'Perplexity',
47+ "Replicate",
48- 'Recursal',
48+ "Perplexity",
49- 'OctoAI',
49+ "Recursal",
50- 'DeepSeek',
50+ "OctoAI",
51- 'Infermatic',
51+ "DeepSeek",
52- 'AI21',
52+ "Infermatic",
53- 'Featherless',
53+ "AI21",
54- 'Inflection',
54+ "Featherless",
55- 'xAI',
55+ "Inflection",
56- 'Cloudflare',
56+ "xAI",
57- 'SF Compute',
57+ "Cloudflare",
58- 'Minimax',
58+ "SF Compute",
59- 'Nineteen',
59+ "Minimax",
60- 'Liquid',
60+ "Nineteen",
61- 'InferenceNet',
61+ "Liquid",
62- 'Friendli',
62+ "Stealth",
63- 'AionLabs',
63+ "NCompass",
64- 'Alibaba',
64+ "InferenceNet",
65- 'Nebius',
65+ "Friendli",
66- 'Chutes',
66+ "AionLabs",
67- 'Kluster',
67+ "Alibaba",
68- 'Crusoe',
68+ "Nebius",
69- 'Targon',
69+ "Chutes",
70- 'Ubicloud',
70+ "Kluster",
71- 'Parasail',
71+ "Crusoe",
72- '01.AI',
72+ "Targon",
73- 'HuggingFace',
73+ "Ubicloud",
74- 'Mancer',
74+ "Parasail",
75- 'Mancer 2',
75+ "Phala",
76- 'Hyperbolic',
76+ "Cent-ML",
77- 'Hyperbolic 2',
77+ "Venice",
78- 'Lynn 2',
78+ "01.AI",
79- 'Lynn',
79+ "HuggingFace",
80- 'Reflection',
80+ "Mancer",
81+ "Mancer 2",
82+ "Hyperbolic",
83+ "Hyperbolic 2",
84+ "Lynn 2",
85+ "Lynn",
86+ "Reflection"
8187];
8288
8389export async function loadOllamaModels(data) {
src/endpoints/stable-diffusion.js+2 -1
@@ -1166,7 +1166,8 @@ falai.post('/models', async (_request, response) => {
11661166 const models = data
11671167 .filter(x => !x.title.toLowerCase().includes('inpainting') &&
11681168 !x.title.toLowerCase().includes('control') &&
11691169 !x.title.toLowerCase().includes('upscale')) &&
1170+ !x.title.toLowerCase().includes('lora'))
11701171 .sort((a, b) => a.title.localeCompare(b.title))
11711172 .map(x => ({ value: x.modelUrl.split('fal-ai/')[1], text: x.title }));
11721173 return response.send(models);