mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-01 12:40:23 +08:00
chore: 🐝 Update SDK - Generate 0.9.2 (#205)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
speakeasybot
speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
parent
0c735989c1
commit
0f116c9792
@@ -2,11 +2,14 @@
|
||||
|
||||
from .basesdk import BaseSDK
|
||||
from .sdkconfiguration import SDKConfiguration
|
||||
from openrouter.beta_analytics import BetaAnalytics
|
||||
from openrouter.responses import Responses
|
||||
from typing import Optional
|
||||
|
||||
|
||||
class Beta(BaseSDK):
|
||||
analytics: BetaAnalytics
|
||||
r"""beta.Analytics endpoints"""
|
||||
responses: Responses
|
||||
r"""beta.responses endpoints"""
|
||||
|
||||
@@ -18,4 +21,7 @@ class Beta(BaseSDK):
|
||||
self._init_sdks()
|
||||
|
||||
def _init_sdks(self):
|
||||
self.analytics = BetaAnalytics(
|
||||
self.sdk_configuration, parent_ref=self.parent_ref
|
||||
)
|
||||
self.responses = Responses(self.sdk_configuration, parent_ref=self.parent_ref)
|
||||
|
||||
Reference in New Issue
Block a user