Package org.mockserver.llm.client
Class DeepSeekLlmClient
java.lang.Object
org.mockserver.llm.client.AbstractLlmClient
org.mockserver.llm.client.OpenAiLlmClient
org.mockserver.llm.client.DeepSeekLlmClient
- All Implemented Interfaces:
LlmClient
Runtime client for DeepSeek. OpenAI-chat-compatible, so it inherits request
building and response parsing from
OpenAiLlmClient; only the provider and
default base URL (https://api.deepseek.com) differ.-
Field Summary
Fields inherited from class org.mockserver.llm.client.AbstractLlmClient
OBJECT_MAPPER -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.mockserver.llm.client.OpenAiLlmClient
buildCompletionRequest, parseCompletionResponseMethods inherited from class org.mockserver.llm.client.AbstractLlmClient
appendRoleContentMessages, postJson, readBody, resolveBaseUrl, resolveModel, writeJson
-
Constructor Details
-
DeepSeekLlmClient
public DeepSeekLlmClient()
-
-
Method Details
-
provider
Description copied from interface:LlmClientThe provider this client handles — the registry key.- Specified by:
providerin interfaceLlmClient- Overrides:
providerin classOpenAiLlmClient
-
defaultBaseUrl
Description copied from class:OpenAiLlmClientThe default base URL used when the backend does not supply one. OpenAI-compatible subclasses (Mistral, xAI, DeepSeek, Groq, OpenRouter) override this to point at their own host while inheriting the identical request/response wire format.- Overrides:
defaultBaseUrlin classOpenAiLlmClient
-