Skip to content

Commit b362e4a

Browse files
authored
Merge pull request #87 from RevEngAI/feat-PLU-199
feat(PLU-199): add support for RevEng user agent
2 parents ed65f5b + 2c2a505 commit b362e4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

reai_toolkit/app/interfaces/base_service.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ def yield_api_client(
217217
api_client = ApiClient(configuration=sdk_config)
218218
if hasattr(sdk_config, "user_agent"):
219219
api_client.user_agent = sdk_config.user_agent
220+
api_client.default_headers["X-RevEng-Application"] = sdk_config.user_agent
220221
yield api_client
221222

222223
@staticmethod

0 commit comments

Comments
 (0)