Class OpenAiAdapter

java.lang.Object
com.axelor.ai.provider.sync.adapter.OpenAiAdapter
All Implemented Interfaces:
ProviderAdapter

public class OpenAiAdapter extends Object implements ProviderAdapter
OpenAI's GET /v1/models.

Returns ids and a created unix timestamp and nothing else — no capabilities, no pagination. Everything a model can do therefore comes from the family's defaults.

Also serves CUSTOM providers sitting on OpenAI-compatible gateways, which is most of them.