Package io.forgeai.jenkins.llm
Class OpenAICompatibleProvider
java.lang.Object
io.forgeai.jenkins.llm.LLMProvider
io.forgeai.jenkins.llm.OpenAICompatibleProvider
- All Implemented Interfaces:
ExtensionPoint,Describable<LLMProvider>,Serializable
OpenAI-compatible provider. Works with OpenAI, Azure OpenAI, LM Studio, vLLM, LocalAI, and any
server exposing the /v1/chat/completions endpoint.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.forgeai.jenkins.llm.LLMProvider
LLMProvider.LLMProviderDescriptorNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class io.forgeai.jenkins.llm.LLMProvider
endpoint, modelId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethods inherited from class io.forgeai.jenkins.llm.LLMProvider
all, getApiKeyCredentialId, getDescriptor, getEndpoint, getModelId, resolveApiKey, setApiKeyCredentialId, setEndpoint, setModelId
-
Constructor Details
-
OpenAICompatibleProvider
@DataBoundConstructor public OpenAICompatibleProvider()
-
-
Method Details
-
complete
- Specified by:
completein classLLMProvider- Throws:
LLMException
-
healthCheck
public boolean healthCheck()- Specified by:
healthCheckin classLLMProvider
-
displayName
- Specified by:
displayNamein classLLMProvider
-