realtime/RealtimeProvider.java

mockserver-monorepo · mockserver/mockserver-core/src/main/java/org/mockserver/llm/realtime/RealtimeProvider.java · java · Apache-2.0
realtime

Enum listing supported realtime LLM providers for mock server.

// Source: https://github.com/mock-server/mockserver-monorepo | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
package org.mockserver.llm.realtime;

/**
 * The realtime (voice / bidirectional WebSocket) LLM protocols MockServer can mock.
 *
 * <p>These are deliberately kept separate from the HTTP-request/response {@link org.mockserver.model.Provider}
 * enum: the realtime protocols are a WebSocket <em>event</em> stream rather than a single request/response
 * body, so they have their own codecs ({@link OpenAiRealtimeCodec}, {@link GeminiLiveCodec}) and are wired
 * through the {@code httpWebSocketResponse} action rather than {@code httpLlmResponse}. Mapping these onto the
 * HTTP {

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key