Skip to main content

openrouter_chat_client

Function openrouter_chat_client 

Source
pub fn openrouter_chat_client() -> Option<&'static OpenRouterChatClient>
Expand description

v1.0.95: returns the process-wide OpenRouter chat client if it has already been initialised via get_openrouter_chat_client. Used by the enrich JUDGE dispatch, which initialises the singleton once at startup and then fetches it per item without re-threading the API key.