mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-07-27 03:31:35 +00:00
Mark some info providers as expensive, to hint that to AI providers
This commit is contained in:
parent
071ffe322d
commit
73941707b5
4 changed files with 16 additions and 6 deletions
|
|
@ -89,6 +89,7 @@ final class AIWebProvider implements InfoProviderInterface
|
|||
ProviderCapabilities::PRICE,
|
||||
ProviderCapabilities::PARAMETERS,
|
||||
],
|
||||
expensive: true,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -68,6 +68,7 @@ class CanopyProvider implements InfoProviderInterface
|
|||
ProviderCapabilities::PICTURE,
|
||||
ProviderCapabilities::PRICE,
|
||||
],
|
||||
expensive: true,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -183,6 +183,7 @@ class OctopartProvider implements InfoProviderInterface
|
|||
ProviderCapabilities::DATASHEET,
|
||||
ProviderCapabilities::PRICE,
|
||||
],
|
||||
expensive: true,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue