We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd67365 commit 605c44cCopy full SHA for 605c44c
1 file changed
portkey_ai/api_resources/base_client.py
@@ -180,6 +180,11 @@ def __init__(
180
)
181
182
self.allHeaders = self._build_headers(create_model_instance(Options))
183
+ if http_client:
184
+ http_client.base_url = (
185
+ http_client.base_url if http_client.base_url != "" else self.base_url
186
+ )
187
+
188
self._client = http_client or httpx.Client(
189
base_url=self.base_url,
190
headers={
@@ -895,6 +900,10 @@ def __init__(
895
900
896
901
897
902
903
904
905
906
898
907
self._client = http_client or AsyncHttpxClientWrapper(
899
908
909
0 commit comments