class Interface

Base interface for OpenAI-compatible HTTP providers.

Definitions

def call(request)

Forward an HTTP request to the provider.

Signature

parameter request Protocol::HTTP::Request

The request to forward.

returns Protocol::HTTP::Response

The upstream response.

raises NotImplementedError

When a subclass does not implement this method.

Implementation

def call(request)
	raise NotImplementedError
end