Add OpenRouter as a text completion source

This commit is contained in:
Cohee
2024-02-25 22:47:07 +02:00
parent 9e5505a7d4
commit f962ad5c02
12 changed files with 201 additions and 24 deletions

View File

@ -313,6 +313,8 @@ class PresetManager {
'type',
'custom_model',
'bypass_status_check',
'infermaticai_model',
'openrouter_model',
];
const settings = Object.assign({}, getSettingsByApiId(this.apiId));