diff --git a/src/perplexity/_client.py b/src/perplexity/_client.py index eec3b46..3c510d1 100644 --- a/src/perplexity/_client.py +++ b/src/perplexity/_client.py @@ -179,6 +179,8 @@ def default_headers(self) -> dict[str, str | Omit]: return { **super().default_headers, "X-Stainless-Async": "false", + "X-Source": "perplexity-py", + "X-Title": "Perplexity Python SDK", **self._custom_headers, } @@ -391,6 +393,8 @@ def default_headers(self) -> dict[str, str | Omit]: return { **super().default_headers, "X-Stainless-Async": f"async:{get_async_library()}", + "X-Source": "perplexity-py", + "X-Title": "Perplexity Python SDK", **self._custom_headers, }