Uses of Class
org.mockserver.client.LlmFailoverBuilder
Packages that use LlmFailoverBuilder
-
Uses of LlmFailoverBuilder in org.mockserver.client
Methods in org.mockserver.client that return LlmFailoverBuilderModifier and TypeMethodDescriptionLlmFailoverBuilder.failWith(int statusCode) Add a single failure attempt returning the given HTTP status code with a default provider-plausible error body.LlmFailoverBuilder.failWith(int statusCode, int count) Addcountconsecutive failure attempts returning the given HTTP status code with a default provider-plausible error body.Add a single failure attempt returning the given HTTP status code with a custom error body.static LlmFailoverBuilderLlm.llmFailover()Creates a new LlmFailoverBuilder for scripting provider failover/retry scenarios.static LlmFailoverBuilderLlmFailoverBuilder.llmFailover()Entry point for building an LLM failover scenario.LlmFailoverBuilder.thenRespondWith(Completion completion) Set the completion to return after all failures are exhausted.Set the model name for the success response.Set the request path to match (e.g.LlmFailoverBuilder.withProvider(Provider provider) Set the LLM provider for the success response encoding.