MCPcopy Create free account
hub / github.com/AsyncFuncAI/deepwiki-open / __init__

Method __init__

api/openrouter_client.py:39–43  ·  view source on GitHub ↗

Initialize the OpenRouter client.

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

37 """
38
39 def __init__(self, *args, **kwargs) -> None:
40 """Initialize the OpenRouter client."""
41 super().__init__(*args, **kwargs)
42 self.sync_client = self.init_sync_client()
43 self.async_client = None # Initialize async client only when needed
44
45 def init_sync_client(self):
46 """Initialize the synchronous OpenRouter client."""

Callers

nothing calls this directly

Calls 1

init_sync_clientMethod · 0.95

Tested by

no test coverage detected