Class OpenAiCompatibleProviderConfig

All Implemented Interfaces:
Describable<AiProviderConfig>, Serializable

public class OpenAiCompatibleProviderConfig extends AiProviderConfig
Any endpoint that speaks the OpenAI "chat completions" HTTP shape - OpenRouter, LiteLLM, vLLM, LM Studio, and similar gateways/proxies not otherwise listed as a first-class provider. This is the direct successor to the plugin's original (pre-multi-provider) configuration: an arbitrary base URL, a free-text model, and a credential.

Unlike OpenAiProviderConfig, the credential here is optional: many self-hosted OpenAI-compatible servers (a local proxy with no auth in front of it, for instance) never check the Authorization header at all. Existing saved configurations always had a credential set, so this relaxation is additive and does not change their behavior - see ChangeInvestigatorGlobalConfiguration for the migration that produces instances of this class from the plugin's pre-1.x config format.

See Also:
  • Constructor Details

    • OpenAiCompatibleProviderConfig

      @DataBoundConstructor public OpenAiCompatibleProviderConfig(String baseUrl, String model, String credentialsId)
  • Method Details