|
dolibarr 25.0.0-alpha
|
Return the list of model ids available from the configured AI provider. More...
Go to the source code of this file.
Return the list of model ids available from the configured AI provider.
Thin AJAX wrapper around getAiProviderModelList() (ai/lib/ai.lib.php), which queries the provider's model listing endpoint and caches the result for one hour, so the chat model picker and the admin datalists don't hammer the provider. Response: {"service":..., "models":[ids]}.
Definition in file list_models.php.