mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-05-13 06:51:29 +00:00
Accept all models for openrouter ai provider
This commit is contained in:
parent
9c317db260
commit
db86b8c330
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ use Symfony\Component\DependencyInjection\Attribute\AsDecorator;
|
||||||
* This is a workaround for outdated/incomplete model catalogs provided by AI platforms, which do not contain all available models, or do not update their catalogs frequently enough.
|
* This is a workaround for outdated/incomplete model catalogs provided by AI platforms, which do not contain all available models, or do not update their catalogs frequently enough.
|
||||||
*/
|
*/
|
||||||
#[AsDecorator('ai.platform.model_catalog.lmstudio')]
|
#[AsDecorator('ai.platform.model_catalog.lmstudio')]
|
||||||
|
#[AsDecorator('ai.platform.model_catalog.openrouter')]
|
||||||
final readonly class AcceptAllModelsCatalog implements ModelCatalogInterface
|
final readonly class AcceptAllModelsCatalog implements ModelCatalogInterface
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue