yera.providers.openrouter_common

Common infrastructure for accessing OpenRouter services.

Symbols

def get_openrouter_client — Build an OpenRouter client from a configured connection.

get_openrouter_client

get_openrouter_client(
    connection: OpenRouterConnection,
) → OpenRouter

Build an OpenRouter client from a configured connection.

Parameters

connection
type: OpenRouterConnection

the openrouter connection object to build from.